Sigma rule: Visual Studio Code Tunnel Service Installation
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-21bec5fba3ae, updated 2023-10-25T00:00:00.000Z.
Rule
- Title
- Visual Studio Code Tunnel Service Installation
- Status
- test
- Level
- medium
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-10-25
- File
- rules/windows/process_creation/proc_creation_win_vscode_tunnel_service_install.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the installation of VsCode tunnel (code-tunnel) as a service.
Log source
- product
- windows
- category
- process_creation
Detection
selection:
CommandLine|contains|all:
- 'tunnel '
- 'service'
- 'internal-run'
- 'tunnel-service.log'
condition: selectionFalse positives (as the rule lists them)
- Legitimate installation of code-tunnel as a service
Tags
- attack.command-and-control
- attack.t1071.001
MITRE ATT&CK ids this rule names
References
- https://ipfyx.fr/post/visual-studio-code-tunnel/
- https://badoption.eu/blog/2023/01/31/code_c2.html
- https://code.visualstudio.com/docs/remote/tunnels
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_vscode_tunnel_service_install.yml
Sources and licences
SigmaHQ
"Visual Studio Code Tunnel Service Installation" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_vscode_tunnel_service_install.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Visual Studio Code Tunnel Service Installation",
entity page, dataset version ref-21bec5fba3ae, updated 2023-10-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/30bf1789-379d-4fdc-900f-55cd0a90a801 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 30bf1789-379d-4fdc-900f-55cd0a90a801, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.