What is a sniffing attack?
Sniffing means capturing the traffic flowing across a network to read its contents. A network card in promiscuous mode receives every packet on the segment, not just those addressed to it. If that traffic travels unencrypted, the attacker obtains credentials, session cookies, email and any data sent in the clear.
Passive and active sniffing
Passive sniffing only listens and is virtually undetectable: it works on hub-based networks or open wifi. Active sniffing must inject traffic to redirect packets toward the attacker, using techniques such as ARP poisoning or MAC flooding, and therefore leaves traces an IDS can spot.
How to protect against sniffing
End-to-end encryption is the underlying defense: with properly configured TLS, capturing traffic stops being useful. Add network segmentation, switches with ARP spoofing protection and port security, VPNs on untrusted networks, and inspection for devices running in promiscuous mode on the segment.
Passive and active: the difference matters
Passive sniffing merely listens to traffic already arriving at the interface, and on a switched network that is little: only what is yours and what is broadcast. That is why an attacker usually moves to active techniques, making other people's traffic come to them — poisoning the ARP table to impersonate the gateway, overflowing the switch's table, or standing up a rogue access point. The distinction matters because the passive form is nearly undetectable and the active one leaves concrete traces.
What is actually exposed today
With most traffic encrypted, harvesting passwords directly is rare but not impossible: unencrypted internal protocols still exist, along with legacy services, management devices with old interfaces, and internal applications nobody migrated. And even if everything were encrypted, the metadata remains: which machines talk to which, how often and in what volume, which is enough to draw the topology and locate the systems that matter.
How you detect someone listening
A machine in promiscuous mode generates no traffic of its own, so it cannot be seen directly, but it can be provoked: sending a frame to a non-existent MAC address and watching who answers a request addressed to nobody gives away a stack processing everything that passes. Anomalous response times and monitoring of ARP table changes also help. In practice, the effective defense is assuming someone is listening: encrypt inside the network too, and segment.



