Notes
The generations
There have been five generations. An open network has no encryption; everything is readable from the air. WEP, from nineteen ninety nine, can be broken in minutes and must never be used. WPA was a stopgap and is also broken. WPA2 arrived in two thousand four with proper encryption and is still the most common. WPA3, from two thousand eighteen, fixes WPA2's main weakness. If a device only supports WEP or the first WPA, it does not belong on your network.
- open: no encryption at all WEP (1999): broken in minutes. Never use
- WPA (2003): a stopgap, also broken
- WPA2 (2004): AES. Still the most common
- WPA3 (2018): fixes WPA2's main weakness
- check yours: router settings
WPA2 weakness
WPA2 with a shared password has one well-known weakness. When a device joins, it performs a four-way handshake with the access point. An attacker in range can record that handshake, go home, and try passwords against it offline, as fast as their hardware allows, with no further contact with your network. A short or common password falls quickly. The defense is a long, random passphrase, twenty characters or more, or moving to WPA3.
- everyone uses one password
- joining involves a four-way handshake
- an attacker in range records the handshake
- then guesses passwords offline, at their own speed, no further contact needed
- a weak password falls quickly
- defense: a long random passphrase, or WPA3
What WPA3 fixes
WPA3 replaces that handshake with one called SAE. Now each password guess requires a live exchange with the access point, so recording a handshake and guessing offline no longer works, and the access point can slow repeated attempts. It adds forward secrecy, so traffic recorded today cannot be decrypted later even if the password leaks. It requires protected management frames. And a related feature encrypts connections even on open networks like cafes.
- SAE handshake: each guess needs a live exchange with the access point, so offline guessing stops working
- forward secrecy: an old capture cannot be decrypted later
- protected management frames required
- OWE: encryption even on open networks
Evil twin
The attack that still works everywhere is the evil twin. The attacker broadcasts a network with the same name and a stronger signal. To hurry things along they send forged deauthentication frames, which knock devices off the real network so they reconnect, often to the twin. Now the attacker is a man in the middle, or shows a fake login page asking for the Wi-Fi password. Protected management frames block the forged deauthentication part.
- the attacker broadcasts the same network name, with a stronger signal
- deauthentication: forged frames kick devices off the real network
- devices reconnect to the twin
- now the attacker is in the middle, or shows a fake login page for the password
Enterprise Wi-Fi
Companies should not use a shared password at all. Enterprise Wi-Fi, built on a standard called eight oh two dot one X, gives every person or device its own credentials, checked by an identity server. The strongest form puts a certificate on each managed device, so there is no password to phish and only company devices can join. When someone leaves you disable one account instead of changing a password for everyone, and every connection in the logs belongs to a named person.
- each user or device has its own credentials
- the access point asks an identity server (RADIUS)
- best: a certificate per managed device (EAP-TLS)
- someone leaves: disable one account, no password change
- every connection is tied to a person in the logs
A trap in enterprise
There is one trap. With password-based enterprise Wi-Fi the device sends login credentials to the identity server. An evil twin can pretend to be that server, and if the device is not configured to check the server's certificate, it hands the credentials over. People who set up Wi-Fi by hand and tap accept on a certificate prompt are exactly the victims. The fix is to push Wi-Fi settings through device management, or use device certificates so there is nothing to steal.
- password-based enterprise Wi-Fi: the device sends credentials to the server
- an evil twin can pose as that server
- if the device does not check the server certificate, it hands over the login
- fix: push Wi-Fi settings by device management; or use certificates (EAP-TLS)
Separate networks
A sensible office runs several wireless networks from the same access points. Staff, with enterprise authentication and managed devices only. Guests, with internet access only, client isolation switched on so guests cannot reach each other, and no route to anything internal. And a separate isolated network for printers, televisions and other devices that are rarely patched. Following zero trust, even the staff network grants nothing by itself; applications still require login and TLS.
- staff: enterprise auth, managed devices only guest: internet only, client isolation on, no route to anything internal
- devices (printers, TVs, IoT): their own isolated network
- treat even staff Wi-Fi as untrusted: apps still need login and TLS
Hardening the gear
Access points and routers are computers and need the same care. Change the default administrator password. Keep firmware updated and replace hardware that no longer receives updates. Turn off WPS, the push-button joining feature, because its PIN can be guessed. Hiding the network name and filtering by hardware address are not security; both are bypassed in seconds. And scan for rogue access points, the cheap router an employee plugged in under a desk.
- change the default admin password
- update firmware; replace unsupported hardware
- turn off WPS: its PIN can be brute-forced
- hiding the network name is not security
- MAC filtering is not security
- scan for rogue access points plugged in by staff
On public Wi-Fi
For your own devices on public Wi-Fi, assume someone is in the middle. Use HTTPS only and never accept a certificate warning. Use a VPN or your company's zero-trust client. Turn off automatic joining of open networks and forget ones you no longer use, because a device that remembers a network name will happily join an evil twin using it. Be suspicious of unexpected login pages. And when it matters, use your phone's hotspot instead.
- assume someone is in the middle
- HTTPS only; never accept a certificate warning
- VPN or zero-trust client
- turn off auto-join for open networks; forget old ones
- never type a password into a Wi-Fi "login page" you did not expect
- a phone hotspot is safer
Common mistakes
Mistakes. One shared password for the whole company, known to every former employee. A short Wi-Fi password that falls to offline guessing. A guest network that can reach internal systems. Printers and cameras on the same network as staff laptops. WPS enabled and the default administrator login never changed. Users trained to accept certificate prompts when joining. And access points running firmware from years ago.
- one shared password for the whole company
- a short Wi-Fi password
- guest network that can reach internal systems
- printers and cameras on the staff network
- WPS on, default admin login
- users accepting certificate prompts
- old firmware
Say it like this
In the interview: I use WPA3 or WPA2 Enterprise with eight oh two dot one X so every user and device authenticates individually, ideally with device certificates, and I push the Wi-Fi configuration through device management so server certificates are validated. Guests get an isolated internet-only network, and printers and other devices get their own. I keep access points patched, scan for rogue ones, and grant no access just for being on the Wi-Fi.
- "WPA3 or WPA2-Enterprise with 802.1X, ideally device
- certificates, settings pushed
- by device management so server
- certificates are checked. A guest network with isolation
- and internet only, IoT apart, patched access points, rogue
- AP scans, and no trust from Wi-Fi alone."