Lesson 4 of 13 · 10m
PMKID: The Clientless Crack
How Jens Steube's 2018 PMKID attack pulls crackable material from an AP with no clients at all, and why it made deauth optional.
In August 2018, Jens "atom" Steube — the hashcat author — found that most APs will hand an attacker the crackable material without any client present. The deauth-and-wait workflow that everyone taught for fifteen years suddenly had a quieter option.
What the AP gives away
When a client associates to a WPA2 network with roaming support, the AP includes a PMKID in the RSN IE of the first EAPOL message:
PMKID = HMAC-SHA1-128(PMK, "PMK Name" || MAC_AP || MAC_STA)The PMKID is an index — it exists so a roaming client and AP can recognize they already share a PMK and skip re-deriving it. But look at the inputs: PMK Name is a constant string, the two MACs are broadcast in every beacon. The only unknown is the PMK — and the PMK is a deterministic function of the passphrase and SSID. The AP is broadcasting a hash of the network password, keyed by nothing secret, on request.
The attack
hcxdumptool sends an association request to the target AP. The AP answers with EAPOL message 1 containing the PMKID. Total traffic: a handful of frames, one direction mostly, no victims, no floods. Convert with hcxpcapngtool and crack with hashcat — mode 16800 originally, now unified under 22000.
No client needs to be connected. No one needs to come home for lunch. No deauth flood lights up a WIDS. An AP sitting empty in an office at 3 a.m. surrenders the same offline-cracking target a full handshake capture would.
What it doesn't do
PMKID is a WPA2-PSK weakness. WPA3's SAE exchange doesn't produce this artifact, and 802.1X enterprise networks have no passphrase to grind against at all. PMKID also doesn't help against a passphrase that outlasts the keyspace — it is still an offline dictionary/brute-force attack, just delivered gift-wrapped.
Not every AP coughs it up. The PMKID rides in the RSN IE of EAPOL message 1 on networks that support roaming assistance — which turns out to be a huge fraction of consumer and SMB gear. hcxdumptool falls back to ordinary EAPOL capture on APs that don't play along, so running it first costs you nothing either way.
Why the defense never saw it coming
The handshake-capture playbook trains defenders to watch for deauth floods — loud, visible, obvious. PMKID extraction emits a couple of association frames and leaves. No client's connection hiccups, no WIDS trips, no one gets kicked off a call. The only place it shows is an association log nobody reads. Detection-wise it is the difference between a brick through a window and a key under the mat.
The math again, because it's the whole lesson
At roughly 10⁶ guesses a second on a modern GPU:
- 8 digits:
10⁸≈ 100 seconds worst case - 8 lowercase:
26⁸≈ two and a half days - 10 lowercase + digits:
36¹⁰≈ 116 years - 16 random characters: not happening
The AP doesn't get a vote in this math. Rate limits don't exist offline. The only lever is the entropy of the passphrase, and PMKID removed the one weak mitigation handshake capture had — needing a client to show up.
What to do
- Long random passphrases. Nothing else in WPA2-PSK's design will save you.
- Where hardware supports it, WPA3-SAE eliminates the PMKID surface entirely — the attack has no target.
- If vendor firmware lets you disable PMKID caching/roaming assistance on the AP, take it; it narrows this specific surface without touching client behavior. Enterprise networks shouldn't be running PSK auth anyway — this is one more reason.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
The Same Researcher Broke apt the Same Way Twice, Seven Years Apart
In 2019 Max Justicz showed apt would install a package an attacker swapped in over a redirect. In November 2026 he did it again, CVE-2026-109518, through a different door that ends in the same place: code as root from a man in the middle. The fix shows how apt reuses files on disk.
A 257-Byte Password Is the Key: Inside the OpenSSH musl Bypass
CVE-2026-123158 lets an attacker log into a locked account on musl-based systems like Alpine by sending a password nobody set. The trigger is one number, 257, and the reason is a C library returning a single asterisk. I reproduced the exact boundary against musl 1.2.4 and read the fix.
Zero-Trust Access for Homelabbers: Teleport vs. Tailscale vs. WireGuard vs. Cloudflare Tunnel
Four tools solve four different problems that all get pitched as the same problem. Here's what each one does, where each one breaks, and the combination that covers a real homelab without paying an SSO tax you didn't see coming.
Zero Trust Everything: The Complete Guide to Self-Hosting Teleport for Secure Infrastructure Access
SudoSecurity runs Teleport internally for everything — admin panel access, secure database connections, Kubernetes, and zero-trust philosophy across our entire team. This is the complete technical guide to installing, configuring, and running your own self-hosted Teleport cluster from scratch.