skip to content

SAE Dragonfly Handshake

SAE is a commit/confirm password-authenticated key exchange yielding a fresh per-session PMK, giving forward secrecy and nothing worth cracking offline. Contrasted with WPA2's handshake.

on this pageshow

explore

questions

5

In WPA3-Personal, what does the SAE handshake do differently from WPA2-Personal's pre-shared key, and why does it matter?

level: juniorimportance: must knowfreq 46%

answer

  1. password-authenticated key exchange
  2. proof without a testable verifier
  3. fresh PMK every run
  4. Authentication frames before association

basics

~20 s

SAE is a password-authenticated key exchange: both sides prove they know the passphrase without sending anything a recording can test guesses against, and every run yields a fresh PMK. WPA2-Personal uses one fixed passphrase-derived PMK.

solid answer

~40 s

WPA2-Personal computes its PMK straight from the passphrase and SSID, so every client and every session share the same PMK, and a recorded handshake carries values that can be checked against guesses offline. WPA3-Personal replaces that with **SAE** (Simultaneous Authentication of Equals, built on the Dragonfly exchange of RFC 7664). The station and the access point exchange `Commit` and `Confirm` messages in 802.11 Authentication frames before association; each side mixes the passphrase with fresh random values, so the PMK that falls out is new for every run. That gives **forward secrecy** (a passphrase leaked later does not expose recorded sessions) and **resistance to offline guessing** (a guess can only be tested by running the exchange with a real peer). The four-way handshake still runs afterwards, now keyed by the SAE PMK.

go deeper

for a junior

Recall that WPA3-Personal uses SAE instead of WPA2's passphrase-derived PMK, and that the four-way handshake still runs afterwards.

for a middle

Explain why a fresh PMK per run gives forward secrecy and why a recording offers nothing to test guesses against, using Commit and Confirm as the exchange.

for a senior

Show how you would confirm in a capture or AP log that a client negotiated the SAE AKM rather than PSK, and what that changes in your risk assessment.

for a principal

Frame SAE as fixing the recorded-session risk but not the shared-secret lifecycle; weigh that against per-user credentials when setting a site's standard.

## The problem SAE was brought in to solve In **WPA2-Personal**, the passphrase is turned into the **PMK** (pairwise master key) by a fixed computation over the passphrase and the SSID. Two consequences follow, and both matter to anyone who runs a WLAN: - **Every device holds the same PMK.** Anyone who knows the passphrase knows the PMK of every session on that network. - **The handshake leaks a verifier.** The four-way handshake that follows proves knowledge of the PMK with a message integrity code. A recording of it therefore contains material that can be checked against passphrase guesses at leisure, away from the network. How that weakness is used is the subject of the material on WPA2's published weaknesses; what matters here is that it exists. The second point is why WPA2-Personal security has always depended on passphrase length. ## What SAE does instead **SAE** (Simultaneous Authentication of Equals) is the WPA3-Personal authentication method. It descends from the **Dragonfly** key exchange, published as RFC 7664 (an Informational RFC from the IRTF's Crypto Forum Research Group). Dragonfly is a **password-authenticated key exchange (PAKE)**: two parties who share a password run a Diffie-Hellman-style exchange whose values are bound to that password. Key properties, in the order an interviewer usually wants them: 1. **Mutual authentication.** Both sides prove they know the password; neither is a passive "client" — hence "equals". 2. **A fresh PMK per run.** Each side picks new random secret values for every exchange, so the resulting PMK differs every time even though the passphrase does not. 3. **Forward secrecy.** Those random values are discarded after the exchange. Learning the passphrase later does not let anyone recompute the PMK of a session recorded earlier. 4. **Resistance to offline guessing.** RFC 7664 defines this as: the only information an adversary gets about the password is whether a single guess, made by taking part in one protocol run, was right or wrong. A recording on its own gives nothing to test. ## Where it sits on the air SAE runs **before association**, in 802.11 **Authentication** frames with authentication algorithm number 3 (SAE), in place of open-system authentication: | Step | Frames | Purpose | |---|---|---| | SAE Commit, both directions | Authentication | Each side commits to one password guess | | SAE Confirm, both directions | Authentication | Each side proves it derived the same key | | Association | Association Request / Response | Station selects the SAE AKM in its RSN element | | Four-way handshake | EAPOL-Key | Derives the PTK from the SAE PMK, delivers the group key | The four-way handshake is **not** replaced. SAE replaces where the PMK comes from; the handshake that turns a PMK into traffic keys still runs. ## What stays the same - It is still **Personal** security: devices typically share one passphrase (optional password identifiers aside), and anyone who knows it can join. - A **weak passphrase is still weak** against online guessing — someone can try one guess per exchange against a real access point. The access point can slow and log those attempts; it cannot make a guessable passphrase safe. - Traffic is still protected by the cipher negotiated in the RSN element; SAE only changes key establishment. ## How to tell what a client negotiated - The station's RSN element in its association request carries the **SAE** AKM suite selector (`00-0F-AC:8`) instead of **PSK** (`00-0F-AC:2`). - The exchange before association shows Authentication frames with algorithm SAE rather than open-system. - In hostapd, the reference open-source access point, `wpa_key_mgmt=SAE` offers SAE; hostapd.conf documents `ieee80211w=2` with `wpa_key_mgmt=SAE` as "WPA3-Personal-only mode". ## Why it matters in practice For the people who run the network, SAE changes the risk of a recorded session from "as strong as the passphrase" to "nothing to work on offline". It also means a colleague who knows the passphrase cannot passively compute another device's session keys, because each PMK depends on that exchange's private random values. What it does not change is the operational burden of a shared secret: rotating it still touches every device.

  • Does SAE remove the need for the four-way handshake on a WPA3-Personal network?
    No. SAE produces the PMK and confirms both sides know the password. After association, the four-way handshake still runs with that PMK to derive the PTK, prove both sides hold it and deliver the group temporal key. SAE replaces the source of the PMK, not the handshake that installs traffic keys.
  • If SAE resists offline guessing, why should a WPA3-Personal passphrase still be long?
    Because online guessing remains possible: anyone in range can run SAE against the access point with one guess per exchange. The access point can rate-limit and log failures, and long random passphrases make the number of tries needed impractical. SAE takes away the offline route, not the online one.

  • SAE sends a hash of the passphrase that the access point compares
  • SAE replaces the four-way handshake entirely
  • With SAE every client still ends up with the same PMK
  • Since SAE resists offline guessing, any short passphrase is now fine
  • WPA3-Personal uses 802.1X to authenticate each user
open as a page

For a WPA3-Personal SAE exchange recorded in full by an eavesdropper, what can the recording still reveal, and what can it not?

level: middleimportance: must knowfreq 34%

basics

~20 s

A recorded SAE exchange reveals metadata — MAC addresses, the group, timing — but nothing that confirms or rules out a passphrase guess, and nothing that recovers the PMK even if the passphrase leaks later.

open as a page

In SAE, what do the Commit and Confirm messages carry, in which 802.11 frames do they travel, and what still runs after them?

level: middleimportance: should knowfreq 24%

basics

~10 s

SAE Commit (group, scalar, element) and Confirm (send-confirm counter, confirm value) travel in 802.11 Authentication frames before association; they yield the PMK, and association plus the four-way handshake follow.

open as a page

On a WPA3-Personal network, how does SAE's hash-to-element differ from hunting-and-pecking, and why does 6 GHz operation insist on it?

level: seniorimportance: should knowfreq 14%

basics

~10 s

Hunting-and-pecking finds SAE's password element with a loop whose work depends on the password; hash-to-element maps the password directly with RFC 9380 hash-to-curve, without that loop. 6 GHz allows only hash-to-element.

open as a page

Your team must set SAE defaults for a router firmware line after the 2019 Dragonblood findings — how do you choose the PWE mode, groups and patch policy?

level: principalimportance: nice to knowfreq 9%

basics

~20 s

Treat Dragonblood as an implementation lesson: ship patched, constant-time SAE code, enable hash-to-element (both methods on 2.4/5 GHz unless the fleet allows H2E-only, H2E on 6 GHz), keep group 19 as the default, and commit to security updates.

open as a page