Packet Sniffing

Packet sniffing is capturing and inspecting data as it travels across a network. IT teams use it to troubleshoot, while attackers use it to steal passwords and other information sent without encryption.

IntermediateCategory: Network and internet security

Also called: network sniffing, packet capture, sniffer, traffic sniffing

What is packet sniffing?

Data crosses networks in small pieces called packets. A packet sniffer is software or hardware that captures those packets so someone can read them. Network engineers use tools like Wireshark every day to diagnose problems. In the wrong hands, the same technique lets an attacker read whatever isn't encrypted. MITRE ATT&CK notes that attackers sniff traffic to capture credentials sent over unencrypted protocols.

How does packet sniffing work?

On a shared network, such as open Wi-Fi or a network the attacker has already broken into, a sniffer listens to traffic passing by. Combined with a man-in-the-middle attack or a rogue access point, an attacker can see traffic from devices that aren't even near them. Anything sent in plain text, such as old protocols like FTP, Telnet or unencrypted email, is readable.

How to protect your business

  • Encrypt traffic everywhere: HTTPS for websites, TLS for email and apps, and SSH instead of Telnet.
  • Turn off old plain-text protocols on devices and servers.
  • Use WPA3 or WPA2 encryption on Wi-Fi and a VPN or ZTNA on public networks.
  • Restrict who can install sniffing tools, and watch for devices in "promiscuous mode" on your network.

Related terms

Sources

  1. Network Sniffing (T1040) (MITRE ATT&CK)

Drafted with AI assistance, then edited and fact-checked by a person. How we use AI.