kevmap

TechniquesT1219.001 › AN0377

AN0377 Analytic 0377

macOS · attack.mitre.org · ATT&CK Enterprise v19.2

<p>Detection of JetBrains or VSCode tunnel profile creation followed by unusual persistent SSH or IDE-based tunnel communications to devtunnel APIs.</p>
Detects
T1219.001 IDE Tunneling
Part of
DET0133 IDE Tunneling Detection via Process, File, and Network Behaviors

Log sources and channels

Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.

Log sourceChannelData component
macos:unifiedlogprocess: code or jetbrains-gateway launching with --tunnel or --remoteDC0032 Process Creation
macos:unifiedlogcreation of ~/.vscode-cli/code_tunnel.jsonDC0039 File Creation
NSM:FlowHTTPs connection to tunnels.api.visualstudio.comDC0082 Network Connection Creation

Mutable elements

Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.

FieldDescription
ParentProcessNameHelps scope tunnel launch context to non-interactive or suspicious parent processes.
RemoteTunnelPersistenceAllows tracking of tunnel re-establishment across reboots for persistence.
RemoteFlagMay include values like --remote, -R, or embedded ssh arguments passed by IDEs
LaunchAgentPathIf the IDE uses persistence via LaunchAgents, defenders may choose where to monitor for tunnel auto-launching
TunnelReconnectIntervalFrequency of retry attempts for tunnel reconnection can affect correlation window