Course contentsShow
← Security
Lesson 527 of 3,05212. Network Security - WirelessFree lesson

Deauthentication and Disassociation Attacks

Understand management frame attacks forcing client disconnections to capture handshakes or cause DoS.

Deauthentication and Disassociation Attacks

What you'll learn: How attackers exploit unprotected Wi-Fi management frames to forcibly disconnect clients and capture handshakes or cause denial-of-service.

The Core Problem

Wi-Fi networks use special "management frames" to coordinate connections between clients and access points. Two critical frame types are:

  • Deauthentication frames — tell a client "you're no longer authenticated, disconnect immediately"
  • Disassociation frames — tell a client "you're no longer associated with this network"

In WPA2 and earlier protocols (without Protected Management Frames), these frames are unencrypted and unauthenticated. This means anyone can forge them and impersonate either the access point or the client.

How the Attack Works

Think of it like someone shouting "Fire! Everyone leave!" in a crowded theater while impersonating the manager — people evacuate even though the order wasn't legitimate.

An attacker sends spoofed deauth/disassoc frames to a connected client, appearing to come from the access point (or vice versa). The victim device immediately disconnects, believing it's a legitimate network command.

Attack Purposes

  1. Handshake Capture: Force disconnection so the client automatically reconnects, capturing the 4-way handshake needed to crack WPA2-PSK passwords offline
  2. Denial of Service (DoS): Continuously disconnect clients to make the network unusable
  3. Evil Twin Setup: Push users off the legitimate network so they connect to a rogue access point instead

Defense

Protected Management Frames (PMF) — introduced as optional in WPA2, mandatory in WPA3 — encrypts and authenticates management frames, preventing forgery. Without PMF enabled, networks remain vulnerable.

Key Takeaway: Deauthentication and disassociation attacks exploit unprotected management frames to forcibly disconnect Wi-Fi clients, enabling handshake capture or DoS attacks; Protected Management Frames (PMF) provides the defense.