Concepts / Wireless and network types

Wireless and network types

Deauthentication attack and 802.11w

Also called deauth, deauthentication, disassociation, PMF, protected management frames, 802.11w, ieee80211w

A forged frame that kicks a client off Wi-Fi, and the standard that makes management frames unforgeable.

The problem

Anyone in range can send a frame that looks like it came from accessPoint and tells the laptop to disconnect, and on WPA2 the laptop obeys.

  1. A deauthentication frame says "disconnect". It carries the AP's BSSID, 02:00:ab:00:00:01, but on WPA2 nothing proves who really sent it.
  2. The analyzer radio forges a burst of them, from that BSSID to the laptop, 02:00:ab:00:00:03.
  3. The laptop drops off: iw dev wlan0 link says Not connected. No password was needed.
  4. On secureAp, WPA3, 802.11w (PMF, protected management frames) adds a check to such frames that only the real AP can make; the laptop's status shows pmf=2.
  5. The same forged burst, now claiming to come from 02:00:ab:00:00:04, is ignored: the laptop stays Connected.
Kicked off, then caught by the twin
Kicked off, then caught by the twin

Without PMF anyone can forge a deauth with the access point's address and drop a client; with PMF, mandatory in WPA3, the forged frame fails its check and is ignored.

Guess first

Why would an attacker knock a WPA2 laptop off for just a second?

Show answer

To make it join again: the analyzer then records a fresh 4-way handshake to guess the passphrase offline, or the laptop may rejoin an impostor AP with the same name.

In short

A deauthentication frame tells a station to disconnect. On WPA2 these management frames carry no integrity protection, so anyone in range can forge one with the access point's address and the victim drops the connection — a password-free denial of service, and the lever behind many Wi-Fi attacks (forcing a reconnect to capture the handshake, or herding a client onto an evil twin). 802.11w (PMF, protected management frames, ieee80211w=2 and reported as pmf=2) cryptographically protects deauth and disassociation frames so a forged one is rejected. It is optional in WPA2 but mandatory in WPA3, which is why the same forged deauth that drops a WPA2 client is ignored once the network moves to WPA3.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab