Visual Studio Code Tunnel Service Installation
Detects the installation of VsCode tunnel (code-tunnel) as a service.
Sigma rule (View on GitHub)
1title: Visual Studio Code Tunnel Service Installation
2id: 30bf1789-379d-4fdc-900f-55cd0a90a801
3status: test
4description: Detects the installation of VsCode tunnel (code-tunnel) as a service.
5references:
6 - https://ipfyx.fr/post/visual-studio-code-tunnel/
7 - https://badoption.eu/blog/2023/01/31/code_c2.html
8 - https://code.visualstudio.com/docs/remote/tunnels
9author: Nasreddine Bencherchali (Nextron Systems)
10date: 2023-10-25
11tags:
12 - attack.command-and-control
13 - attack.t1071.001
14logsource:
15 category: process_creation
16 product: windows
17detection:
18 selection:
19 CommandLine|contains|all:
20 - 'tunnel '
21 - 'service'
22 - 'internal-run'
23 - 'tunnel-service.log'
24 condition: selection
25falsepositives:
26 - Legitimate installation of code-tunnel as a service
27level: medium
References
Related rules
- Visual Studio Code Tunnel Execution
- Visual Studio Code Tunnel Shell Execution
- APT User Agent
- APT40 Dropbox Tool User Agent
- Bitsadmin to Uncommon IP Server Address