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?
Keep reading
Related articles from the SudoSecurity blog.
The Same Researcher Broke apt the Same Way Twice, Seven Years Apart
In 2019 Max Justicz showed apt would install a package an attacker swapped in over a redirect. In November 2026 he did it again, CVE-2026-109518, through a different door that ends in the same place: code as root from a man in the middle. The fix shows how apt reuses files on disk.
A 257-Byte Password Is the Key: Inside the OpenSSH musl Bypass
CVE-2026-123158 lets an attacker log into a locked account on musl-based systems like Alpine by sending a password nobody set. The trigger is one number, 257, and the reason is a C library returning a single asterisk. I reproduced the exact boundary against musl 1.2.4 and read the fix.
Zero-Trust Access for Homelabbers: Teleport vs. Tailscale vs. WireGuard vs. Cloudflare Tunnel
Four tools solve four different problems that all get pitched as the same problem. Here's what each one does, where each one breaks, and the combination that covers a real homelab without paying an SSO tax you didn't see coming.
Zero Trust Everything: The Complete Guide to Self-Hosting Teleport for Secure Infrastructure Access
SudoSecurity runs Teleport internally for everything — admin panel access, secure database connections, Kubernetes, and zero-trust philosophy across our entire team. This is the complete technical guide to installing, configuring, and running your own self-hosted Teleport cluster from scratch.