Windows netsh Trace Start Command Execution

Flags netsh.exe launched with "trace" and "start", commonly used to begin a network trace capture on Windows.

FreeReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
Kutepov Anton, oscd.community (SigmaHQ), DRL 1.1
Published
2019-10-24
Updated
2026-07-30

ATT&CK techniques

Cred Access → Discovery
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule identifies process creation of netsh.exe where the command line includes both the keywords "trace" and "start", indicating a network trace capture is being initiated. Attackers can use built-in Windows tooling like netsh to collect network activity for discovery or investigation without installing additional software. The detection relies on Windows process creation telemetry, matching the process image/original filename and the presence of the specified command-line terms.

Related detections9 linkedT1040 — drag to rearrange
Suspicious Windows Native Pktmon Sniffer Abuse (via process_creation)
Suspicious Windows Traffic Capture Abuse (via process_creation)
Malicious TCP Session Hijacking via rshijack
PowerShell Start-NetEventSession Script Block Execution Indicating Potential Network Capture (Windows)
Windows PktMon.exe Process Execution (pktmon.exe / PktMon.exe)
macOS Network Sniffing Tool Execution via tcpdump or tshark
Windows Pcap Driver Installation via EID 4697 ServiceFileName
Windows Netsh.exe WLAN profile key clearing used for WiFi credential harvesting
Windows Network Tool Use for Possible Packet Sniffing (tshark/windump)
Windows netsh Trace Start Command Execution
Pivot detection · T1040 · 9 related

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