skip to content

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%

answer

  1. metadata versus secrets
  2. masked scalar and element
  3. one guess per live run
  4. ephemeral secrets discarded afterwards
  5. passive insider still blind

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.

solid answer

~50 s

The recording shows who talked (both MAC addresses), the SSID, the finite cyclic group, the public `scalar` and `element` in each `Commit`, the `Confirm` values and the timing. What it cannot give: a way to test passphrase guesses offline, because each Commit is masked by random secrets the eavesdropper never sees, and RFC 7664 limits any adversary to learning whether one guess per live protocol run was right. It also cannot give the session's PMK later: the PMK depends on per-run random values that are discarded, so a passphrase that leaks next year does not decrypt this year's recording (**forward secrecy**). Even a passive listener who already knows the passphrase cannot compute another station's PMK. The residual risks are online guessing against a live access point and flaws in a given implementation, not the recording itself.

go deeper

for a junior

Remember that a recording of SAE shows addresses and timing but nothing that lets someone check passphrase guesses later.

for a middle

Explain how the random mask in each Commit hides the password, and why discarding the private values gives forward secrecy.

for a senior

Separate the recording from the residual risks you actually operate against: online guessing, implementation side channels and the passphrase lifecycle, each with its control.

for a principal

Use the recording question to set expectations: SAE closes the offline route, so monitoring and passphrase policy become the controls worth funding.

## The reviewer's question A firmware team is adding SAE to a product line, and a reviewer asks the question that decides whether the work was worth it: *if someone records the entire exchange between a station and our access point, what do they walk away with?* The honest answer separates **metadata**, which is visible, from **secrets and verifiers**, which are not. ## What the recording does show SAE runs in 802.11 Authentication frames before association, unencrypted. A recording therefore contains: - the **MAC addresses** of the station and the access point, and the SSID the station then associates to; - the **finite cyclic group** each side proposed (group 19, the elliptic-curve group every implementation must support, in most cases); - each side's **Commit**: a `scalar` and an `element`, plus an anti-clogging token if the access point demanded one; - each side's **Confirm**: a send-confirm counter and a confirm value; - the **status codes** used (for example 126 when hash-to-element is in use) and the **timing** of every frame. None of that is secret. The question is whether any of it is *useful*. ## What it cannot give: an offline test of a guess Each side builds its Commit from the **password element** (a group element derived from the passphrase and both MAC addresses, plus the SSID when hash-to-element is used) and two fresh random numbers, `private` and `mask`: - `scalar = (private + mask) mod q` - `element = inverse(mask × PE)` The random `mask` hides any relation between the published values and the password. RFC 7664 states the guarantee precisely: any advantage an adversary gains must come from the number of times it **interacts with an honest participant**, and the adversary learns nothing about the password except whether **a single guess from a protocol run** was correct. A passive eavesdropper is not even taking part in a run, so it does not get that one answer. The Confirm does not help either: it is computed with a key confirmation key (KCK) derived from the shared secret, which depends on both sides' private random values. ## What it cannot give later: the PMK The PMK comes out of the same derivation as the KCK. Because the private values are thrown away when the exchange ends, the PMK cannot be recomputed afterwards from the recording, with or without the passphrase. This is **forward secrecy**: | Event after the recording | WPA2-Personal | WPA3-Personal with SAE | |---|---|---| | Passphrase leaks a year later | Recorded sessions are exposed, because the PMK is a fixed function of the passphrase | Recorded sessions stay protected; each PMK depended on discarded random values | | A colleague who knows the passphrase listens passively | Can compute every session's PMK | Cannot compute another station's PMK | | Recording taken home to test guesses | Contains a verifier | Contains nothing to test | ## What still deserves attention The recording is not where the risk lives, but SAE is not the end of the story: 1. **Online guessing.** An active party can run SAE against the access point, one guess per run. Rate limiting, logging authentication failures and a long passphrase are the controls. 2. **Implementation quality.** The 2019 side-channel findings showed that some implementations of the password-element derivation leaked password-dependent timing or memory behaviour. That is a property of code, fixed by patches and by hash-to-element, not a weakness the recording itself exposes. 3. **Shared-secret lifecycle.** Anyone who knows the passphrase can still join the network; SAE on its own does not give the per-user identities and revocation that 802.1X does. 4. **What happens next.** Once the PMK exists, the four-way handshake and the negotiated cipher protect traffic as usual. ## How to answer in one breath "They get MAC addresses, the group, the public commit values and timing. They do not get anything to test passphrase guesses against, and they never get the PMK, even if the passphrase leaks later. Their only route to the passphrase is online, one guess per exchange with a real device, which we rate-limit and log."

  • Why does RFC 7664's guarantee speak of one guess per protocol run rather than none?
    Because an active party that runs the exchange with a real peer while using a guessed password learns whether that guess was right — the exchange either completes or fails. That cannot be prevented in any password-based protocol. The guarantee is that nothing more leaks, so each guess costs a live interaction the access point can count, slow down and log.
  • Does SAE's forward secrecy survive if a station reconnects using a cached PMK?
    The cached PMK came from an earlier SAE run, so a reconnection that uses PMKSA caching reuses that PMK instead of creating a new one. Forward secrecy still holds against a later passphrase leak, because the cached PMK was never a function of the passphrase alone, but sessions sharing one cached PMK are no longer independent of each other.
  • What should the access point log to make online guessing visible?
    SAE authentication failures per station MAC address and their rate, plus how often the anti-clogging mechanism engages. A burst of failed Confirm verifications from one or many addresses is the signature of guessing; the operator then checks passphrase strength and rate limits rather than worrying about recorded traffic.

Two people prove they know the same phrase by each solving a fresh puzzle built from it and a secret coin toss; a listener hears the puzzles and the answers but has nothing to test a guessed phrase against later, because the coin tosses were never spoken.

  • A recorded SAE exchange can be tested against passphrase guesses offline
  • If the passphrase leaks later, recorded SAE sessions can be decrypted
  • Anyone who knows the passphrase can compute every client's SAE PMK
  • The Commit message carries a hash of the passphrase
  • SAE frames are encrypted, so the MAC addresses are hidden