MITRE ATT&CK / Techniques / T1040

Network Sniffing

ID
T1040
Tactics
TA0006 Credential Access, TA0007 Discovery
Platforms
IaaS, Linux, macOS, Network Devices, Windows
Data sources
Process Creation, Service Creation, Command Execution, Network Traffic Content, Cloud Service Modification, User Account Authentication
Source
attack.mitre.org
MITRE last modified
12 May 2026

Adversaries may passively sniff network traffic to capture information about an environment, including authentication material passed over the network. Network sniffing refers to using the network interface on a system to monitor or capture information sent over a wired or wireless connection. An adversary may place a network interface into promiscuous mode to passively access data in transit over the network, or use span ports to capture a larger amount of data.

Data captured via this technique may include user credentials, especially those sent over an insecure, unencrypted protocol. Techniques for name service resolution poisoning, such as Name Resolution Poisoning and SMB Relay, can also be used to capture credentials to websites, proxies, and internal systems by redirecting traffic to an adversary.

Network sniffing may reveal configuration details, such as running services, version numbers, and other network characteristics (e.g. IP addresses, hostnames, VLAN IDs) necessary for subsequent Lateral Movement and/or Stealth activities. Adversaries may likely also utilize network sniffing during Adversary-in-the-Middle (AiTM) to passively gain additional knowledge about the environment.

In cloud-based environments, adversaries may still be able to use traffic mirroring services to sniff network traffic from virtual machines. For example, AWS Traffic Mirroring, GCP Packet Mirroring, and Azure vTap allow users to define specified instances to collect traffic from and specified targets to send collected traffic to.[1][2][3] Often, much of this traffic will be in cleartext due to the use of TLS termination at the load balancer level to reduce the strain of encrypting and decrypting traffic.[4][5] The adversary can then use exfiltration techniques such as Transfer Data to Cloud Account in order to access the sniffed traffic.[4]

On network devices, adversaries may perform network captures using Network Device CLI commands such as monitor capture.[6][7]

Detection

Mitigations (4)

M1018 User Account Management

In cloud environments, ensure that users are not granted permissions to create or modify traffic mirrors unless this is explicitly required.

M1030 Network Segmentation

Deny direct access of broadcasts and multicast sniffing, and prevent attacks such as Name Resolution Poisoning and SMB Relay

M1032 Multi-factor Authentication

Use multi-factor authentication wherever possible.

M1041 Encrypt Sensitive Information

Ensure that all wired and/or wireless traffic is encrypted appropriately. Use best practices for authentication protocols, such as Kerberos, and ensure web traffic that may contain credentials is protected by SSL/TLS.

Groups (8)

Software (17)

References

  1. AWS Traffic Mirroring
  2. GCP Packet Mirroring
  3. Azure Virtual Network TAP
  4. Rhino Security Labs AWS VPC Traffic Mirroring
  5. SpecterOps AWS Traffic Mirroring
  6. US-CERT-TA18-106A
  7. capture_embedded_packet_on_software