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