




























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























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.
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:
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:
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.
IEEE 802.11 defines the following types of authentication, discussed in the following sections:
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):
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):
Figure 3 WEP encryption process
WEP Decryption Process
To decrypt the 802.11 frame data, the following process is used (shown in Figure 4):
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.
In addition to WEP encryption, the following techniques are sometimes used to protect 802.11 wireless networks:
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 configuration is supported in the following versions of Windows:
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.
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.
IEEE 802.1X defines the following terms, as described in the following sections:
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:
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:
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 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
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:
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
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.
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.
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.
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:
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.
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.
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.
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.
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.
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.
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.
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.