Envelopes: frames in the air (handshake, beacons, commits, the forged deauth, the EAP login)Coins: confirms, keys, the lock on the laptop's link, and a cross for a rejected frameCards: certificates; the real server's and the evil twin's fakePink: the attacker and everything it sends or holds (a pink lock: a link the attacker controls)With WPA2, a laptop accepts all three attacks: a recorded handshake lets an attacker test password guesses offline, unseen; an unprotected "disconnect" frame is believed; and a twin with the same name and password looks just like the real access point. WPA3-Personal checks the password with SAE, so a recorded login gives an attacker nothing to test guesses against, and old traffic stays safe if the password leaks later. WPA3 also requires Protected Management Frames, so a forged "disconnect" is ignored. Enterprise Wi-Fi (802.1X) gives each user their own login, checked by a RADIUS server whose certificate the laptop verifies first: an evil twin cannot pass that check. MAC addresses are documentation values from RFC 7042 (00:00:5e:00:53:xx). The office LAN uses the private range 192.168.10.0/24 (RFC 1918). example.com is reserved for examples (RFC 2606); "OfficeNet" and the CA name are made up.

The attacks on WPA2

  1. An attacker in radio range can try three things against WPA2: record a login and guess the password offline, fake "disconnect" frames, and run an evil twin, a fake access point with the same name. First see what your laptop sees, then each defence.

WPA3-Personal: SAE

Protected management frames

Enterprise: 802.1X

The frames, field by field

;; step 1/14 · the-attacks · local
;; at attacker + your laptop + access point
three attacks on WPA2, seen from the defending laptop:
  1 a recorded 4-way handshake, then password guesses tested offline
  2 forged deauthentication frames that claim to come from the AP
  3 an evil twin: a fake AP that copies the name "OfficeNet"
the defences that beat them, in order:
  1 SAE (WPA3-Personal)   2 Protected Management Frames   3 802.1X + certificate check

WPA3 "transition mode" lets old WPA2 devices join the same network. Those WPA2 links get none of SAE's protection, so turn it off once every device supports WPA3. The evil-twin defence only works when each device is set to validate the server certificate and its name. A profile that skips the check, or asks users to accept any certificate, reopens the attack.