Renamed VsCode Code Tunnel Execution - File Indicator
Detects the creation of a file with the name "code_tunnel.json" which indicate execution and usage of VsCode tunneling utility by an "Image" or "Process" other than VsCode.
Detection logic
Detection requirements
- Log source product
- windows
- Log source category
- file_event
Known benign triggers
- Unknown
MITRE ATT&CK mappings
Not mapped to ATT&CK.
References
| Reference | Cited by |
|---|---|
| badoption.eu/blog/2023/01/31/code_c2.html | 8from 2 sources |
| ipfyx.fr/post/visual-studio-code-tunnel/ | 7 |
From the source
- At source
- Open at source
- Upstream identifier
- d102b8f5-61dc-4e68-bd83-9a3187c67377
- Tagged by the source as
- attack.command-and-control
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Published
- Aug 26, 2026
- Version
- 1