Join our Newsletter — 33% off our NHI Course
Home› Guides› Wi-Fi Pre-Shared Keys: cracking risks, PMKID, WPS and…
Guide Network Security

Wi-Fi Pre-Shared Keys: cracking risks, PMKID, WPS and per-user PSK

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 13 min read
On this page

A single Wi-Fi passphrase shared by every person and device is a credential that cannot be attributed, cannot be revoked for one user, and can be guessed offline by anyone within radio range who captures the right frames. Many small offices, branches and IoT networks still run WPA2-Personal with one key that has not changed since the network was installed. This guide explains how the pre-shared key (PSK) is used, why offline guessing, the PMKID technique and Wi-Fi Protected Setup (WPS) make weak or long-lived keys dangerous, and how per-user PSK, WPA3-SAE and IEEE 802.1X reduce the risk. It is written for network engineers and IT administrators of SMB and branch networks, and it is defensive: it describes weaknesses and controls, not attack procedures. Basic router hygiene is covered in the Securing Your Wi-Fi Network Guide.

Key takeaways

  • A shared key is only as strong as its guessability. With WPA2-Personal, captured handshake material lets an attacker test passphrase guesses offline at their own pace, so short or dictionary passphrases fall and long random ones hold.
  • PMKID removed the need to wait for a client. Since 2018 it has been publicly documented that some access points expose a value in the first handshake message that supports the same offline guessing without any connected user.
  • WPS undermines a good passphrase. CERT/CC showed the 8-digit WPS PIN can be recovered in about 11,000 attempts, which reveals the network passphrase regardless of its strength. Turn WPS off.
  • Per-user PSK restores attribution and revocation. Unique keys per user, device or group on one SSID mean a leaver or a compromised IoT device can be cut off without re-keying everyone.
  • WPA3-SAE and 802.1X are the long-term fix. SAE resists offline dictionary attacks against the handshake, and 802.1X replaces the shared secret with individual credentials; transition mode keeps the WPA2 exposure until it is removed.

How WPA2-Personal uses the pre-shared key

In IEEE 802.11 robust security networks, the pairwise master key (PMK) is either derived through 802.1X authentication or configured in advance on every device, in which case it is called a pre-shared key. In WPA2-Personal the PSK is computed from the passphrase (8 to 63 printable ASCII characters) and the network name (SSID) using PBKDF2 with 4,096 iterations of HMAC-SHA1. Each time a client joins, the access point and client run the four-way handshake, proving that both hold the same PMK and deriving fresh session keys.

The consequences for defenders follow directly from that design:

  • Everyone holds the same secret: every user and device can, in principle, derive the keys of every other session on that SSID if it observes their handshake, and nothing in the protocol identifies which person connected.
  • The SSID is the salt: common network names allow precomputation against common passphrases, so a unique SSID plus a strong passphrase is better than either alone.
  • Revocation means re-keying: removing one person's access requires changing the passphrase on every device, which is why shared keys are rarely rotated in practice.

NIST SP 800-97 recommended IEEE 802.1X and EAP instead of PSKs "because of the resources needed for proper PSK administration and the security risks involved". That publication was withdrawn on 31 December 2025 and points readers to IEEE 802.11 for current Wi-Fi security standards, but the operational reasoning still applies.

Offline cracking and the PMKID issue

An attacker within range who records a client's four-way handshake gains values that let them test candidate passphrases offline. No further contact with the network is needed, so lockouts, logging and rate limits on the access point do not help. Success depends entirely on whether the passphrase is in the attacker's guess space. This is ATT&CK T1110.002 Password Cracking applied to wireless, leading to T1669 Wi-Fi Networks for initial access.

In August 2018 a post on the hashcat project forum described a "client-less" variant. Some access points with roaming features include a PMKID in the RSN information element of the first EAPOL message, and that value supports the same offline test. The defensive points are:

  • It changes timing, not maths: the attacker still has to guess the passphrase offline, so long, random passphrases remain resistant.
  • Quiet networks are not safe networks: an IoT or after-hours network with few client connections offers no protection, because no user needs to be present.
  • Roaming features matter: fast roaming and PMK caching on PSK networks were the conditions described; disable features you do not need and keep firmware current, since vendors adjusted behaviour after disclosure.
  • 802.1X networks are different: replies in the same disclosure thread reported that the technique did not work against an enterprise RADIUS network, because there is no shared passphrase to guess.
Passphrase typeExample patternOffline guessing resistance
Company name plus year, or a dictionary word with digitsShortish, human-chosenPoor: in common wordlists and rule sets
Default printed on the router labelVendor format, sometimes short or patternedVariable: replace it, because label formats can be predictable
Five or more random words from a large listDiceware-style passphraseGood for most threats if truly random
Random string of 20 or more characters from a password managerMachine generatedStrong: practical offline guessing is not feasible

Practical guidance: generate the passphrase with a password manager, use at least 20 random characters or five or more random words, never reuse it for any other system, and set a unique SSID that does not reveal the organisation.

WPS weaknesses

Wi-Fi Protected Setup was designed to make joining devices easy. CERT/CC Vulnerability Note VU#723755 (published December 2011) explains that the protocol's responses let an attacker confirm each half of the 8-digit PIN separately, and the final digit is a checksum, so about 104 + 103 = 11,000 attempts cover the space instead of 108. Many routers had no lockout. Recovering the PIN lets an attacker obtain the Wi-Fi passphrase or change the access point configuration, whatever the passphrase strength.

CERT/CC was unaware of a practical solution and recommended disabling the external registrar feature, which may be labelled "external registrar", "router PIN" or "WiFi Protected Setup". In business networks the safe position is simple: turn WPS off on every access point and router, verify after firmware updates and factory resets that it stays off, and include the check in configuration audits. If a device has no setting to disable WPS, replace it.

Per-user and private PSK

Per-user PSK (often called PPSK, private PSK, identity PSK or multiple PSK) keeps the simplicity of a passphrase for the client while giving each user, device or device group its own key on one SSID. The access point or a RADIUS server determines which key a client used and can apply a VLAN or role for that key. Clients see an ordinary WPA2 or WPA3 Personal network, so headless IoT devices that cannot do 802.1X still work.

Platforms are listed alphabetically. The table states each platform's own feature name and key handling as its documentation describes it; it is not a comparison.

PlatformFeature nameHow keys are delivered and scoped (from vendor docs)
Cisco Catalyst 9800 with ISEIdentity PSK (iPSK)ISE returns the key in cisco-av-pair attributes (psk-mode, psk) keyed on the client MAC or endpoint identity group; authorisation profiles can also return VLANs or ACLs. Cisco documents iPSK with WPA3-SAE.
HPE Aruba Networking Central NACMulti Pre-Shared Key (MPSK)Key management "MPSK AES"; user-managed keys generated through a self-service portal after IdP sign-in, or admin-managed keys in the Named MPSK Store, each mapped to a role; deleting the IdP account removes that user's keys.
Juniper MistMultiple Passphrases (Multi PSK)Keys looked up locally on the AP, through RADIUS, or in the cloud; each key can carry a VLAN and role, a device limit and an expiry; keys removed with Delete Key.

Availability: each platform documents prerequisites such as firmware versions, subscriptions or supported security modes for its per-user key feature, including which modes work with WPA3 and the 6 GHz band. Confirm these in the current vendor documentation before design.

  • Attribution: logs show which key, and therefore which person or device group, joined.
  • Revocation: deleting one key disconnects only the devices using it; nobody else re-keys.
  • Segmentation: map keys to VLANs or roles so IoT devices land in a restricted segment and staff devices in another.
  • Limits: a per-user key is still a passphrase. If a device holding it is compromised or the key is weak, offline guessing against that key still applies, so generate keys randomly and bind them to a device count or MAC where supported.

WPA3-SAE and transition mode

WPA3-Personal replaces the PSK handshake with Simultaneous Authentication of Equals (SAE). The Wi-Fi Alliance states that WPA3-Personal users receive increased protection from password guessing attempts: captured SAE exchanges do not allow offline dictionary testing in the way WPA2 handshakes do, and each session has its own keys. A weak password is still guessable online, so length still matters.

Transition mode lets WPA2 and WPA3 clients share one passphrase on one SSID. The Dragonblood research showed that an attacker could steer WPA3-capable clients to a rogue WPA2-only network and capture enough of a WPA2 handshake for offline guessing, so while transition mode is on, the passphrase is exposed exactly as it is under WPA2. The research also led to updated Wi-Fi Alliance recommendations and patched implementations. Plan transition mode as a time-limited step, keep the passphrase strong throughout, and move to WPA3-only once clients allow. The migration steps are in the WPA3 Migration and Transition Mode Guide.

Choosing between PSK, PPSK and 802.1X

OptionCredentialOffline guessing exposureRevoke one userBest fit
WPA2-Personal (single PSK)One shared passphraseYes, from handshake or PMKIDRe-key every deviceTemporary or very small networks only, with a strong random key
Per-user PSK (on WPA2 or WPA3)Passphrase per user, device or groupPer key under WPA2; reduced under WPA3Delete that keyIoT, headless devices, branches without a RADIUS PKI, guest sponsorship
WPA3-Personal (SAE)Shared passwordResists offline dictionary attack on the handshakeRe-key every deviceSmall sites with modern clients; combine with per-user keys where supported
WPA2/WPA3-Enterprise (802.1X)Individual credential or certificate (EAP-TLS)No shared passphraseDisable the account or revoke the certificateStaff laptops and phones in any organisation with directory and RADIUS
  • Small office (under about 25 users): WPA3-Personal or WPA2/WPA3 transition with a strong random passphrase, WPS off, a separate guest network, and rotation when anyone leaves. Move to per-user keys if the access points support them.
  • Multi-site SMB or branch estate: 802.1X for managed staff devices and per-user PSK for IoT and devices that cannot do 802.1X. See the 802.1X and EAP-TLS Enterprise Wi-Fi Guide.
  • Large enterprise: 802.1X with EAP-TLS as the default, per-user PSK only for a registered device class, and no shared PSK SSIDs on the corporate network.

Where identity fits

A Wi-Fi key embedded in printers, cameras, sensors and point-of-sale terminals is a machine credential. Give each device class its own key with an owner, record where it is stored, and treat it like any other non-human secret: inventory it, scope it to a segment, and rotate it when a device is decommissioned or a supplier engineer no longer needs access. The Secrets Management Guide covers the lifecycle principles.

Rollout, rotation and monitoring

  1. Inventory: list every SSID, its security mode, WPS state, passphrase age and the devices that depend on it.
  2. Quick wins: disable WPS everywhere, replace default and weak passphrases with random ones, and move guests to a separate SSID and segment.
  3. Pilot per-user keys: on one site, issue keys per device group (staff BYOD, printers, cameras), map each to a VLAN, and test joining, roaming and revocation.
  4. Enable WPA3: start transition mode on a pilot SSID, confirm older clients, then set a date to go WPA3-only.
  5. Move staff to 802.1X: where a directory and RADIUS exist, so the shared key is only for devices that need it.
  6. Rotation rules: rotate a shared PSK whenever someone with knowledge of it leaves, a device holding it is lost, or a supplier engagement ends; with per-user keys, delete the individual key instead.
  7. Rollback: keep the previous SSID configuration available for a short, defined window during each change, and remove it on the agreed date.

Monitoring, in line with NIST SP 800-153's call for continuous wireless monitoring with a wireless intrusion detection and prevention system: alert on rogue and look-alike SSIDs, unexpected WPA2-only networks advertising your SSID (a downgrade indicator), repeated failed joins, and unknown devices on IoT keys.

  • Metric: percentage of SSIDs with WPS disabled (target 100%).
  • Metric: number of SSIDs still using a single shared PSK, trending down.
  • Metric: median age of shared passphrases and per-user keys.
  • Metric: time from staff departure to key deletion or rotation.
  • Metric: share of clients connecting with WPA3-SAE or 802.1X.

Framework mapping

FrameworkReferenceRelevance
NIST SP 800-53 Rev 5AC-18, AC-18(1), IA-3, IA-5(1), SI-4(14)Wireless access, authentication and encryption, device authentication, password-based authenticators, wireless intrusion detection
NIST CSF 2.0PR.AA-01, PR.AA-03Manage and authenticate users and hardware
CIS Controls v8.13.10, 12.3, 12.6Encrypt data in transit, securely manage network infrastructure, secure network management and communication protocols
MITRE ATT&CKT1669, T1110.002, T1557Wi-Fi networks as initial access, password cracking, adversary-in-the-middle via rogue access points

Common failure patterns

  • The installation-day passphrase: a key set years ago, known to former staff and contractors, and never rotated because every device would need touching.
  • WPS left on: a strong passphrase undermined by a PIN feature that nobody uses, often re-enabled by a reset or firmware update.
  • Permanent transition mode: WPA3 is "enabled" but the shared passphrase stays exposed through WPA2 clients indefinitely.
  • One key for staff, guests and IoT: no segmentation, so a guessed or leaked key reaches business systems.
  • Per-user keys without lifecycle: keys issued but never expired or deleted, recreating the leaver problem key by key.
  • Passphrase on the wall: keys written on reception notices or shared in chat channels, where they spread far beyond the intended users.

Practitioner checklist

  • Disable WPS on every access point and router and verify it after resets and updates.
  • Replace any human-chosen or default passphrase with a random one of at least 20 characters or five or more random words.
  • Use a unique SSID and separate guest and IoT SSIDs on their own segments.
  • Issue per-user or per-device-group keys where the platform supports them, mapped to VLANs or roles.
  • Rotate shared keys when people with knowledge of them leave; delete individual keys on departure.
  • Run WPA3 transition mode only as a dated step, then move to WPA3-only.
  • Put managed staff devices on 802.1X, ideally EAP-TLS.
  • Monitor for rogue and downgrade SSIDs and report the metrics above quarterly.

Standards and references

Related NHI Mgmt Group resources: Wi-Fi Security Guide · WPA3 Migration and Transition Mode Guide · 802.1X and EAP-TLS Enterprise Wi-Fi Guide · MITRE ATT&CK T1669 Wi-Fi Networks · Securing Your Wi-Fi Network Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.