Bitzu

CPSA ยท Cryptography for testers

WEP, TKIP, WPA and WPA2

Why WEP is broken, TKIP as a stopgap, WPA/WPA2 differences.

Key points

  • WEP: RC4, short 24-bit IV sent in the clear, CRC-32 check; IVs repeat and related-key attacks recover the key, so it is broken regardless of key length.
  • TKIP: deprecated interim fix keeping RC4 for old WEP hardware; per-packet key mixing, a sequence counter, the Michael check.
  • WPA: used TKIP.
  • WPA2 (802.11i): AES-based CCMP, the baseline; a weak passphrase still falls offline from a captured handshake.

Source: https://en.wikipedia.org/wiki/Wired_Equivalent_Privacy

Practice questions

Single choice

How long is the initialization vector (IV) in WEP?

  1. 24 bits
  2. 40 bits
  3. 64 bits
  4. 128 bits
Show answer

Answer: A. 24 bits

WEP's IV is only 24 bits, so on a busy network it repeats quickly. 40 and 104 are common secret key sizes, not the IV size.

Select all that apply

Which statements are correct?

  1. WEP uses the RC4 stream cipher
  2. TKIP was designed to run on existing WEP-era hardware
  3. WPA2 introduced AES-based CCMP
  4. WEP uses AES in GCM mode
  5. TKIP is the recommended modern choice
Show answer

Answer: A. WEP uses the RC4 stream cipher, B. TKIP was designed to run on existing WEP-era hardware, C. WPA2 introduced AES-based CCMP

WEP is RC4, TKIP reused RC4 so old radios could be updated, and WPA2 added AES-CCMP. WEP never used AES-GCM and TKIP is deprecated.

True or false

Using a longer 104-bit WEP key makes WEP secure against key recovery attacks.

Show answer

Answer: False

False. The flaw is in how the short 24-bit IV and RC4 are combined, not only in key length, so passive attacks still recover the key from enough captured packets.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CPSA topics in this module