Wireless Network Security
Secure Wi-Fi in homes, offices and public places: how wireless differs from wired, encryption standards from WEP to WPA3, personal versus enterprise authentication (PSK and 802.1X), common attacks (evil twin, deauthentication, handshake capture, rogue access points, WPS), design and hardening, guest networks, and secure behaviour on public Wi-Fi.
Why wireless is different
A wired network needs physical access: an attacker must plug into a port. Radio waves travel through walls, so anyone in range (the car park, the café next door) can listen to or try to join a wireless network. That changes the security model:
- The medium is shared and broadcast, so confidentiality depends on encryption.
- Anyone can try to connect, so access depends on strong authentication.
- Anyone can create an access point, so clients must be able to tell real networks from fake ones.
- Management frames (beacons, association, deauthentication) were historically unprotected, enabling spoofing and disruption.
Wi-Fi is defined by IEEE 802.11 and certified by the Wi-Fi Alliance (Wi-Fi 4, 5, 6, 6E and 7 are generations of speed, not of security; the security comes from WPA).
Components
| Term | Meaning |
|---|---|
| SSID | The network name |
| Access point (AP) | The device that connects wireless clients to the wired network |
| WLAN controller / cloud management | Centrally configures many APs |
| Client / station | A laptop, phone or IoT device |
| BSSID | The unique MAC address of an AP radio |
| Bands and channels | 2.4 GHz (longer range, crowded), 5 GHz and 6 GHz (faster, shorter range) |
| RADIUS server | Authentication server for enterprise Wi-Fi (802.1X) |
The evolution of Wi-Fi security
| Standard | Year | Status |
|---|---|---|
| Open (no security) | No encryption: all traffic readable. (Opportunistic Wireless Encryption, OWE / “Enhanced Open”, adds encryption to open networks without a password) | |
| WEP | 1997 | Broken. Keys can be recovered in minutes. Never use |
| WPA (TKIP) | 2003 | Stop-gap, now deprecated and weak |
| WPA2 (AES-CCMP) | 2004 | Still widely used and acceptable when configured with AES and a strong passphrase; vulnerable to offline dictionary attacks on a captured handshake if the passphrase is weak |
| WPA3 | 2018 | Current best: SAE (Simultaneous Authentication of Equals) replaces the PSK handshake so captured traffic cannot be used for offline guessing, provides forward secrecy, mandates protected management frames (PMF), and WPA3-Enterprise offers a 192-bit security option |
Practical advice: use WPA3 where all devices support it, WPA3/WPA2 transition mode during migration, and WPA2-AES with a long random passphrase otherwise. Disable WEP, TKIP and WPS.
Personal versus enterprise authentication
Personal (PSK / SAE)
Everyone shares one passphrase (a pre-shared key). Suitable for homes and tiny offices. Drawbacks for organisations: the secret is known by everyone, including ex-employees and visitors; changing it means reconfiguring every device; you cannot tell users apart or revoke one person.
Enterprise (802.1X with RADIUS)
Each user or device authenticates individually against a central RADIUS server (backed by a directory) using EAP:
- EAP-TLS: mutual certificates for both client and server. The strongest and best for managed devices.
- PEAP-MSCHAPv2 and EAP-TTLS: username and password inside a TLS tunnel; common, but clients must validate the server certificate, or they can be tricked by a fake RADIUS server.
Benefits: per-user identity and logging, instant revocation, no shared password, dynamic VLAN assignment by role (staff, contractors), and integration with MFA and device compliance. The mechanics of 802.1X (supplicant, authenticator, authentication server) are covered in the Layer 2 security lessons, and apply to wired ports as well.
Common attacks
| Attack | What happens | Defence |
|---|---|---|
| Eavesdropping / sniffing | Capturing traffic on open or weakly protected networks | Strong encryption (WPA2/3), HTTPS and VPN on top |
| Evil twin / rogue AP | A fake AP copies a real SSID; clients connect to it; the attacker captures traffic or runs a captive-portal phishing page | Enterprise Wi-Fi with server-certificate validation, wireless intrusion detection, user awareness, VPN, HTTPS and HSTS |
| Rogue access point (insider) | An employee plugs in an unauthorised AP, creating a backdoor | Port security and 802.1X on switch ports, wireless scanning, NAC |
| Deauthentication / disassociation attack | Spoofed management frames kick clients off to force reconnection (for evil-twin or handshake capture) or disrupt service | Protected Management Frames (802.11w), mandatory in WPA3 |
| Handshake capture and offline cracking | Record the WPA2 four-way handshake, guess the passphrase offline | Long random passphrase, WPA3-SAE, or enterprise authentication |
| WPS PIN attack | Wi-Fi Protected Setup’s 8-digit PIN can be brute-forced quickly | Disable WPS |
| KRACK, FragAttacks and other protocol flaws | Implementation or protocol weaknesses | Update client and AP firmware |
| Pineapple / karma attacks | A device answers probe requests for any network name a client remembers | Disable auto-join for open networks; forget old networks |
| MAC spoofing / filtering bypass | MAC addresses are visible and easy to copy | Do not rely on MAC filtering |
| Jamming (denial of service) | Radio interference | Detection, channel planning, wired fallback for critical systems |
| Bluetooth attacks | Pairing and implementation flaws | Disable when unused, update, avoid unknown pairing requests |
Misconceptions: hiding the SSID and MAC filtering are not security controls. Both are trivial to defeat and add inconvenience. Use real encryption and authentication.
Designing and hardening a business wireless network
- Segment: put wireless on its own VLAN(s), separate staff, guest, IoT and voice networks, and filter traffic between them with a firewall. Never put guests on the same network as internal servers.
- Use WPA3-Enterprise (or WPA2-Enterprise) for staff, with EAP-TLS where you manage devices, and make sure clients validate the RADIUS server certificate.
- Guest network: isolated from the internal network, client isolation enabled, internet-only access, bandwidth limits, a captive portal or voucher with terms of use, and logging.
- IoT network: separate SSID/VLAN with strict rules; use per-device PSKs (DPSK/iPSK) where supported.
- Disable what you do not need: WPS, legacy 802.11b rates, WEP/TKIP, unused SSIDs. Enable PMF.
- Secure the infrastructure: change default AP admin credentials, use HTTPS/SSH for management, restrict management to a dedicated VLAN, keep firmware patched, enable logging to the SIEM.
- Radio design: appropriate transmit power (do not broadcast far beyond the building), channel planning to avoid interference, enough APs for capacity.
- Monitor: a wireless intrusion detection/prevention (WIDS/WIPS) capability finds rogue APs, evil twins and deauthentication floods; review client and AP inventories.
- Physical security: APs in locked or inaccessible places, and unused wall ports disabled or authenticated.
- Survey and test: periodic site surveys and authorised wireless assessments.
Securing a home or small-office router
- Change the router’s admin password and keep its firmware updated; turn off remote administration from the internet.
- Use WPA3 (or WPA2-AES) with a long, random passphrase (use a passphrase of four or more words, or a generated key).
- Disable WPS and UPnP unless you need them.
- Use a guest network for visitors and smart devices.
- Rename the default SSID (do not include your name or the router model) and avoid default passwords printed on the device.
- Consider changing the DNS to a filtering resolver, and enable the router firewall.
Safe behaviour on public Wi-Fi
- Treat public and open networks as hostile. Assume others on the network (and the network operator) can see unencrypted traffic and attempt attacks.
- Use HTTPS sites (the browser shows this), and a VPN for sensitive work.
- Verify the network name with staff; beware duplicates such as “Airport_WiFi_Free”.
- Turn off auto-connect to open networks, and forget networks you no longer use.
- Disable file sharing and keep the firewall on. Do not sign in to banking over unknown networks. Prefer your mobile data or a personal hotspot for important tasks.
- Be wary of captive portals that ask for more than an email or accept terms, and never install software from them.
- Keep devices updated.
Troubleshooting security-related issues
| Symptom | Possible cause |
|---|---|
| Clients repeatedly drop and reconnect | Deauthentication attack, interference, or roaming problems |
| Certificate warnings on connect | Evil twin, or wrong or expired RADIUS certificate |
| Old devices cannot connect after moving to WPA3 | Lack of WPA3 support: use transition mode or replace them |
| Unknown AP with your SSID | Rogue or evil twin: locate it (signal strength, controller tools), remove it and investigate |
| Slow Wi-Fi and many unknown devices | Compromised passphrase: rotate it, or move to per-user authentication |
A company uses one shared WPA2 passphrase for staff and visitors. A contractor left the company last month and still knows the passphrase. What would you recommend?
Move staff to WPA2/WPA3-Enterprise with 802.1X so each person or device authenticates individually and can be revoked, and give visitors a separate guest network isolated from the internal network (with a rotating voucher or password). Short-term, change the shared passphrase and plan the migration. Ensure clients validate the RADIUS certificate and monitor for rogue access points.
Can You Explain It?
Close the lesson and answer these without looking back. The goal isn't the wording — it's whether you've formed a usable mental model.
- Explain what an evil twin attack is and two ways to defend against it.
- Why is WPA3 stronger than WPA2-Personal, and why is Enterprise better than a shared passphrase for a company?
- Why are SSID hiding and MAC filtering not real security measures?
🧪 Want to practise this on your own computer? See how to set up your lab →