PowerShell Start-NetEventSession Script Block Execution Indicating Potential Network Capture (Windows)

Alerts when PowerShell ScriptBlocks reference Start-NetEventSession, indicating potential network packet or event capture.

FreeReviewedSigma · Medium · v2
Product
windows
Category
ps_script
Author
frack113 (SigmaHQ), DRL 1.1
Published
2024-05-12
Updated
2026-07-31

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 flags PowerShell script block content that includes calls to the Start-NetEventSession cmdlet. Starting a network event session can be used to capture network traffic and related event data, which may help an attacker gather sensitive information during an operation. The detection relies on Script Block Logging telemetry capturing the script text executed by PowerShell.

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
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 netsh Trace Start Command Execution
Windows Network Tool Use for Possible Packet Sniffing (tshark/windump)
PowerShell Start-NetEventSession Script Block Execution Indicating Potential Network Capture (Windows)
Pivot detection · T1040 · 9 related

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.