Wi-Fi security from WEP to WPA3

9 min 6 sections 5 practice questions 15 sources citedISC2 objective 4.1

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.

Four wireless technologies told apart
TechnologyStandardTypical reachUsed for
Wi-FiTens of metres from an access pointLocal networks in offices and homes
Bluetooth.1, at 2.4 GHz1 to 100 metres, by power classHeadsets, keyboards, phones, car kits
ZigbeeIEEE 802.15.4Short range, low powerLights, sensors, building controls
SatelliteOperator's own systemsWhole regionsRemote 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.

Wi-Fi standards
StandardNameYearBandTop data rate
802.11bNone19992.4 GHz11 Mbps
802.11aNone19995 GHz54 Mbps
802.11gNone20032.4 GHz54 Mbps
802.11nWi-Fi 420092.4 and 5 GHz600 Mbps
802.11acWi-Fi 520135 GHz3.5 Gbps
802.11axWi-Fi 6, and 6E in the 6 GHz band20212.4, 5 and 6 GHz9.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.

Wi-Fi protection, oldest to newest
NameYearEncryptionStanding
WEP1997RC4 with a 24-bit IVBroken. Never use
WPA2002TKIP, still built on RC4Stopgap that ran on old hardware. Retired
WPA22004CCMP with AES, from IEEE 802.11iSound. Minimum acceptable
WPA32018AES, with SAE sign-in and protected management framesCurrent 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

Wireless attacks and their defences
AttackWhat happensDefence
Rogue access pointAn unapproved access point plugged into the wired network opens a back door past the Wireless sweeps; 802.1X on switch ports
Evil twinAn attacker's access point copies a real network's name, so devices join it and pass their traffic through itEnterprise mode, with devices checking the server certificate
War drivingTravelling with a scanner to map networks and find weak onesStrong protection; signal kept inside the building
DeauthenticationForged messages knock devices off the network, to deny service or force a rejoin that can be recordedProtected management frames, required by WPA3
JammingRadio noise on the network's frequency makes it unusableDetect and locate the source. No setting prevents it
IV attackRepeated WEP initialisation vectors reveal the keyReplace WEP
Key reinstallation (KRACK)Replayed handshake messages make a device reuse a key, so WPA2 traffic can be devices and access points
WPS PIN guessingThe 8-digit PIN is found in about 11,000 triesSwitch 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.

Common misconception

“Hiding the network name and allowing only listed hardware addresses keep attackers off the network.”

The name still travels in readable form whenever a device joins, and was never meant as an access control. Hardware (MAC) addresses also travel unencrypted, and almost any device can be set to copy an allowed one. Only WPA2 or WPA3 protects the network.

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?

  1. WPA3-Personal with a longer passphrase changed monthly
  2. WPA3-Enterprise with 802.1X and a sign-in for each user
  3. WPA2-Personal with filtering by hardware address
  4. WPA3-Personal with the network name kept hidden
Decide on your answer, then open the reasoning
  1. The cause is that everyone, including leavers, shares one secret. Find the option that ends sharing.
  2. 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.
  3. 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.
  4. 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

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.

What does the page provide?

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

  1. 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.

    Read this part again

  2. 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.

    Read this part again

  3. 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.

    Read this part again

  4. 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.

    Read this part again

  5. 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.

    Read this part again

  6. 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.

    Read this part again

Sources