Skip to content

Lesson 11 of 13 · 12m

Hardening the Network

Disable WPS, WPA3-SAE or WPA2+PMF with a long random PSK, rotate on departure, and segment — the config lines that close every attack in this course.

The single highest-value change on most networks is one configuration switch: disable WPS.

WPS is a backdoor with a spec

Wi-Fi Protected Setup's PIN method is an 8-digit PIN whose last digit is a checksum — seven real digits — that the AP validates in two halves: first four, then three. 10⁴ + 10³ = 11,000 attempts, not a hundred million. Reaver (2011) brute-forced that space online in a few hours per router. Pixie Dust (Dominique Bongard, 2014) went further: APs generating weak E-S1/E-S2 nonces gave up the PIN offline, in seconds, on Ralink, Broadcom and Realtek silicon. Routers still ship with WPS on and a sticker PIN on the case. The fix is not a stronger PIN — the design is the flaw. Disable WPS entirely; push-button mode is less bad but the PIN method must be dead.

The cryptographic floor

WPA3-SAE where the fleet allows it. Otherwise WPA2-AES-CCMP — never TKIP, never mixed TKIP/AES — with PMF/802.11w set to required if every client supports it, capable during migration. TKIP exists only to keep 2004 hardware alive and brings Michael's weak MIC with it.

Why WPS survived

WPS persists because it is in the spec, the sticker, and the ISP installer's workflow — pressing a button or reading off a PIN is how non-technical homes get devices online. Every convenience feature with this shape is a gift to attackers: the PIN method's split validation was designed in, advertised, and then exploited as documented.

The passphrase is the perimeter

Sixteen-plus random characters. At GPU speeds, memorable passwords are the attacker's wordlist and random is the wall. Then handle the part cryptography can't: a shared PSK means every departed employee and every lost phone holds the network key forever. Rotate on departure and on loss. Better options that exist on real gear: per-device PSKs (UniFi's multi-PSK, Cisco iPSK) so a leaked key maps to one device and can be revoked singly; or 802.1X/EAP-TLS, where there is no passphrase to leak at all.

Segment the radios

Guest and IoT live on their own VLAN, client-isolated, with no route to internal resources. A cracked guest PSK or a Just-Works BLE headset gone rogue should reach the internet and nothing else. The IoT VLAN is where devices that can't patch go to be contained — printers, cameras, sensors, and every appliance whose vendor abandoned firmware updates in 2019.

The client side

Disable auto-join on anything not yours, remove remembered open networks, and on enterprise fleets push the whole supplicant config via MDM — pinned CA, pinned server name, no user-level toggles. And turn the AP's own admin interface off wireless: the management plane belongs on the wired side or a management VLAN, not on the SSID being attacked.

Firmware

APs are unpatchable eventually. Track firmware for every radio in inventory — APs, bridges, mesh nodes — and EOL hardware gets replaced on a schedule, not on a failure. KRACK and FragAttacks were patchable only on maintained gear, and the next protocol paper won't check your purchase date. The passphrase can't help you here; this is the side where patching is the whole defense.

The checklist

Run it against every AP you manage, not just the main SSID:

  1. WPS off (PIN and push-button if you don't need it)
  2. WPA3-SAE, or WPA2-AES + PMF required; no TKIP
  3. 16+ char random PSK; rotate on departure; per-device PSK or 802.1X if supported
  4. Guest/IoT on isolated VLANs
  5. Auto-join off; supplicant config managed
  6. AP admin on wired/management VLAN only
  7. Firmware inventory with EOL dates attached

Was this lesson helpful?

Sign in to rate

Keep reading

Related articles from the SudoSecurity blog.