Network Connection Initiated To Visual Studio Code Tunnels Domain
Detects network connections to Visual Studio Code tunnel domains initiated by a process on a system. Attackers can abuse that feature to establish a reverse shell or persistence on a machine.
Detection logic
Detection requirements
- Platform
- ESXiLinuxmacOSOffice SuiteSaaSWindows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
- Log source product
- windows
- Log source category
- network_connection
Known benign triggers
- Legitimate use of Visual Studio Code tunnel will also trigger this.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| badoption.eu/blog/2023/01/31/code_c2.html | 8from 2 sources |
| cydefops.com/vscode-data-exfiltration | 2 |
| ipfyx.fr/post/visual-studio-code-tunnel/ | 7 |
From the source
- At source
- Open at source
- Upstream identifier
- 4b657234-038e-4ad5-997c-4be42340bce4
- Tagged by the source as
- attack.command-and-controlattack.exfiltration
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1