Lecture_9(WLAN_security_issues)

  • 534 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
534
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
47
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • IEEE 802.1X provides so called Port based network access control capability because, for example, an AP blocks all its ports until client can authenticate itself.
  • This is a way that a network administrator can use to improve security. This uses internet security protocols as SSL and others encrypting the message from the client. This is not part of the protocol.
  • in order for an AP to be operating in 802.11b compliant mode it is typically set to "Broadcast-SSID mode“ first generation WLAN networks resort to nothing more secure than using secret SSIDs as a means to deny access to unauthorized users.
  • WEP is the core for the first generation WLAN security. Is call Wired Equivalent Privacy because this scheme attempts just to achieve a security level comparable with those in a wired network as Ethernet.
  • Symmetric because the same process to encrypt and decrypt. The missing of the process for key distribution or negotiation was the root of the problem because now, each vendor implements its own method.
  • Both the client and the AP must be set-up to the same authentication scheme (open or shared) for this phase to perform properly . Because the authentication process must begin from the AP, the authentication request serves to AP begins the process.
  • Key reuse is a big deal, because two messages encrypted with same IV and key, reveal info of both, also these two ciphertexts XORed between them produce the plain text XORed.
  • This is a summary of the 802.11 weaknesses in a practical point of view. This serves to design what a solution must address. Physical and Impersonation weaknesses are related with the pre-programmed static WEP keys. If just hardware is identified by means of MAC address, includes the same problems that static keys. Integrity is related to the possibility of data modification. RC4 recovery can be done if encrypted packets are known, (as TCP or Ack’s).
  • Disclosure refers to an unintended exposure of data. Dictionary attack is to use a list of words to guess a password. Disassociation attack enables session hijacking.
  • Dynamic key refers to the creation of one key for each user at each session. Mutual authentication is that client authenticates itself with the AP, but also AP must authenticate itself with the client.
  • EAP is not a authentication technique, but is a flexible link layer security framework where encapsulates common authentication standards in. In the EAP frame there’s a field called TYPE, where is specified the type of authentication procedure used.
  • APIs refers to Application Program Interface NDIS = Network Driver Interface Specific. 802.3=Ethernet Protocol. 802.5=Token Ring Protocol.
  • The derivation of per-user session key depends on the authentication method used in the implementation (TLS=Windows, Cisco – Username, Password; IKE=Certicom-Lucent – Digital Certificate). The client and AP have the WEP key, is not necessary the transmission over the air; with this, the client can decrypt the multicast key which will be used to encrypt all the communication during the session. Easy to administer because is not needed anymore to store this keys.
  • The attacks can be defeated with mutual authentication because the rogue AP can’t authenticate as an real AP with the client, in the past it didn’t need authenticate with the client; for MiM the hacker can’t authenticate as a valid AP to the client neither as a valid client with the AP.
  • PKI public key infrastructure is a system of digital certificates , Certificate Authorities , and other registration authorities that verify and authenticate the validity of each party involved in an Internet transaction

Transcript

  • 1. Security & Authentication in WLAN
    • State of the Art and Evolution
  • 2. Organizations and Groups
    • WECA The Wireless Ethernet Compatibility Alliance certifies compliance with the IEEE 802.11 standards. Awards the WiFi ( Wireless Fidelity ).
    • IEEE 802.1X defines changes to the MAC Bridge in order to provide Port based network access control capability.
    • IEEE 802.11i defining MAC enhancements to provide enhanced security for 802.11. This is a work in progress, and 802.1X is an important part of this. (end of 2002)
  • 3. First Generation WLAN Security
    • Virtual Private Network-VPN
      • Ensures privacy through encryption.
      • Runs transparently over a WLAN
      • Use of a VPN is independent of any native WLAN security scheme, thus is not mentioned here.
  • 4. First Generation WLAN Security
    • Service Set Identifier-SSID
      • Analogous to a common network name.
      • Serves to logically segment users and APs.
      • I s a piece of information advertised or preconfigured at the station.
      • SSID may be requested when joining a WLAN.
      • SSID is not secure, because an AP advertises its SSID in its beacons.
  • 5. First Generation WLAN Security
    • Wired Equivalent Privacy-WEP
      • Optional implementation for IEEE 802.11b.
      • A WECA requirement of at least 40 bit encryption for WiFi certification.
      • Goals
        • Deny access to users that do not possess the appropriate WEP key.
        • Prevent the decoding of traffic that is WEP encrypted without the possession of the WEP key.
  • 6. First Generation WLAN Security
    • Wired Equivalent Privacy-WEP
      • WEP is a symmetric encryption mechanism.
      • IEEE 802.11b has chosen 40-bit keys.
      • Some vendors use 128-bit WEP encryption.
      • Key distribution or negotiation is not mentioned in the standard.
  • 7. First Generation Process
    • Authentication: Is the process of verifying the credentials of a client desiring to join a WLAN.
      • Open System Authentication: Process in clear text.
      • Shared Key Authentication: Uses a key to encrypt a challenge text.
    • Association: Is the process of associating a client with a given AP in the WLAN.
  • 8. First Generation Process Probe Phase
      • 1.- When initialization, the client sends a probe request packet out on all the channels.
      • 2.- The APs that hear this packet send a probe response packet back to the station.
      • This probe response packet contains some information such as SSID, which is used to determine which AP associate.
  • 9. First Generation Process Authentication Phase Shared key mode. The WEP key is already configured in the client.
  • 10. First Generation Process Association Phase After being authenticated, the client sends an association request to the AP.
  • 11. IEEE 802.11WEP Key Management
    • Key distribution or negotiation is not mentioned in the standard.
    • The standard provides two mechanisms to select a key to encrypt a frame.
      • Four default keys shared by all clients.
        • Secure communication between users with default keys.
        • Once keys become widely distributed, they are more compromised.
      • “ Key mapping” relationship with another station.
        • More secure operation since fewer stations have the keys.
        • Distribution of such unicast keys is problematic as group increases.
  • 12. WEP Deficiencies
    • WEP uses RC4 ; using a shared secret key, generates an arbitrarily long sequence of bytes from a pseudorandom number.
      • This stream is XORed with the plaintext to produce the encrypted ciphertext. It works well in SSL.
    • 802.11b uses 40-bit keys
      • Hackers can crack them in hours, but takes so much to crack 104-bit keys.
    • But… Easy to break RC4 encryption with keystream reuse.
  • 13. 802.11 Security Weaknesses
    • Physical
      • Hardware loss, without user identification, Authentication, Accounting and Auditing.
    • Impersonation
      • Does not identify users, just hardware.
      • No mutual authentication, enables Rogue AP’s.
    • Integrity
      • WEP supports per packet encryption but not authentication.
      • Possibility to recover the RC4 stream.
  • 14. 802.11 Security Weaknesses
    • Disclosure
      • Can be obtained both MAC address, time of association/disassociation.
      • Problems with static global keys.
        • Secret by more than two is not a secret
        • Enables rogue AP attacks.
        • Permits that anyone into the network to decrypt other conversations.
      • Dictionary attacks.
    • Denial of Service
      • Disassociation attacks.
  • 15. IEEE 802.1X
    • Security in 802.11 can be broken in
      • Authentication framework
      • Authentication algorithm/protocol
      • Encryption
    • Is a standard
      • Scalable.
      • Centralized Framework for Authentication.
      • Deploys a variety of authentication protocols.
      • Still in development.
    IEEE 802.1X
  • 16. How 802.1X Addresses 802.11 Security Issues
    • Extensible Authentication Protocol-EAP framework.
    • User ID and strong authentication.
    • Dynamic key derivation.
    • Mutual authentication.
    • Per-packet authentication.
  • 17. EAP Framework
    • EAP provides a flexible link layer security framework
      • Simple encapsulation protocol for IETF authentication standards
        • Transport Level Security–TLS (Windows).
        • Internet Key Exchange–IKE (Certicom-Lucent).
        • GSS_API (Kerberos).
        • Other mutual authentications schemes (Cisco LEAP).
      • Run over lossy or lossless media and any link layer (PPP,802.3)
      • Does not assume physical secure link.
  • 18. EAP Architecture
  • 19. Identification & Authentication
    • Users identified by usernames, not MAC addresses.
    • Supports extended authentication.
      • Non password based authentication.
        • Public key certificates and smartcards.
        • IKE
        • Biometrics
        • Token cards
      • Password based
        • One-time passwords
        • Any GSS_API (Kerberos)
  • 20. Per-User Per-Session Keys
    • 802.1X enables secure derivation of per-user session key.
    • Provides ability to securely change global keys.
      • WEP keys are dynamically derived at the client when log-on.
      • Global key, such as broadcast WEP key, is sent from AP to client, encrypted using the unicast session key.
    • Makes per-user WEP keys easy to administer.
  • 21. Mutual Authentication
    • 802.1X needs EAP methods supporting mutual authentication.
      • Guarantees right key transfers
      • Prevents Man-in-the-middle, Rogue Server attacks
    • Mutual Authentication EAP methods.
      • TLS: Supply certificate, prove possession of private key.
      • IKE: Server demonstrates possession of pre-shared key or private key.
      • GSS_API (Kerberos):server must demonstrate knowledge of the session key.
  • 22. Per-Packet Authentication
    • EAP supports per packet authentication & integrity. But not to all messages
      • TLS, IKE derive session key, with this the negotiations are authenticated and integrity protected.
    • Using WEP, session key can be used to encrypt, authenticate and integrity protect some messages as:
      • Success & Failure.
  • 23. WLAN Security Topics Coming
    • Temporal Key Integrity Protocol – TKIP
      • Initially referred as WEP2. Solve the key reuse in WEP.
      • 128-bit shared temporal key.
      • Combines
        • Temporal key
        • Client’s MAC address
        • Adds 16-octet initialization vector.
        • To produce a key to encrypt the data.
      • Temporal key change every 10,000 packets.
  • 24. WLAN Security Topics Coming
    • Advanced Encryption Standard – AES
      • AES offers much stronger encryption.
      • Replaces the aging Data Encryption Standard (DES) in NIST.
      • Solves the problem of stronger encryption needed by 802.11.
      • AES requires a coprocessor (additional hardware).
      • Companies need to replace existing access points and client NICs.
      • 802.11i standard will likely include AES.
  • 25. Cisco Implementation
    • EAP describes an extensible packet exchange to allow the passing of authentication information between the client and the PPP server.
    • WLAN is not a PPP. 802.1X EAP over LAN (EAPOL) defines how encapsulate EAP in Ethernet or token ring packets.
    • EAPOW – EAP over Wireless LAN, is EAPOL but when used in wireless networks.
      • Is also used EAP over Radius to encapsulate within RADIUS packets.
  • 26. Protocols used to encapsulate EAP
  • 27. Cisco Implementation - LEAP
    • Cisco-Lightweight Extensible Authentication Protocol.
      • Aironet client adapters that supports EAP-LEAP authentication (FW 4.10).
      • Cisco Aironet Series APs supporting 802.1x EAP authenticator (Ver 11.0).
      • Secure Access Control Server used for AAA and EAP RADIUS services (Ver 2.6 running in Win NT/2000 server).
    • Lightweight because:
      • Minimal support from client CPU while mutual authentication.
      • Supports embedded systems (printers).
      • Runs on OS without support for native EAP authentication.
      • Support popular OS (Windows, Linux, MacOS).
  • 28. Cisco Implementation
    • The entire authentication and key distribution process is accomplished in three phases: Start, Authenticate, and Finish
  • 29. Start Phase
  • 30.
    • The authenticate sequence varies based on the mutual authentication method chosen.
    • If we were using Transport Level Security (TLS) to transfer certificates in a PKI implementation, then EAP-TLS messages would be used.
    Authenticate Phase
  • 31. Authenticate Phase AP is in the middle acting solely as a transport vehicle
  • 32. Finish Phase
  • 33. Finish Phase
    • Both derive the session key from the user's password.
    • AP sends an EAPOW-KEY message to the client supplying the key length.
    • The key value (or actual WEP key) is not sent since the client has already derived it on its own.
    • AP encrypts with the session key (unicast) a full-length derived multicast key and sends to client.
    • The client and AP activate WEP and use this session multicast WEP key for all communications.
  • 34. Tentative Applications
    • Handoff
      • Client is assumed authenticated.
      • Just update multicast key on the adjacent AP.
    • Ad Hoc Mode
      • 802.1x can be used.
      • User credentials are stored in each station.
      • New EAP method for this purpose must be designed.
  • 35. References
    • Mishra A, Arbaugh W .; “An Initial Security Analysis of the IEEE 802.1X Standard” . This article shows some weaknesses of the 802.1X protocol.
    • William A. Arbaugh, Narendar Shankar, and Y.C. Justin Wan, "Your 802.11 Wireless Network Has No Clothes“ ; one of the first articles that shows the 802.11b security problems
    • Nikita Borisov, Ian Goldberg, and David Wagner, "Intercepting Mobile Communications: The Insecurity of 802.11“
    • D.Simon, B. Aboba, T. Moore; IEEE 802.11 Security and 802.1X . This presentation explains the security problems on 802.11 and how 802.1X helps to fix them.
    • Steinke Steve; “Security and 802.11 Wireless Networks” ; this article explains WEP deficiencies.
    • Security for Next Generation Wireless LANs ; A Cisco paper that describes the first generation WLAN security.
  • 36. References
    • Scott Fluhrer, Itsik Mantin and Adi Shamir; Weaknesses in the Key Scheduling Algorithm of RC4 , this paper presents several weaknesses in the key scheduling algorithm of RC4 and describes their cryptanalytic significance.
    • AirSnort one of the best-known WEP cracking tools, which employs the RC4 weaknesses to attack WLAN networks. AirSnort recovers encryption keys, operates by passively monitoring transmissions, computing the encryption key when enough packets have been gathered.
    • Wireless LAN at Risk : An article that tells how easy can be to access a WLAN if even the minimal wireless security basics and precautions are not taken into account.
    • Sean Whalen , Analysis of WEP and RC4 Algorithms ; This paper explains briefly the WEP encryption mechanism and some ways to crack it.
  • 37. End of Ninth Lecture