Docsity

Wireless Network Security: Authentication, Encryption, and Data Integrity Solutions, Study notes of Aeronautical Engineering

Toggle sidebar
bg1
IEEE 802.11 Wireless LAN Security with Microsoft
Windows
Microsoft Corporation
Published: January 2007
Updated: January 2008
Abstract
Although wireless LAN networks provide freedom of movement, they also require you to address security issues
that are not as prevalent on a private cabling system for a wired LAN technology such as Ethernet. The main
security issues are the authentication of wireless clients and the confidentiality and data integrity of wireless LAN
frames. This paper discusses the security issues of IEEE 802.11 wireless networks and shows how Microsoft®
Windows® operating systems can be used to make 802.11 wireless networks as secure as the current set of
802.11-related standards and technologies allow.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24

Partial preview of the text

Download Wireless Network Security: Authentication, Encryption, and Data Integrity Solutions and more Study notes Aeronautical Engineering in PDF only on Docsity!

IEEE 802.11 Wireless LAN Security with Microsoft

Windows

Microsoft Corporation

Published: January 2007

Updated: January 2008

Abstract

Although wireless LAN networks provide freedom of movement, they also require you to address security issues that are not as prevalent on a private cabling system for a wired LAN technology such as Ethernet. The main security issues are the authentication of wireless clients and the confidentiality and data integrity of wireless LAN frames. This paper discusses the security issues of IEEE 802.11 wireless networks and shows how Microsoft® Windows® operating systems can be used to make 802.11 wireless networks as secure as the current set of 802.11-related standards and technologies allow.

The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication.

This White Paper is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT.

Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation.

Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property.

© 2006 Microsoft Corporation. All rights reserved.

Microsoft, Windows, Windows Server, and Windows Vista are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.

All other trademarks are property of their respective owners.

Contents

  • 1 Contents.................................................................................................................
  • 2 Introduction...........................................................................................................
  • 3 Wireless Security with the IEEE 802.11 Standard..............................................
    • 3.1 Authentication.........................................................................................................
      • 3.1.1 Open System Authentication......................................................................
      • 3.1.2 Shared Key Authentication.........................................................................
    • 3.2 Encryption and Data Integrity..................................................................................
      • 3.2.1 WEP...........................................................................................................
      • 3.2.2 WEP Encryption Process...........................................................................
      • 3.2.3 WEP Decryption Process...........................................................................
    • 3.3 Other 802.11 Security Techniques..........................................................................
      • 3.3.1 Non-broadcast Wireless Networks.............................................................
      • 3.3.2 MAC Address Filtering................................................................................
    • 3.4 802.11 Support in Windows....................................................................................
    • 3.5 Security Issues with the IEEE 802.11 Standard......................................................
  • 4 Authentication with the IEEE 802.1X Standard...................................................
    • 4.1 Elements of 802.1X.................................................................................................
      • 4.1.1 Port access entity.......................................................................................
      • 4.1.2 Authenticator..............................................................................................
      • 4.1.3 Supplicant...................................................................................................
      • 4.1.4 Authentication Server.................................................................................
      • 4.1.5 Controlled and Uncontrolled Ports..............................................................
    • 4.2 EAP Overview.........................................................................................................
      • 4.2.1 EAP Over RADIUS.....................................................................................
    • 4.3 EAP-TLS Authentication..........................................................................................
      • 4.3.1 IEEE 802.1X Authentication Process for EAP-TLS....................................
    • 4.4 PEAP-MS-CHAP v2 Authentication.........................................................................
      • 4.4.1 MS-CHAP v2 Overview..............................................................................
      • 4.4.2 PEAP with MS-CHAP v2 Operation............................................................
      • 4.4.3 PEAP Fast Reconnect................................................................................
    • 4.5 802.1X Support in Windows....................................................................................
    • 4.6 802.1X and 802.11 Security Solutions....................................................................
  • 5 Wi-Fi Protected Access (WPA).............................................................................
    • 5.1 WPA Security Features...........................................................................................
      • 5.1.1 Authentication.............................................................................................
      • 5.1.2 Encryption..................................................................................................
      • 5.1.3 Data Integrity..............................................................................................
      • 5.1.4 Table 1 How WPA addresses WEP weaknesses.......................................
    • 5.2 WPA Temporal Keys................................................................................................
    • 5.3 WPA Encryption and Decryption Process................................................................
    • 5.4 WPA Support in Windows........................................................................................
    • 5.5 Supporting a Mixed Environment............................................................................
  • 6 Wi-Fi Protected Access 2......................................................................................
    • 6.1 Features of WPA2 Security.....................................................................................
    • 6.2 Additional Features of WPA2 for Fast Roaming......................................................
      • 6.2.1 PMK Caching.............................................................................................
      • 6.2.2 Preauthentication.......................................................................................
    • 6.3 WPA2 Data Encryption and Integrity.......................................................................
      • 6.3.1 Table 2 How WPA2 addresses WEP weaknesses.....................................
      • 6.3.2 WPA2 Temporal Keys.................................................................................
      • 6.3.3 WPA2 Encryption and Decryption Process.................................................
    • 6.4 WPA2 Support in Windows.....................................................................................
  • 7 Recommended Security Configurations.............................................................
  • 8 Attacks on Wireless Networks.............................................................................
  • 9 Summary................................................................................................................
  • 10 Related Links.........................................................................................................

Introduction

Wireless networks broadcast their network data using radio signals. Unlike wired networking technologies such as Ethernet, it is difficult to control access to a wireless network. For example, with wired networks you must have physical access to a network port. If you use wireless networks, you do not even need to be in the building; you can access the wireless network from across the street. The difference between wired and wireless networks is illustrated in the following comparison:

  • With wired networks, the medium is private. You do not have to worry about who is connecting because the assumption is that unauthorized users cannot gain access to a network port. You also do not have to ensure that the traffic is made confidential, because the traffic is sent over a private cabling system that is not accessible to unauthorized users.
  • With wireless networks, the medium is public. Anyone with the proper wireless equipment that is within radio range can attempt to connect. The network traffic must also be made confidential because the unauthorized user can receive wireless frames without being present in physically securable areas.

Therefore, for wireless LANs, security is a required element of the technology, its implementation, and its deployment. Properties of protected communications for wireless networks consist of the following:

  • Authentication Before being allowed to exchange data traffic with the wireless network, the wireless network node must be identified and, depending on the authentication method, must submit credentials that can be validated.
  • Encryption Before sending a wireless data packet, the wireless network node must encrypt the data to ensure data confidentiality.
  • Data integrity Before sending a wireless data packet, the wireless network node must include information in the packet so the receiver can determine that the contents of the packet were not modified in transit.

Wireless Security with the IEEE 802.11 Standard

The original IEEE 802.11 standard defined authentication, encryption, and data integrity for wireless traffic. As we will discuss, the original authentication, encryption, and data integrity proved to be relatively weak and cumbersome for widespread public and private deployment. Subsequent sections of this paper describe the additional standards that provide stronger authentication methods and discuss enhancements to the originally defined encryption and data integrity methods or replacements for them.

Authentication

IEEE 802.11 defines the following types of authentication, discussed in the following sections:

  • Open system authentication
  • Shared key authentication

Open System Authentication

Open system authentication does not provide authentication, only identification using the wireless adapter’s media access control (MAC) address. This authentication is used when no authentication is required. Open system authentication uses the following process (shown in Figure 1):

  1. The authentication-initiating wireless client sends an Open System Authentication Request message, which contains the MAC address as the source address of the 802.11 frame.
  2. The receiving wireless node, typically a wireless access point (AP), responds with an Open System Authentication Response message that indicates either success (the authentication-initiating wireless client is authenticated) or failure.

Figure 1 Open system authentication

Some wireless APs allow you to configure a list of MAC addresses of wireless clients that are authorized. However, this does not protect a wireless network because an attacker can easily capture wireless packets of connected clients and then use the MAC address of a valid wireless client as its own.

Shared Key Authentication

Shared key authentication verifies that an authentication-initiating station has knowledge of a shared secret, sometimes known as a passcode. The IEEE 802.11 standard assumes that the shared secret is delivered to the participating wireless clients by means of a secure channel that is independent of IEEE 802.11. In practice, this secret is a sequence of characters typed during the configuration of the wireless AP and the wireless client.

Shared key authentication uses the following process (shown in Figure 2):

  1. The authentication-initiating wireless client sends a Shared Key Authentication Request frame.
  2. The authentication-enforcing wireless node responds with a Shared Key Authentication Response frame that contains challenge text.
  3. The authentication-initiating wireless node responds with a Shared Key Authentication Request frame that contains an encrypted form of the challenge text, which is encrypted using Wired Equivalent Privacy (WEP) (the encryption method used on 802.11 wireless networks) and the shared key authentication key.
  4. The authentication-enforcing wireless node decrypts the encrypted challenge text in the Shared Key Authentication Request frame using WEP and the shared key authentication key. If the decrypted challenge text matches the originally sent challenge text, the authentication-enforcing wireless node sends a Shared Key Authentication Response frame that indicates authentication success. Otherwise, the authentication-enforcing wireless node sends a Shared Key Authentication Response
  1. The combination of [IV+WEP encryption key] is used as the input of a pseudo-random number generator (PRNG) to generate a bit sequence that is the same size as the combination of [data+ICV].
  2. The PRNG bit sequence, also known as the key stream, is bit-wise exclusive ORed (XORed) with [data+ICV] to produce the encrypted portion of the payload that is sent between the wireless client and the wireless AP.
  3. To create the payload for the wireless MAC frame, the IV is added to the front of the encrypted[data +ICV], along with other fields.

Figure 3 WEP encryption process

WEP Decryption Process

To decrypt the 802.11 frame data, the following process is used (shown in Figure 4):

  1. The IV is obtained from the front of the IEEE 802.11 payload.
  2. The IV is appended to the WEP encryption key.
  3. The [IV+WEP encryption key] is used as the input of the same PRNG to generate a bit sequence of the same size as the combination of the data and the ICV. This process produces the same key stream as that of the sending wireless node.
  4. The PRNG bit sequence is XORed with the encrypted[data+ICV] to decrypt the [data+ICV] portion of the payload.
  5. The ICV calculation for the data portion of the payload is run, and its result is compared with the value included in the incoming frame. If the values match, the data is considered to be valid (sent from the wireless client and unmodified in transit). If they do not match, the frame is silently discarded.

Figure 4 WEP decryption process

Although the secret key remains constant over a long duration, the IV is changed periodically and as frequently as every frame. The periodicity at which IV values are changed depends on the degree of privacy required of the WEP algorithm. The ideal method of maintaining the effectiveness of WEP is changing the IV after each frame.

Other 802.11 Security Techniques

In addition to WEP encryption, the following techniques are sometimes used to protect 802.11 wireless networks:

  • Non-broadcast wireless networks
  • MAC address filtering

Non-broadcast Wireless Networks

Many wireless APs can be configured to not broadcast their wireless network name. A wireless network that does not broadcast its wireless network name is known as a non-broadcast or hidden wireless network. This feature of wireless APs has the goal of preventing unauthorized wireless clients from being able to detect a wireless network. However, a non-broadcast network is not undetectable. Non- broadcast network names are advertised in various messages sent by wireless clients and wireless APs.

Configuring your wireless APs for non-broadcast mode does prevent the casual wireless client from discovering your wireless network. However, even the most unsophisticated malicious user can capture the messages containing the wireless network name sent by wireless clients or your wireless AP and determine your wireless network name.

Besides being a weak form of wireless network name privacy, non-broadcast wireless networks also create problems for authorized wireless clients that want to automatically connect to the non-broadcast wireless network. For example, because the wireless network name is not being advertised, the wireless client must send messages containing the wireless network name in an attempt to locate a wireless AP for the wireless network. These messages advertise the name of the wireless network, reducing the privacy of the wireless configuration of the wireless client. For more information, see Non- broadcast Wireless Networks with Microsoft Windows at http://www.microsoft.com/technet/network/ evaluate/hiddennet.mspx.

For these reasons, Microsoft strongly recommends that rather than trying to hide your wireless network, you should advertise its presence but protect your wireless network with the strongest possible authentication and encryption methods.

MAC Address Filtering

Some wireless APs allow you to configure a list of media access control (MAC) addresses of allowed wireless clients. The MAC address is a 48-bit unique number assigned to your wireless network adapter by its manufacturer. This feature, known as MAC address filtering, has the goal of providing protection by only allowing communication with wireless clients using known MAC addresses.

However, MAC address filtering requires that you configure the wireless AP with the list of allowed MAC addresses and maintain that list for new wireless clients and devices. Additionally, MAC address filtering is a weak form of protection. An unsophisticated malicious user can easily capture data traffic sent to or from allowed wireless clients on your wireless network, determine an allowed MAC address, and then configure their own wireless adapter to use the allowed MAC address.

For these reasons, Microsoft strongly recommends that rather than trying to keep unauthorized wireless users from using your wireless network with MAC address filtering, that you prevent unauthorized access by using the strongest possible authentication and encryption methods.

802.11 Support in Windows

802.11 configuration is supported in the following versions of Windows:

  • Windows Vista™
  • Windows XP
  • Windows Server® 2008
  • Windows Server 2003

Security Issues with the IEEE 802.11 Standard

The main problem with WEP is that the determination and distribution of WEP encryption keys are not defined. WEP keys must be distributed by using a secure channel outside of the 802.11 protocol. In practice, WEP keys are text strings that must be manually configured using a keyboard for both the wireless AP and wireless clients. Obviously, this key distribution system does not scale well to an enterprise organization and is not secure.

Additionally, there is no defined mechanism to change the WEP encryption keys either per authentication or periodically for an authenticated connection. All wireless APs and clients use the same manually configured WEP key for multiple sessions. With multiple wireless clients sending a large amount of data, an attacker can remotely capture large amounts of WEP ciphertext and use cryptanalysis methods to determine the WEP key.

The lack of a WEP key management protocol is a principal limitation to providing 802.11 security, especially in infrastructure mode with a large number of stations. Some examples of this type of network include corporate and educational campuses and public places such as airports and malls. The lack of automated authentication and key determination services also affects operation in ad hoc mode, in which users may wish to engage in peer-to-peer collaborative communication in areas such as conference rooms.

Authentication with the IEEE 802.1X Standard

The IEEE 802.1X standard defines port-based, network access control used to provide authenticated network access for Ethernet networks. This port-based network access control uses the physical characteristics of the switched LAN infrastructure to authenticate devices attached to a LAN port. Access to the port can be denied if the authentication process fails. Although this standard was designed for wired Ethernet networks, it has been adapted for use on 802.11 wireless LANs.

Elements of 802.1X

IEEE 802.1X defines the following terms, as described in the following sections:

  • Port access entity
  • Authenticator
  • Supplicant
  • Authentication server

Figure 5 shows these components for a wireless LAN network.

Figure 5 The components of IEEE 802.1X authentication

Port access entity

A LAN port, also known as port access entity (PAE), is the logical entity that supports the IEEE 802.1X protocol that is associated with a port. A PAE can adopt the role of the authenticator, the supplicant, or both.

Authenticator

An authenticator is a LAN port that enforces authentication before allowing access to services accessible using that port. For wireless connections, the authenticator is the logical LAN port on a wireless AP through which wireless clients in infrastructure mode gain access to other wireless clients and the wired network.

Supplicant

The supplicant is a LAN port that requests access to services accessible using the authenticator. For wireless connections, the supplicant is the logical LAN port on a wireless LAN network adapter that requests access to the other wireless clients and the wired network by associating with and then authenticating itself to an authenticator.

Whether for wireless connections or wired Ethernet connections, the supplicant and authenticator are connected by a logical or physical point-to-point LAN segment.

Authentication Server

To verify the credentials of the supplicant, the authenticator uses an authentication server, which verifies the credentials of the supplicant and then responds to the authenticator, indicating whether or not the supplicant is authorized to access the authenticator’s services. The authentication server can be the following:

  • A component of the access point In this case, the wireless AP must be configured with the sets of user or computer credentials corresponding to authorized supplicants that will be attempting to connect (this is typically not implemented for wireless APs).
  • A separate host In this case, the AP forwards the credentials of the connection attempt to a separate authentication server. Typically, a wireless AP uses the Remote Authentication Dial-In User Service (RADIUS) protocol to send a connection request message to a RADIUS server.

Controlled and Uncontrolled Ports

The authenticator’s port-based access control defines the following different types of logical ports that access the wired LAN via a single physical LAN port:

  • Uncontrolled port The uncontrolled port allows an uncontrolled exchange between the authenticator (the wireless AP) and other networking devices on the wired network—regardless of any wireless client’s authorization state. Frames sent by the wireless client are never sent using the uncontrolled port.
  • Controlled port The controlled port allows data to be sent between a wireless client and the wired network only if the wireless client is authorized by 802.1X. Before authentication, the switch is open and no frames are forwarded between the wireless client and the wired network. When the wireless client is successfully authenticated using IEEE 802.1X, the switch is closed, and frames can be sent between the wireless client and nodes on the wired network.

Figure 6 shows the different types of ports.

Figure 6 Controlled and uncontrolled ports for IEEE 802.1X

On an authenticating Ethernet switch, the wired Ethernet client can send Ethernet frames to the wired network as soon as authentication is complete. The switch identifies the traffic of a specific wired Ethernet client using the physical port to which the Ethernet client is connected. Typically, only a single Ethernet client is connected to a physical port on the Ethernet switch.

Because multiple wireless clients contend for access to the same channel and send data using the same channel, an extension to the basic IEEE 802.1X protocol is required to allow a wireless AP to identify the secured traffic of a particular wireless client. The wireless client and wireless AP do this through the mutual determination of a per-client unicast session key. Only authenticated wireless clients have knowledge of their per-client unicast session key. Without a valid unicast session key tied to a successful authentication, a wireless AP silently discards the traffic sent from the wireless client.

To provide a standard authentication mechanism for IEEE 802.1X, the IEEE chose the Extensible Authentication Protocol (EAP). EAP is a Point-to-Point Protocol (PPP)-based authentication mechanism that was adapted for use on point-to-point LAN segments. EAP messages are normally sent as the payload of PPP frames. To adapt EAP messages to be sent over Ethernet or wireless LAN segments, the IEEE 802.1X standard defines EAP over LAN (EAPOL), a standard encapsulation method for EAP messages.

EAP Overview

EAP was originally created as an extension to PPP that allows for development of arbitrary network access authentication methods. With typical PPP authentication protocols, a specific authentication mechanism is chosen during the link establishment phase. During the connection authentication phase, the negotiated authentication protocol is used to validate the connection. The authentication protocol itself is a fixed series of messages sent in a specific order. With EAP, the specific authentication mechanism is not chosen during the link establishment phase of the PPP connection. Instead, each PPP peer negotiates to perform EAP during the connection authentication phase. When the connection authentication phase is reached, the peers negotiate the use of a specific EAP authentication scheme known as an EAP type. EAP is described in RFC 3478.

After the EAP type is agreed upon, EAP allows for an open-ended exchange of messages between the access client and the authenticating server (the RADIUS server) that can vary based on the parameters of the connection. The conversation consists of requests for authentication information and the responses. The length and detail of the authentication conversation is dependent upon the EAP type.

Architecturally, EAP is designed to allow authentication plug-in modules at both the access client and authenticating server ends of a connection. To add support for a new EAP type, install an EAP type library file on both the access client and the authenticating server. This presents vendors with the

  • The EAP-TLS exchange is protected with public key cryptography and is not susceptible to offline dictionary attacks.
  • The EAP-TLS authentication process results in mutually determined keying material for data encryption and signing.

Note EAP-TLS authentication with smart cards is not supported for wireless connections in Windows XP with no service packs installed.

IEEE 802.1X Authentication Process for EAP-TLS

The following is the EAP-TLS authentication process for a wireless client authenticating to a wireless AP configured to use a RADIUS server as its authentication server:

  1. Association and request for identity

If the wireless AP observes a new wireless client associating with it, the wireless AP transmits an EAP- Request/Identity message to the wireless client. Alternately, when a wireless client associates with a new wireless AP, it transmits an EAP-Start message. If the IEEE 802.1X process on the wireless AP receives an EAP-Start message from a wireless client, it transmits an EAP-Request/Identity message to the wireless client.

  1. (^) EAP-Response/Identity response

If there is no user logged on to the wireless client, it transmits an EAP-Response/Identity message containing the computer name. For Windows-based wireless clients, the fully qualified domain name (FQDN) of the computer account is sent. If there is a user logged on to the wireless client, it transmits an EAP-Response/Identity message containing the user name. For Windows-based wireless clients, the UPN of the user account is sent.

The wireless AP forwards the EAP-Response/Identity message to the RADIUS server in the form of a RADIUS Access-Request message.

  1. EAP-Request from the RADIUS server (Start TLS)

The RADIUS server sends a RADIUS Access-Challenge message containing an EAP-Request message with the EAP-Type set to EAP-TLS, requesting a start to the TLS authentication process.

The wireless AP forwards the EAP message to the wireless client.

  1. EAP-Response from the wireless client (TLS Client Hello)

The wireless client sends an EAP-Response message with the EAP-Type set to EAP-TLS, indicating the TLS client hello.

The wireless AP forwards the EAP message to the RADIUS server in the form of a RADIUS Access- Request message.

  1. EAP Request from the RADIUS server (RADIUS server’s certificate)

The RADIUS server sends a RADIUS Access-Challenge message containing an EAP-Request message with the EAP-Type set to EAP-TLS, and includes the RADIUS server’s certificate chain.

The wireless AP forwards the EAP message to the wireless client.

  1. EAP-Response from the wireless client (wireless client’s certificate)

The wireless client sends an EAP-Response message with the EAP-Type set to EAP-TLS, and includes the wireless client’s certificate chain.

The wireless AP forwards the EAP message to the RADIUS server in the form of a RADIUS Access- Request message.

  1. EAP-Request from the RADIUS server (Cipher suite, TLS complete)

The RADIUS server sends an EAP-Request message with the EAP-Type set to EAP-TLS, and includes the cipher suite and an indication that the TLS authentication message exchange is complete.

The wireless AP forwards the EAP message to the wireless client.

  1. EAP-Response from the wireless client

The wireless client sends an EAP-Response message with the EAP-Type set to EAP-TLS.

The wireless AP forwards the EAP message to the RADIUS server in the form of a RADIUS Access- Request message.

  1. EAP-Success from the RADIUS server

The RADIUS server derives the per-client unicast session key and the signing key from the keying material that is a result of the EAP-TLS authentication process. Next, the RADIUS server sends a RADIUS Access-Accept message containing an EAP-Success message and the MS-MPPE-Send-Key and MS-MPPE-Recv-Key attributes to the wireless AP.

The wireless AP uses the key encrypted in the MS-MPPE-Send-Key attribute as the per-client unicast session key for data transmissions to the wireless client (truncated to the appropriate WEP key length). The wireless AP uses the key encrypted in the MS-MPPE-Recv-Key attribute as a signing key for data transmissions to the wireless client that require signing (truncated to the appropriate WEP key length).

The wireless client derives the per-client unicast session key (the same value as the decrypted MS- MPPE-Send-Key attribute in the RADIUS message sent to the wireless AP) and the signing key (the same as value as the decrypted MS-MPPE-Recv-Key attribute in the RADIUS message sent to the wireless AP) from the keying material that is a result of the EAP-TLS authentication process. Therefore, both the wireless AP and the wireless client are using the same keys for both the encryption and signing of unicast data.

The wireless AP forwards the EAP-Success message to the wireless client. The EAP-Success message does not contain the per-station unicast session or signing keys.

  1. Multicast/ global encryption key to the wireless client

The wireless AP derives the multicast/global encryption key by generating a random number or by selecting it from a previously set value. Next, the wireless AP sends an EAPOL-Key message to the wireless client containing the multicast/global key that is encrypted using the per-client unicast session key.

The Key field of the IEEE 802.1X EAPOL-Key message is RC4-encrypted using the per-client unicast session key and portions of the message are signed with Hashed Message Authentication Code- Message Digest 5 (HMAC-MD5) using the per-client unicast signing key.

Upon receiving the EAPOL-Key message, the wireless client uses the per-client unicast session key to verify the signed portions of the EAPOL-Key message and decrypt the multicast/global key. Next, the wireless LAN network adapter driver indicates the per-client unicast session key, the per-client unicast signing key, and the multicast/global key to the wireless LAN network adapter. After the keys have been indicated, the wireless client begins protocol configuration using the wireless adapter (such as using DHCP to obtain an IP address configuration).

When the wireless AP changes the multicast/global key, it generates and sends EAPOL-Key messages to its connected wireless clients. Each EAPOL-Key message contains the new multicast/global key encrypted with the particular wireless client’s per-client unicast session key.

Figure 8 summarizes this process.

Figure 8 EAP-TLS and the IEEE 802.1X authentication process

PEAP-MS-CHAP v2 Authentication

Although EAP provides authentication flexibility through the use of EAP types, the entire EAP conversation might be sent as clear text (unencrypted). A malicious user with access to the media can inject packets into the conversation or capture the EAP messages from a successful authentication for

The wireless AP forwards the EAP message to the RADIUS server in the form of a RADIUS Access- Request message.

  1. EAP Request from the RADIUS server (RADIUS server’s certificate)

The RADIUS server sends a RADIUS Access-Challenge message containing an EAP-Request message with the EAP-Type set to PEAP, and includes the RADIUS server’s certificate chain.

The wireless AP forwards the EAP message to the wireless client.

  1. EAP-Response from the wireless client (Cipher suite, TLS complete)

The wireless client sends an EAP-Response message with the EAP-Type set to PEAP, and includes the cipher suite and an indication that TLS authentication message exchanges are complete.

The wireless AP forwards the EAP message to the RADIUS server in the form of a RADIUS Access- Request message.

  1. EAP-Request from the RADIUS server (Cipher suite, TLS complete)

The RADIUS server sends an EAP-Request message with the EAP-Type set to PEAP, and includes the cipher suite and an indication that TLS authentication message exchanges are complete.

The wireless AP forwards the EAP message to the wireless client.

Figure 9 shows the authentication process that creates the encrypted PEAP channel.

Figure 9 Authentication process for the PEAP channel

At the end of the PEAP negotiation, the RADIUS server has authenticated itself to the wireless client. Both nodes have determined mutual encryption and signing keys for the TLS channel, using public key cryptography, not passwords.

After the PEAP TLS channel is created, the following steps are used to authenticate the wireless client credentials with MS-CHAP v2:

  1. EAP-Request/Identity from the RADIUS server

The RADIUS server sends an EAP-Request message for the identity of the wireless client in the form of a RADIUS Access-Challenge message.

The wireless AP forwards the EAP message to the wireless client.

  1. EAP-Response/Identity from the wireless client

The wireless client transmits an EAP-Response/Identity message containing the computer or the user name.

The wireless AP forwards the EAP-Response/Identity message to the RADIUS server in the form of a RADIUS Access-Request message.

  1. EAP-Request from the RADIUS server (MS-CHAP v2 challenge)

The RADIUS server sends a RADIUS Access-Challenge message containing an EAP-Request message with the EAP-Type set to EAP-MS-CHAP v2, containing the MS-CHAP v2 challenge for the wireless client.

The wireless AP forwards the EAP message to the wireless client.

  1. EAP-Response from the wireless client (MS-CHAP v2 response and challenge)

The wireless client sends an EAP-Response message with a response to the RADIUS server's challenge and a challenge for the RADIUS server.

The wireless AP forwards the EAP message to the RADIUS server in the form of a RADIUS Access- Request message.

  1. EAP Request from the RADIUS server (MS-CHAP v2 response and success)

The RADIUS server sends a RADIUS Access-Challenge message containing an EAP-Request message with the EAP-Type set to EAP-MS-CHAP v2, containing a response to the wireless client's challenge and an indication of the success of the wireless client's response to the RADIUS server's challenge.

The wireless AP forwards the EAP message to the wireless client.

  1. EAP-Response from the wireless client (MS-CHAP v2 acknowledgement)

The wireless client sends an EAP-Response message with the EAP-Type set to EAP-MS-CHAP v2, containing the MS-CHAP v2 Acknowledgement message, indicating that the RADIUS server's response to the wireless client's challenge is correct.

The wireless AP forwards the EAP message to the RADIUS server in the form of a RADIUS Access- Request message.

  1. EAP-Success from the RADIUS server

The RADIUS server derives the per-client unicast session key and the signing key from the keying material that is a result of the PEAP authentication process. Next, the RADIUS server sends a RADIUS Access-Accept message containing an EAP-Success message and the MS-MPPE-Send-Key and MS- MPPE-Recv-Key attributes to the wireless AP.

The wireless AP uses the key encrypted in the MS-MPPE-Send-Key attribute as the per-client unicast session key for data transmissions to the wireless client (truncated to the appropriate WEP key length). The wireless AP uses the key encrypted in the MS-MPPE-Recv-Key attribute as a signing key for data transmissions to the wireless client that require signing (truncated to the appropriate WEP key length).

The wireless client derives the per-client unicast session key (the same value as the decrypted MS- MPPE-Send-Key attribute in the RADIUS message sent to the wireless AP) and the signing key (the same as value as the decrypted MS-MPPE-Recv-Key attribute in the RADIUS message sent to the wireless AP) from the keying material that is a result of the PEAP authentication process. Therefore, both the wireless AP and the wireless client are using the same keys for both the encryption and signing of unicast data.

The wireless AP forwards the EAP-Success message to the wireless client. The EAP-Success message does not contain the per-station unicast session or signing keys.

  1. Multicast/global encryption key to the wireless client

The wireless AP derives the multicast/global encryption key by generating a random number or by selecting it from a previously set value. Next, the wireless AP sends an EAPOL-Key message to the wireless client containing the multicast/global key that is encrypted using the per-client unicast session key.

The Key field of the IEEE 802.1X EAPOL-Key message is RC4-encrypted using the per-client unicast session key and portions of the message are signed with HMAC-MD5 using the per-client unicast signing key.

Upon receiving the EAPOL-Key message, the wireless client uses the per-client unicast session key to verify the signed portions of the EAPOL-Key message and decrypt the multicast/global key. Next, the wireless LAN network adapter driver indicates the per-client unicast session key, the per-client unicast signing key, and the multicast/global key to the wireless LAN network adapter. After the keys have been indicated, the wireless client begins protocol configuration using the wireless adapter (such as using DHCP to obtain an IP address configuration).

When the wireless AP changes the multicast/global key, it generates and sends EAPOL-Key messages to its connected wireless clients. Each EAPOL-Key message contains the new multicast/global key encrypted with the particular wireless client’s per-client unicast session key.

Figure 10 shows the MS-CHAP v2 authentication process that occurs within the encrypted PEAP channel.