Windows: Detect creation of code_tunnel.json indicating VS Code tunneling utility use

Alerts on Windows file creation of code_tunnel.json, indicating VS Code tunneling may be active.

FreeReviewedSigma · Medium · v5
Product
windows
Category
file_event
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2023-10-25
Updated
2026-07-31

What it detects

This rule identifies when a file ending with '\code_tunnel.json' is created on Windows, which indicates use of the VS Code tunneling utility. Attackers may abuse tunneling features to establish external connectivity that can support command and control. It relies on file creation telemetry capturing the target filename suffix.

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.