T1040 Network Sniffing
Credential AccessDiscoveryon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0314 Detection Strategy for Network Sniffing Across Platforms
AN0875 Windows
Detects suspicious execution of network monitoring tools (e.g., Wireshark, tshark, Microsoft Message Analyzer), driver loading indicative of promiscuous mode, or non-admin user privilege escalation to access NICs for capture.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SecurityEventCode=4688 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
WinEventLog:SystemEventCode=7045 |
|
AN0876 Linux
Correlates interface mode changes to promiscuous with execution of sniffing tools like tcpdump, tshark, or custom pcap libraries. Detects abnormal NIC configurations and unauthorized sniffing from non-root sessions.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve, setifflags | Not mapped to Sentinel yet. |
auditd:SYSCALLpromiscuous mode transitions (ioctl or ifconfig) | Not mapped to Sentinel yet. |
networkconfig interface flag PROMISC, netstat | ip link | ethtool | Not mapped to Sentinel yet. |
AN0877 macOS
Detects enabling of interface sniffing via packet capture tools or AppleScript triggering `tcpdump`. Leverages Unified Logs and process lineage to identify suspicious use of `pfctl`, `tcpdump`, or `libpcap` libraries.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogeventMessage = 'promiscuous' | Not mapped to Sentinel yet. |
macos:osqueryprocess_events where path like '%tcpdump%' | Not mapped to Sentinel yet. |
fs:fsusageaccess to BPF devices or interface IOCTLs | Not mapped to Sentinel yet. |
AN0878 IaaS
Detects creation of traffic mirroring sessions (e.g., AWS VPC Traffic Mirroring, Azure vTAP) that redirect traffic from critical assets to other virtual instances, often followed by file creation or session establishment.
| MITRE log source | In Microsoft Sentinel |
|---|---|
AWS:CloudTrailCreateTrafficMirrorSession / ModifyTrafficMirrorTarget | Not mapped to Sentinel yet. |
AN0879 Network Devices
Detects execution of capture commands via CLI (`monitor capture`, `debug packet`, etc.) or unauthorized CLI access followed by logging configuration changes on Cisco/Juniper/Arista gear.
| MITRE log source | In Microsoft Sentinel |
|---|---|
networkdevice:syslogadmin login events | Not mapped to Sentinel yet. |
networkdevice:syslogexec command='monitor capture' | Not mapped to Sentinel yet. |
networkdevice:syslogconfig change (e.g., logging buffered, pcap buffers) | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (6)
- Azure secure score PW age policy new
- Password Exfiltration over SCIM application
- Powershell Empire Cmdlets Executed in Command Line
- Zoom E2E Encryption Disabled
- Azure secure score PW age policy new
- Potential Impacket Execution
How the Content Hub rules for T1040 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
9 SigmaHQ community rules name it or one of its sub-techniques in their tags.
- Cisco Sniffing
- Harvesting Of Wifi Credentials Via Netsh.EXE
- New Network Trace Capture Started Via Netsh.EXE
- PktMon.EXE Execution
- Potential Network Sniffing Activity Using Network Tools
- Potential Packet Capture Activity Via Start-NetEventSession - ScriptBlock
- Windows Pcap Drivers
- Network Sniffing - Linux
- Network Sniffing - MacOs
Mitigations
M1018User Account ManagementM1030Network SegmentationM1032Multi-factor AuthenticationM1041Encrypt Sensitive Information
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.