Windows file creation of code_tunnel.json outside Code/VsCode executables

Alerts on creation of code_tunnel.json on Windows when it isn’t created by typical VS Code binaries.

FreeReviewedSigma · High · v2
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

Flags Windows file events where a file named with the \\code_tunnel.json suffix is created. This can indicate use of the Visual Studio Code tunneling utility by a non-Code process or image, which may be relevant to command-and-control activity. The rule relies on file creation telemetry capturing the target filename and the creating process image path for exclusion of legitimate code executables.

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. 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.