Detection rules › Sigma

Renamed VsCode Code Tunnel Execution - File Indicator

Severity
high
Author
Nasreddine Bencherchali (Nextron Systems)
Source
upstream

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.

Event coverage

ProviderEvent IDTitle
Sysmon11FileCreate

Stages and Predicates

Stage 1: selection

TargetFilename|endswith: '\code_tunnel.json'

Stage 2: not 1 of filter_main_legit_name

or:
Image|endswith: '\code-tunnel.exe'
Image|endswith: '\code.exe'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
Imageends_with
  • \code-tunnel.exe corpus 2 (sigma 2)
  • \code.exe corpus 3 (sigma 3)
TargetFilenameends_with
  • \code_tunnel.json