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
How long is the initialization vector (IV) in WEP?
- 24 bits
- 40 bits
- 64 bits
- 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.
Which statements are correct?
- WEP uses the RC4 stream cipher
- TKIP was designed to run on existing WEP-era hardware
- WPA2 introduced AES-based CCMP
- WEP uses AES in GCM mode
- 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.
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.
