A hotel's guest Wi-Fi shows a page asking each guest to accept the terms of use before reaching the internet. The network has no password. A guest asks the duty manager whether this page keeps her browsing private.
Wi-Fi security from WEP to WPA3
Wi-Fi carries a network by radio, so anyone within range can receive it, through walls and from the car park. Its protection has been rebuilt three times after each version was broken. No background is assumed. A security professional needs it to choose the right protection, to recognise the attacks that radio invites, and to tell real controls from settings that only look like controls.
By the end of this unit you will be able to:
- Tell apart Wi-Fi, Bluetooth, Zigbee and satellite links by reach and use
- Put WEP, WPA, WPA2 and WPA3 in order and name the encryption each uses
- Choose between personal and enterprise Wi-Fi for a stated organisation
- Match evil twin, rogue access point, deauthentication, KRACK and WPS attacks to their defences
- Explain why hiding the network name and filtering hardware addresses are not security controls
The florist's hidden network
An illustrative example
A florist runs its till and card reader over Wi-Fi from a router the internet provider installed twelve years ago. The network name is hidden, only the shop's own devices are on an approved list, and the password is printed on a sticker under the router.
The owner believes the network is invisible. A van parks outside for twenty minutes on two mornings. The following month the bank reports that card numbers taken in the shop are being used abroad.
Which of the florist's three protections actually protected anything, and what should replace them?
Radio reaches everyone in range
A cable can be locked in a wall. A radio signal spreads in every direction until it fades, so the boundary of a wireless network is wherever its signal can still be picked up. An attacker with a directional antenna, which gathers signal from one direction only, can listen from far beyond the intended range.
Four wireless technologies are named in security work, and they serve different purposes.
| Technology | Standard | Typical reach | Used for |
|---|---|---|---|
| Wi-Fi | Tens of metres from an access point | Local networks in offices and homes | |
| Bluetooth | .1, at 2.4 GHz | 1 to 100 metres, by power class | Headsets, keyboards, phones, car kits |
| Zigbee | IEEE 802.15.4 | Short range, low power | Lights, sensors, building controls |
| Satellite | Operator's own systems | Whole regions | Remote sites, ships, backup links |
A wireless local area network (WLAN) is a local network carried by radio. The rest of this topic is about Wi-Fi. Bluetooth, Zigbee and satellite links are taught with .
The 802.11 standards and how a Wi-Fi network is built
Wi-Fi is defined by the IEEE 802.11 family. Each letter names an amendment to the standard. The amendments below made it faster; others, such as 802.11i for security, changed other things. The Wi-Fi Alliance, the industry body that certifies products, gave the later ones generation numbers.
| Standard | Name | Year | Band | Top data rate |
|---|---|---|---|---|
| 802.11b | None | 1999 | 2.4 GHz | 11 Mbps |
| 802.11a | None | 1999 | 5 GHz | 54 Mbps |
| 802.11g | None | 2003 | 2.4 GHz | 54 Mbps |
| 802.11n | Wi-Fi 4 | 2009 | 2.4 and 5 GHz | 600 Mbps |
| 802.11ac | Wi-Fi 5 | 2013 | 5 GHz | 3.5 Gbps |
| 802.11ax | Wi-Fi 6, and 6E in the 6 GHz band | 2021 | 2.4, 5 and 6 GHz | 9.6 Gbps |
The band is the range of radio frequencies used. The 2.4 GHz band is crowded, because Bluetooth and older Wi-Fi share it, so interference there is more likely.
- Access point (AP)
- The device that links wireless devices to each other and to the wired network.
- Service set identifier (SSID)
- The network's name. Access points announce it in readable form so devices can find the network.
- Infrastructure mode
- Devices connect through an access point. Almost every organisation's network works this way.
- Ad hoc mode
- Devices connect directly to each other with no access point. An ad hoc link on an office laptop bypasses the organisation's controls.
WEP, WPA, WPA2 and WPA3
Wired Equivalent Privacy (WEP) was the original protection. It with RC4, an older method, using a 40-bit key, or 104 bits in common products. Each adds a 24-bit initialisation vector (IV), a value that makes each packet's encryption different. The is sent in readable form and is too short, so values repeat on a busy network. An eavesdropper can recover the key from a few minutes of traffic.
WEP had two further flaws. Every device used the same static key, which was rarely changed. Its check, CRC-32, is a simple checksum, so an attacker could alter a packet and fix the check to match.
| Name | Year | Encryption | Standing |
|---|---|---|---|
| WEP | 1997 | RC4 with a 24-bit IV | Broken. Never use |
| WPA | 2002 | TKIP, still built on RC4 | Stopgap that ran on old hardware. Retired |
| WPA2 | 2004 | CCMP with AES, from IEEE 802.11i | Sound. Minimum acceptable |
| WPA3 | 2018 | AES, with SAE sign-in and protected management frames | Current choice |
Wi-Fi Protected Access (WPA) was issued by the Wi-Fi Alliance as an interim fix while the IEEE finished its new standard. Its Temporal Key Integrity Protocol (TKIP) could be added to existing devices by a software update. TKIP mixes a fresh key for every packet and adds an integrity check called Michael. WPA2 brought the finished standard, IEEE 802.11i, and CCMP, which encrypts with the Advanced Encryption Standard (AES), today's standard method for encrypting data, using a 128-bit key.
WPA3 replaces the shared-password sign-in with Simultaneous Authentication of Equals (SAE). It requires protection of management frames and offers an enterprise mode with 192-bit strength. Alongside it, the Wi-Fi Alliance issued a separate technology, Wi-Fi Enhanced Open, which encrypts open guest networks that have no password.
Wi-Fi Protected Setup (WPS) lets a device join by typing an 8-digit PIN. A design flaw lets an attacker test each half separately, cutting the guesses from 100 million to about 11,000. WPS is switched off.
One shared passphrase, or one identity for each person
A door code against a staff badge
A shop with one door code has to change it for everyone when one person leaves, and cannot tell who came in. A badge for each person can be cancelled alone, and the door records whose badge it was.
- Personal mode
- Every device uses the same passphrase, a pre-shared key. Fit for a home or a very small office.
- Enterprise mode
- Each user or device signs in separately through , with an EAP method checked by a RADIUS server. One account can be removed without touching the rest.
With WPA2-Personal, an attacker who records one device joining can take the recording away and try millions of passwords against it on their own computer. This is an offline guessing attack: the network never sees the attempts, so it cannot lock the attacker out. SAE in WPA3 removes that opening, because a recording gives nothing to test guesses against.
For enterprise mode, EAP-TLS with a on each device is the strongest method, and the only one the 192-bit mode allows. PEAP and EAP-TTLS are acceptable when every device checks the server's certificate. LEAP, an early Cisco method, sends a password exchange that can be recorded and guessed offline. It is not to be used.
A captive portal is the page a guest network shows before letting a device out to the internet, to accept terms or sign in. It controls who gets out. It does not encrypt anything, and a fake network can show a fake portal to collect passwords.
Attacks on Wi-Fi and what stops each
| Attack | What happens | Defence |
|---|---|---|
| Rogue access point | An unapproved access point plugged into the wired network opens a back door past the | Wireless sweeps; 802.1X on switch ports |
| Evil twin | An attacker's access point copies a real network's name, so devices join it and pass their traffic through it | Enterprise mode, with devices checking the server certificate |
| War driving | Travelling with a scanner to map networks and find weak ones | Strong protection; signal kept inside the building |
| Deauthentication | Forged messages knock devices off the network, to deny service or force a rejoin that can be recorded | Protected management frames, required by WPA3 |
| Jamming | Radio noise on the network's frequency makes it unusable | Detect and locate the source. No setting prevents it |
| IV attack | Repeated WEP initialisation vectors reveal the key | Replace WEP |
| Key reinstallation (KRACK) | Replayed handshake messages make a device reuse a key, so WPA2 traffic can be | devices and access points |
| WPS PIN guessing | The 8-digit PIN is found in about 11,000 tries | Switch WPS off |
A wireless intrusion detection and prevention system uses sensors around the site to spot rogue devices, impostor networks and floods of forged messages, and to locate them by signal strength.
KRACK, published in 2017, does not reveal the Wi-Fi password, so changing the password does not help. Updates to both the device and the access point do.
Placing access points, and two settings that protect nothing
A site survey measures where the signal reaches before access points are installed. Its report places each access point and assigns its radio channel. The aim is coverage inside the building and as little as possible outside it.
- Place access points near the middle of rooms, away from outside walls and windows.
- Set them to accept only the higher data rates, which only nearby devices can reach. That shrinks the usable area.
- Mount them where they cannot be tampered with.
- Put wireless users on their own , filtered from the wired network, and guests on a separate one.
A question, worked through
A care home with 60 staff runs one Wi-Fi network for its tablets, protected by WPA2-Personal. Staff turnover is high, and the passphrase has not changed in three years because changing it means updating every tablet. A former employee is found reading residents' records from the car park.
Which change BEST addresses the cause?
Decide on your answer, then open the reasoning
- The cause is that everyone, including leavers, shares one secret. Find the option that ends sharing.
- Rule out c and d: hardware addresses can be copied and a hidden name is still broadcast whenever a device joins. Neither keeps out someone who knows the passphrase.
- Between a and b: a monthly change shortens the leaver's window but repeats the cost of updating every tablet, and still leaves one shared secret.
- Enterprise mode gives each person their own sign-in, which can be removed on the day they leave. The answer is b.
Answer: B. WPA3-Enterprise with 802.1X and a sign-in for each user
Choosing between good answers
- A scenario needs each user identified, or access removed for one person
- choose enterprise mode: 802.1X with RADIUS, ideally EAP-TLS.
- Options rank Wi-Fi protection
- WPA3 beats WPA2 (AES-CCMP), which beats WPA (TKIP), which beats WEP. WEP and WPA are wrong answers for new work.
- An option offers a hidden SSID or MAC filtering as the protection
- rule it out. Choose real encryption and authentication.
- Users are joining a network with a familiar name that is not the organisation's
- it is an evil twin. Choose enterprise mode with server certificate checks, and wireless intrusion detection.
- Devices keep dropping off Wi-Fi with no fault on the access point
- suspect deauthentication or jamming. Protected management frames stop the first, not the second.
Check your understanding
5 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.
These questions are drafts that no named reviewer has approved yet.
Question 1 of 5
What to remember
- A wireless network ends wherever its signal can be received, not at the building's walls.
- WEP uses RC4 with a 24-bit IV and is broken. WPA used TKIP as a stopgap. WPA2 uses AES-CCMP under IEEE 802.11i. WPA3 adds SAE and protected management frames.
- Personal mode shares one passphrase. Enterprise mode gives each user an identity through 802.1X and RADIUS, and is the answer for organisations.
- Evil twins, rogue access points, deauthentication, jamming, KRACK and WPS guessing are the named attacks, each with its own defence.
- A site survey places access points to cover the building and as little outside as possible.
- Hiding the SSID and filtering MAC addresses are not security controls.
Say it from memory
Name the four wireless technologies named in network design, and say how Wi-Fi in particular should be secured.
Wi-Fi (802.11), Bluetooth (802.15.1), Zigbee (802.15.4) and satellite. Secure Wi-Fi with WPA3, or at least WPA2 with AES-CCMP. Organisations use enterprise mode with 802.1X, RADIUS and EAP-TLS. Switch WPS off, require protected management frames, survey the site to limit range and use wireless intrusion detection against rogue and evil twin access points. Hidden SSIDs and MAC filtering do not protect.
Why is the boundary of a wireless network harder to control than a wired one?
A radio signal spreads in every direction until it fades, so the boundary of a wireless network is wherever its signal can still be picked up. An attacker with a directional antenna, which gathers signal from one direction only, can listen from far beyond the intended range.
How does infrastructure mode differ from ad hoc mode, and what is an SSID?
In infrastructure mode devices connect through an access point, as almost every organisation's network does. In ad hoc mode devices connect directly to each other with no access point, which on an office laptop bypasses the organisation's controls. The service set identifier (SSID) is the network's name, announced in readable form.
What made WEP breakable, and what encryption do WPA and WPA2 each use?
WEP's 24-bit initialisation vector is sent in readable form and repeats on a busy network, so the key can be recovered from a few minutes of traffic. It also used one static key and a CRC-32 check that could be fixed after altering a packet. WPA uses TKIP, still built on RC4. WPA2 uses CCMP with AES.
What do an evil twin and a deauthentication attack each do, and what stops each?
An evil twin copies a real network's name so devices join it and pass their traffic through it; enterprise mode, with devices checking the server certificate, stops it. Deauthentication sends forged messages that knock devices off the network; protected management frames, required by WPA3, stop it.
Where should access points be placed after a site survey, and why do hidden network names and MAC filtering protect nothing?
Near the middle of rooms, away from outside walls and windows, accepting only higher data rates and mounted out of reach of tampering. The name still travels in readable form whenever a device joins. Hardware addresses travel unencrypted and almost any device can copy an allowed one.
Sources
- NIST SP 800-97: Establishing Wireless Robust Security Networks: A Guide to IEEE 802.11i, NIST802.11a, b and g bands and rates, and infrastructure and ad hoc modes. The SSID is broadcast in plaintext and is not an access control, and MAC filtering is defeated by spoofing. WEP's RC4, 40 and 104-bit keys and 24-bit IV and their weaknesses. WPA in 2002 without AES, TKIP on RC4, CCMP with AES, and 802.11i approved in June 2004. Unprotected deauthentication frames, jamming, and site survey and access point placement.
- The Evolution of Wi-Fi Technology and Standards, IEEE Standards Association802.11n in 2009 at 2.4 and 5 GHz up to 600 Mbit/s, 802.11ac in 2013 up to 3.5 Gbit/s, and 802.11ax published in 2021 with a theoretical 9.6 Gbit/s.
- Wi-Fi Alliance introduces Wi-Fi 6, Wi-Fi AllianceWi-Fi 6, 5 and 4 identify devices supporting 802.11ax, 802.11ac and 802.11n.
- Wi-Fi (MAC/PHY), Wi-Fi AllianceMost Wi-Fi 5 products are dual-band, and Wi-Fi 6 added the 6 GHz band to 2.4 and 5 GHz.
- Wi-Fi Alliance introduces Wi-Fi CERTIFIED WPA3 security, Wi-Fi AllianceWPA3, announced on 25 June 2018, uses SAE against password guessing and offers an enterprise mode equivalent to 192-bit strength.
- Wi-Fi Alliance: Security, Wi-Fi AllianceProtected management frames are required for new certified devices, and Wi-Fi Enhanced Open gives unauthenticated encryption on open networks.
- NIST SP 800-48 Rev. 1: Guide to Securing Legacy IEEE 802.11 Wireless Networks, NISTWEP keys are often the same for many devices; its CRC-32 integrity check is open to bit-flipping; TKIP builds a per-packet key with its mixing function and uses the Michael message integrity check.
- CERT/CC Vulnerability Note VU#473108: Cisco LEAP uses passwords that are vulnerable to dictionary attacks, CERT Coordination Center, Carnegie Mellon UniversityCisco LEAP uses hashed passwords open to offline dictionary attacks.
- WPA3 Will Enhance Wi-Fi Security, United States National Security AgencySAE protects against offline guessing of the password.
- Extensible Authentication Protocol (EAP) for network access in Windows, MicrosoftEAP-TLS gives the highest security of the EAP methods and is the only one allowed for WPA3-Enterprise 192-bit mode.
- CERT/CC Vulnerability Note VU#723755: WiFi Protected Setup (WPS) PIN brute force vulnerability, CERT Coordination Center, Carnegie Mellon UniversityThe WPS 8-digit PIN can be found in about 11,000 attempts because each half is checked separately and the last digit is a checksum.
- Key Reinstallation Attacks: Breaking WPA2 by forcing nonce reuse, Mathy Vanhoef, KU LeuvenKey reinstallation attacks on the WPA2 handshake, which do not reveal the password and are fixed by patching clients and access points.
- NIST SP 800-153: Guidelines for Securing Wireless Local Area Networks, NISTAttackers use directional antennas; rogue access points give a back door past the firewall; wireless intrusion detection sensors find and locate rogue devices; war driving tools.
- RFC 8952: Captive Portal Architecture, IETFA captive portal limits attached devices until the user meets the network's conditions, and a malicious network can present a fake page to collect credentials.
- NIST SP 800-121 Rev. 2 (Update 1): Guide to Bluetooth Security, NISTBluetooth is IEEE 802.15.1 in the 2.4 GHz band, with designed ranges from 1 to 100 metres by power class.