Skip to content

Lesson 2 of 13 · 11m

The Air Is a Shared Medium — and It Believes Every Frame

CSMA/CA, monitor mode, and why deauthentication worked for twenty years: management frames in WPA2 carry no authentication.

802.11 radios cannot detect a collision while transmitting — the radio is deaf while it talks. So where Ethernet uses CSMA/CD, Wi-Fi uses CSMA/CA: collision avoidance. Listen before transmitting, back off a random number of slot times when the medium is busy, optionally RTS/CTS to reserve the air. Every station in range hears every frame. There is no switching plane. The medium is shared, promiscuous by physics, and — for most networks still running — trusting.

Management frames carry no authentication

The frames that control your relationship to the network — beacons, probes, authentication, association, deauthentication, disassociation — are unauthenticated in WPA2. Any radio can send a deauth frame claiming to be the AP, and the client processes it. This is the entire mechanism behind aireplay-ng -0, behind every "kick them off the Wi-Fi" tool, behind captive-portal-forcing attacks. It is not a bug and there is no malformed input to patch. The frames are working exactly as specified; the specification simply never required proof of who sent them.

802.11w, Management Frame Protection, fixes this by adding a MIC to protected management frames. It shipped in 2009, stayed optional through the whole WPA2 era — plenty of WPA2 gear can enable it but rarely does by default — and only became mandatory when WPA3 arrived in 2018. That nine-year gap is why deauth is still a working attack against most deployed networks.

Monitor mode is not promiscuous mode

Two things people conflate. Promiscuous mode on Ethernet means "deliver frames not addressed to me" — but you're still associated, still on someone's wire. Monitor mode means the radio receives raw 802.11 frames on a channel without associating to anything, wrapped in radiotap headers for the capture. An adapter in monitor mode is invisible to the network — it transmits nothing — which is why passive reconnaissance is effectively undetectable.

Injection is the other half: crafting frames, not just hearing them. Whether monitor mode and injection work at all is a driver question, not a tool question — ath9k and the Ralink/MediaTek chipsets have famously good support, which is why the Alfa AWUS036 series has been the standard audit card for a decade. Your laptop's Intel or Broadcom card may do monitor mode fine and injection poorly; check before assuming.

The hidden SSID myth

"Hide the SSID so attackers can't see the network" inverts the mechanics. A hidden network means the AP leaves the SSID field empty in beacons — the beacons still go out every 102 ms, still carrying the BSSID. Meanwhile every configured client must now actively probe for the network by name, everywhere, forever, shouting "is HomeNet here?" from every coffee shop and airport. You have converted a passive leak into a broadcast leak. airodump-ng shows hidden networks as <length: N>; the first probe response or client association reveals the name immediately. Hiding the SSID costs you your clients' privacy and buys nothing.

What the attacker actually sees

Within RF range: every BSSID, every client MAC (before per-network randomization), every probed-for SSID, every handshake, all the data frames — encrypted in payload but plaintext in addressing. The MAC headers tell the attacker who is talking to whom and how busy they are.

What to do

  • Enable PMF/802.11w on every WPA2 network that offers it (usually "Management Frame Protection" or "802.11w: required/capable" in controller UI). On WPA3 it is already mandatory.
  • Never hide SSIDs. Leave the name in the beacon and stop clients from probing for it.
  • Assume every MAC in your airspace is tracked — that is exactly what retail analytics boxes did until per-network MAC randomization on iOS/Android made it harder.

Was this lesson helpful?

Sign in to rate

Keep reading

Related articles from the SudoSecurity blog.