Lecture 17: WiFi Security and WPA Flashcards
What are the 2 major jobs WiFi security has to do?
- Access control
- Encryption
What was the first standard for securing WiFi communication?
WEP
Wired equivalent privacy
What is WEP?
Designed to prevent unauthorized access to the network
Secure data inflight between the client and the access point
How many bits were WEP keys and what were the 2 parts that formed them?
64 or 128 bit key
Formed of:
- Fixed 40 or 104 bit key that acted as the access control password for the network
- An initialization vector made up the remaining 24 bits
The initialization vector used in WEP was sent in ___ during authentication
clear text
Describe the authentication process of WEP
- Clear text authentication message is sent to the router
- Router responds with an initialization vector and 128 bytes of random data
- Client uses the IV, WEP access password to encrypt the random data and sends it to the router
- Router checks if the encrypted data mathces the expected result
How does WEP handle encryption?
Secret WEP key is combined with an IV from the router to create a key
Key is used with an RC4 stream cipher to enrypt the packet data
Packet is sent to the router where its decypted and then sent to the world wide web
What is the purpose of the RC4 cipher in WEP
Stretches the key out so it can encrypt the entire frame
What are the problems with WEP?
- Doesn’t protect user data from other authenticated users
- RC4 is insecure
- IV is too short
What standard was created to replace WEP?
WPA
WiFi Protected Access
What types of keys were introduced in WPA?
Temporal Key Integrity Protocol (TKIP)
What does temporal key integrity protocol generate a session key from?
- WPA authentication password\
- Client and routers MAC Addresses
- 2 random nonces generated y client and the router
How long is the IV in WEP?
24 bits
How long is the IV in TKIP?
48 bits
How does WPA protect messages from being tampered with?
Uses Message Integrity Code (MIC)
A keyed function that generates a message signature using 64 bit derived from the session key