Originally published in 2016 when this blog covered offensive tutorials; rewritten in 2026 with a defensive focus.
How the WPA2 handshake works (and why attackers target it)
When a device joins a WPA2 network, it performs a four-way handshake with the access point to derive session encryption keys from the shared passphrase. In WPA2-Personal, that passphrase is the only secret protecting the network — so the handshake is the attacker's prime target. Conceptually, the attack works like this: the attacker passively captures the handshake, then takes it offline and guesses passphrases against it at high speed. Because the guessing happens offline, the router can't slow the attacker down with rate limiting. If the passphrase is short, common, or predictable, it will fall.
Why deauthentication often accompanies handshake attacks
An attacker who wants a fresh handshake may forge deauthentication frames to force a connected client to rejoin the network, generating new handshake traffic to capture. So a handshake attack frequently starts with the disruption pattern described in our deauthentication article — client drops and reconnects clustered in time.
Signs of a handshake-capture attack in your logs
- A deauthentication flood immediately followed by client reconnects — the classic capture pattern.
- An unfamiliar client device that stays associated without normal traffic (a passive sniffer lingering nearby).
- Repeated reconnection cycles affecting a single client while others remain stable.
- WIDS alerts for deauth floods or unknown stations probing your AP.
How to defend your network
- Move to WPA3 if your hardware supports it. WPA3's SAE handshake resists offline dictionary attacks — captured handshake data is useless for guessing.
- Use a long, random, unique passphrase (20+ characters, generated not memorized) on WPA2-Personal networks. This is the single highest-impact defense on older hardware.
- Enable protected management frames (802.11w) to make the deauth-forced-reconnect trick far harder.
- Disable WPS PIN mode, which offers an independent brute-force path that bypasses passphrase strength.
- Monitor your airspace for deauth floods and rogue stations; treat repeated unexplained client drops as suspicious.
- For businesses: use WPA2/WPA3-Enterprise with 802.1X and per-user credentials, which eliminates the shared-passphrase attack surface entirely.
Authorization disclaimer
All security testing must only be performed on networks and devices you own or are explicitly authorized to assess. Capturing handshakes or attempting to recover passwords for networks you don't own is illegal in most jurisdictions.
