Threaticon
Toggle sidebar

You're viewing a limited, public preview. Log in for full access.

Log in User Guide
Log in Get started
Detection Strategies DET0133 — IDE Tunneling Detection via Process, File, and Network Behaviors
DET0133

IDE Tunneling Detection via Process, File, and Network Behaviors

3 analytic(s) · 1 technique(s) detected

Analytics

3
AN0375 Analytic 0375
Windows

Detection of the creation of VSCode or JetBrains CLI tunneling profiles followed by persistent remote access via IDE-integrated tunnels, potentially authenticated via GitHub or JetBrains accounts.

WinEventLog:Sysmon EventCode=1 WinEventLog:Sysmon EventCode=11 NSM:Flow Outbound connection to *.tunnels.api.visualstudio.com or *.devtunnels.ms
[TimeWindow] Used to define the temporal proximity between tunnel profile creation and outbound connection.
[TunnelDomainPatterns] Domain patterns for tunnel endpoints may change with IDE versions or organizations.
[AuthorizedUserList] Helps filter tunnel usage from trusted developer accounts.
AN0376 Analytic 0376
Linux

Creation of VSCode tunnel configuration file combined with interactive remote session via code CLI or ssh with JetBrains gateway.

auditd:SYSCALL execve on code or jetbrains-gateway with remote flags auditd:SYSCALL open: Write to ~/.vscode-cli/code_tunnel.json NSM:Flow Connections to *.devtunnels.ms or tunnels.api.visualstudio.com
[PathRegex] Regex patterns for user home directory file paths may vary by distro or user.
[TunnelCLIFlags] Tunnel flags used by CLI tools can be customized or obfuscated by adversaries.
[Username] The Linux user account associated with tunnel initiation; may vary across developer environments
[TunnelArtifactPath] The filepath to the .vscode-cli/code_tunnel.json file may vary by distribution or IDE version
[CommandLineFlags] Different IDEs or wrapper scripts may launch with different tunnel-related CLI options (e.g., --remote, --host)
AN0377 Analytic 0377
macOS

Detection of JetBrains or VSCode tunnel profile creation followed by unusual persistent SSH or IDE-based tunnel communications to devtunnel APIs.

macos:unifiedlog process: code or jetbrains-gateway launching with --tunnel or --remote macos:unifiedlog creation of ~/.vscode-cli/code_tunnel.json NSM:Flow HTTPs connection to tunnels.api.visualstudio.com
[ParentProcessName] Helps scope tunnel launch context to non-interactive or suspicious parent processes.
[RemoteTunnelPersistence] Allows tracking of tunnel re-establishment across reboots for persistence.
[RemoteFlag] May include values like --remote, -R, or embedded ssh arguments passed by IDEs
[LaunchAgentPath] If the IDE uses persistence via LaunchAgents, defenders may choose where to monitor for tunnel auto-launching
[TunnelReconnectInterval] Frequency of retry attempts for tunnel reconnection can affect correlation window

Detected Techniques

1

Command & Control (1)

Details

MITRE ID
DET0133
STIX ID
x-mitre-detection-strategy--3efcd3e4-9238-4686-990b-27ac110dccfd
Analytics
3
Techniques Detected
1
By Tactic
Command & Control
1
Leaving Threaticon

This link opens an external site that isn't part of the platform.