Lesson 2 of 3 Wireless and IoT Security

Wireless Authentication and Encryption

Wireless networks need strong authentication to control who joins and strong encryption to protect traffic. This lesson explains the evolution from WEP to WPA3, personal and enterprise modes, and the Extensible Authentication Protocol and its common methods.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe the evolution from WEP to WPA3.
  • Distinguish personal and enterprise modes.
  • Explain SAE and protected management frames.
  • Compare common EAP methods.

From WEP to WPA2

Wired Equivalent Privacy (WEP), the original 802.11 security protocol, used the RC4 cipher with short, reused initialisation vectors and static keys. Its keys can be recovered within minutes from captured traffic, so WEP provides no real protection and must never be used.

Wi-Fi Protected Access (WPA) was an interim fix introduced in 2003 that could run on WEP hardware. It used the Temporal Key Integrity Protocol (TKIP), which changed keys per packet and added a message integrity check, but TKIP still relied on RC4 and has known weaknesses; it is deprecated.

WPA2 (802.11i, 2004) uses AES in CCMP mode, providing strong encryption and integrity. It has two modes. WPA2-Personal (PSK) uses a pre-shared key derived from a passphrase that everyone shares; an attacker who captures the four-way handshake can try to guess the passphrase offline, so long, random passphrases are essential, and anyone who knows the passphrase can decrypt others' traffic. WPA2-Enterprise uses 802.1X with a RADIUS server, so each user or device authenticates individually and receives unique keys. The 2017 KRACK vulnerability affected WPA2 implementations and was fixed by patches.

Sort into groups

Secure or insecure?

Exam skills 6.6.2

Decide whether each wireless security option is acceptable today.

Log in to try this activity Interactive activities are free with an account.

WPA3

WPA3, introduced in 2018, strengthens both modes. WPA3-Personal replaces the pre-shared key handshake with Simultaneous Authentication of Equals (SAE), a password-authenticated key exchange in which a captured handshake cannot be used for offline dictionary attacks, and which provides forward secrecy, so a later disclosure of the passphrase does not expose previously captured traffic. WPA3-Enterprise offers an optional 192-bit security mode using stronger cryptographic suites for sensitive environments. WPA3 requires protected management frames, which stop deauthentication attacks. Wi-Fi Enhanced Open (Opportunistic Wireless Encryption) encrypts traffic on open networks such as cafés without a password, although it does not authenticate the network.

WPA3 transition mode allows WPA2 and WPA3 clients on the same network but can be subject to downgrade, so networks should move to WPA3-only when all clients support it.

ProtocolEncryptionPersonal authenticationStatus
WEPRC4 with static keysShared keyBroken; never use
WPATKIP (RC4-based)Pre-shared keyDeprecated
WPA2AES-CCMPPre-shared key (offline guessing possible)Acceptable with strong passphrase or Enterprise mode
WPA3AES-CCMP or GCMP; 192-bit mode for EnterpriseSAE (resists offline guessing, forward secrecy)Recommended

The Extensible Authentication Protocol

The Extensible Authentication Protocol (EAP) is an authentication framework used by 802.1X on wired and wireless networks. It carries different EAP methods, which determine how credentials are exchanged. The following comparison summarises the common methods.

EAP-TLS
Server authenticationServer certificate
Client authenticationClient certificate
StrengthStrongest; no passwords to phish
Deployment effortRequires PKI for client certificates
PEAP
Server authenticationServer certificate
Client authenticationPassword (usually MSCHAPv2) inside a TLS tunnel
StrengthGood if clients validate the server certificate
Deployment effortEasier; uses existing directory passwords
EAP-TTLS
Server authenticationServer certificate
Client authenticationVarious inner methods, including passwords, inside a TLS tunnel
StrengthGood if clients validate the server certificate
Deployment effortModerate

Other methods include EAP-FAST, developed by Cisco, which uses protected credentials instead of certificates, and older methods such as LEAP and EAP-MD5, which are insecure. For tunnelled methods such as PEAP, clients must be configured to validate the server certificate and name; otherwise an evil twin with its own RADIUS server can capture users' password exchanges and crack them.

The following diagram compares wireless clients that skip server certificate validation with clients that check it, against an evil twin access point.

Why an evil twin collected PEAP credentials. The employees' devices did not validate the RADIUS server's certificate, so they completed PEAP with the tester's server and sent MSCHAPv2 exchanges that can be cracked offline. Device management that makes clients trust only the organisation's CA and server name prevents it; EAP-TLS removes passwords entirely.
The scenario is illustrative.
Match the pairs

EAP methods

Exam skills 6.6.2

Match each EAP method with its description.

Log in to try this activity Interactive activities are free with an account.
Worked example

Choosing a configuration

A hospital's staff Wi-Fi uses WPA2-Personal with a passphrase printed on posters in staff rooms. Managed laptops and tablets connect to it. What should it move to?

Move staff devices to WPA3-Enterprise (or WPA2-Enterprise where devices lack WPA3) with EAP-TLS using device certificates issued through device management, so each device authenticates individually, no shared passphrase exists to leak, and departing or lost devices can be revoked. Guests should use a separate, isolated network, ideally with Enhanced Open encryption.

Worked example

The PEAP weakness

A penetration tester sets up an evil twin of a company's PEAP-protected network and collects many employees' password exchanges. Why did this work, and how is it prevented?

The employees' devices were not configured to validate the RADIUS server's certificate, so they completed PEAP with the tester's server and sent their MSCHAPv2 exchanges, which can be cracked offline. Configuring clients (through device management) to trust only the organisation's CA and server name prevents it, and moving to EAP-TLS removes passwords from the exchange entirely.

Check yourself

Why does WPA3-Personal resist offline dictionary attacks?

Show answer

Its SAE handshake does not expose material that can be tested against guessed passphrases offline; each guess requires interaction with the network.

Exam Tips

Remember for the exam

  • WEP is broken; WPA (TKIP) is deprecated; WPA2 uses AES-CCMP; WPA3 uses SAE.
  • WPA2-Personal handshakes can be cracked offline; WPA3-Personal resists this.
  • EAP-TLS uses client and server certificates and is the strongest common EAP method.