• No results found

Authentication in WLAN

N/A
N/A
Protected

Academic year: 2021

Share "Authentication in WLAN"

Copied!
10
0
0

Loading.... (view fulltext now)

Full text

(1)

Authentication in WLAN

• Flaws in WEP (Wired Equivalent Privacy) • Wi-Fi Protected Access (WPA)

– Based on draft 3 of the IEEE 802.11i.

– Provides stronger data encryption and user authentication (largely missing in WEP). • WPA authentication protocols

WEP

– Represents first attempt at security

– Uses static 40 or 104 bit keys for authentication and encryption. – Based on RC4 symmetric cipher. Efficient.

Flaws in WEP

(1) No key management protocol tied to WEP

– Access points and clients must be programmed with the same WEP key. Since synchronizing the change of keys is tedious and difficult, keys are seldom changed.

– If attacker cracks key, all traffic can be decrypted (2) The size of the key - 40 bits.

If hacker gathers enough data, using tools such as Aircrack and Airsnort, WEP key can be broken in under 30 minutes.

(2)

(3) Authentication messages can be easily forged 802.11 defines two forms of authentication:

Open System (no authentication) or Shared Key authentication.

The Problem?

 A monitoring attacker can observe both the challenge and the encrypted response. From those, he can determine the key used to encrypt the response, and encrypt any challenge he receives in the future.

(3)

WPA (Wi-Fi Protected Access):

– Provides sophisticated data encryption than WEP and also provides user authentication. – Do not share the same key for authentication and data encryption.

– Provides for mutual authentication.

The three entities are the client, the Authentication Server (AS), and the AP.

(4)

EAP (extensible authentication protocol):

– An authentication framework, not a specific authentication mechanism. – Four message types:

o Request o Respond o Success o Failure.

– Encapsulate other authentication protocols, such as TLS, Kerberos, in its Request and Respond messages.

– The AS uses the Success or Failure message to notify the AP whether the client authentication was successful.

(5)

– The Request-Identity (User name) and Response-Identity messages precede other Request and Response messages. Only after that sequence does the EAP start encapsulating other authentication protocols.

– The AP is not aware of the authentication process in detail. It cares only about the authentication server's decision whether to grant the client the access to the network.

– An important role of the authentication process is to establish a shared key that the client and the AP can use for message protection. The message protection process starts only when the authentication process finishes with the EAP message Success, which includes generating a Pairwise Master Key (PMK) on the client and server, and the authentication server sends the PMK to the AP over a secure channel. WPA uses the PMK to generate keys for encryption. – The AS and the client compute the Pairwise Master Key differs from one authentication

(6)

EAP support the following methods:

Lightweight EAP (LEAP): A username/password combination is sent to a Authentication

Server for authentication.

Kerberos

EAP-TLS: Both the server and the client need a valid (x509) certificate, and therefore a PKI.

……

Desired Properties of Wireless Network Authentication

1. Mutual authentication 2. Identity privacy

3. Replay attack resistance 4. Fast reconnect

• Mutual Authentication • Identity Privacy

- The identity here is referring to client’s username.

- The Request-Identity and Response-Identity messages are sent in plaintext, attack can easily discover supplicant’s identity by eavesdrop the conversation at the beginning of the process. Thus, EAP methods must take care of hiding client’s identity.

(7)

• Replay Attack Resistance

- If an attacker eavesdrops and records the authentication process of a valid client and replays it to gain the access to the network, a replay attack will occur.

• Fast Reconnect

- When the client changes location and associates with another AP, the client may lose connection to the network until he reauthenticates via the new AP. New applications for wireless networks, such as Voice over IP (VoIP), require seamless connections to the network.

Authentication Protocols for WLAN

– Symmetric key approach: LEAP – Public key approach: EAP-TLS

Symmetric Key Approaches

– Efficient and require little computational power. Especially important in wireless networks because many wireless devices, such as PDAs and mobile VoIP phones, have little computational power.

– Drawbacks: most symmetric key authentication protocols derive the shared secret from the user's password and some passwords are not strong, it is easy for the attacker to extract the secret key from them.

(8)

Lightweight Extensible Authentication Protocol (LEAP)

– Includes mutual authentication and Pairwise Master Key derivation.

Client (C) Authentication Server (S) Request Identity

Response Identity (username of client c) and request s s= Random Challenge

Response (Authenticate Client)

Success and Request c c=Random Challenge

(Authenticate AS)

Calculate Challenge Hash Using User- Supplied Password H(EPassword(s))

Calculate Challenge Hash Using User- Supplied Password

(9)

Public Key Approaches:

Transport Layer Security (EAP-TLS)

Client Authentication Server (AS) Request Identity

Response Identity

Request c

c= random number Response c

s, CertAS s = random number

CertAS= AS certificate

p = random number

CertClient = Client Certificate Response E(ASpubkey, p), CertClient

SignatureClient = Client Digital SignatureClient

Signature Authenticate Client Both calculate Pairwise Master Key = F (c, s, p)

Request (TLS finish) contains hash of handshake messages

Authenticate AS

Response (TLS finish)

(10)

Summary of Symmetric and Public Key Approaches

LEAP is well understood and widely deployed.

EAP-TLS is a public key approach that provides strong security. EAP-TLS satisfies all

properties, except identity privacy and fast reconnect. EAP-TLS does not provide a way to authenticate clients who do not have a certificate that are signed by the CAs that the AS trusts.

References

Related documents

This thesis also proposes an extension to EAP, a mechanism to select a suitable EAP method out of a set of EAP methods to be used in EAP authentication process in

• Confirms authentication message is from SecureAuth server (The Certificate Request Identifier, CRI, is signed with SecureAuth’s Server private key) • The SecureAuth client signs

The proposed authentication schemes required less time for login process and uses co-ordinates of images for generating session passwords which reduces storage

examining a PMKID List received from the neighbor node in a peer link open message; and when the entry that corresponds to a Mesh Au- thenticator Pairwise Master Key, PMK-MA,

The generated password will then be used in the authentication process of a client to an Internet Banking demo application where the client can also sign money

Currently, the operational Global Navigation Satellite Systems (GNSS) do not offer message, nor signal Authentication and Integrity Protection toward the Open Service (OS) users.. But

Even though EKE is a secure user authentication protocol with weak secrets, generating per session public- private key pairs and doing private key operations on client side make it

The following table covers the features, platform support, and server requirements of different versions of the RSA Authentication Agent for Microsoft Windows software... RSA