Linux: Detect execution of tcpdump or tshark with interface (-i) capture option

Alerts on tcpdump or tshark executions on Linux where an interface flag is present, consistent with network sniffing.

FreeReviewedSigma · Low · v3
Product
linux
Service
auditd
Author
Timur Zinniatullin, oscd.community (SigmaHQ), DRL 1.1
Published
2019-10-21
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 processes where tcpdump or tshark are executed with command-line arguments indicating packet capture on a specified network interface (-i) and limiting captures (-c). This behavior matters because network sniffing can be used to passively collect information in transit or increase visibility into network traffic. Telemetry relies on Linux auditd records that capture execve command-line details for these tools.

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 netsh Trace Start Command Execution
Linux: Detect execution of tcpdump or tshark with interface (-i) capture option
Pivot detection · T1040 · 9 related

Changelog

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