IEEE 802.11 Networks and Windows XPUpdated: December 4, 2001
On This Page
IntroductionSupport for IEEE 802.11 has been added to Microsoft Windows XP as a solution for the security, configuration, and management issues that arise when an enterprise considers deploying a wireless network. This article provides information for engineers and driver developers about the changes that need to be made to IEEE 802.11 Access Points (APs) and NDIS drivers for IEEE 802.11 network adapters to support the additions to Windows XP. Note: To support security improvements discussed here, changes also need to be made to Remote Authentication Dial In User Service (RADIUS) servers. Deployment Issues with IEEE 802.11The issues that can arise when deploying an IEEE 802.11 wireless network can be broadly classified into three categories: user administration, key management, and security. User administration issues Integration with existing user administration tools (such as those for RADIUS and LDAP based directories) is required for ease of administration during wireless network deployment. One example of this integration would be the ability to create a user group enabled for wireless access. Once this is done, any user who is a member of the group is granted wireless access. Identification via user name is easier to administer in large network environments than the currently used MAC address identification mechanism. Identification by user name also provides a way to track data such as amount of use, accounting, and auditing through RADIUS. Key management issues Static keys are difficult to manage on stations (STAs) and APs. Also, proprietary key management solutions require separate user databases. Security issues with IEEE 802.11
Current IEEE 802.11 Security Options. Security options for IEEE 802.11 include authentication services and encryption services that are based on the WEP algorithm.
The lack of a WEP key-management protocol is a limitation to providing IEEE 802.11 security services, especially in a wireless infrastructure network mode with a large number of STAs. Lack of authentication and encryption services also impacts operation in a wireless ad hoc network mode. The current IEEE 802.11 security option for access control does not scale appropriately in large infrastructure network mode (corporate campuses and public places) and ad hoc network mode. In addition, lack of Inter Access Point Protocol (IAPP) further accentuates the key management issues when STAs roam from one to AP to another. Using IEEE 802.1X for Wireless AuthenticationThis section provides background information about how IEEE 802.1X can be used for wireless authentication using a RADIUS server for authenticating client credentials. IEEE 802.1X is a draft standard for port-based network access control, to provide authenticated network access for Ethernet networks. Port-based network access control utilizes the physical characteristics of the switched LAN infrastructure in order to provide a means of authenticating devices attached to a LAN port, and for preventing access to that port in cases where the authentication process fails. A LAN port, also denoted as a Port Access Entity, can adopt one of two roles in an access control interaction: supplicant or authenticator:
In addition, the authentication server performs the authentication function to check the supplicant's credentials on behalf of the authenticator. It then responds to the authenticator, indicating whether the supplicant is authorized to access the authenticators services. The authentication server may be separate entity or its functions may be co-located with the authenticator. The authenticators port-based access control defines two logical access points to the LAN via a single physical LAN port. The first logical access point, denoted as the uncontrolled port, allows uncontrolled exchange between the authenticator and other systems on the LAN regardless of the systems authorization state. The second logical access point, denoted as the controlled port, allows exchange between a system on the LAN and the authenticator services only if the system is authorized. An extension to the basic IEEE 802.1X protocol is required to allow a wireless access point to securely identify traffic of particular clients. This is done by passing an authentication key to the client and to the wireless access point as part of the authentication procedure. Only authenticated clients know the authentication key and the authentication key encrypts all packets sent by a client. Without a valid authentication key, an AP (authenticator) inhibits all traffic flow through it. When a wireless STA (supplicant) comes in range of a wireless AP, the following occurs:
Following authentication, the IEEE 802.1X protocol should be configured to request the STA to re-authenticate periodically, at a configurable time interval. A detailed procedure for the authentication process is given below:
Network Adapter Card RequirementsThe adoption of IEEE 802.11 in both infrastructure and ad hoc network modes can be greatly enhanced by reducing the complexity in network adapter configuration. It would be preferred that network adapter configuration is automated and completed without extensive user intervention. The key configuration issues that require resolution are:
In addition to the configuration issues listed above, the IEEE 802.11 network adapter will include the following enhancements:
NDIS ChangesThis section outlines the changes made to Network Device Interface Specification (NDIS) support in Windows XP to support the network adapter requirements listed in the previous section. Complete information about NDIS changes is provided in the Windows DDK. The machine name will be passed to network adapter driver during startup. Some network adapters and APs use this information for various management purposes. The power mode state will be passed to network adapter driver during startup and whenever the state changes. At the minimum, a transition to AC setting or to battery setting will be indicated to the network adapter driver. NDIS will call the miniports PnPEventNotifyHandler() initializing or setting the miniport to power state D0 and when the power profiles changes. The PnP Event will be NdisDevicePnPEventPowerProfileChanged and the InformationBuffer will point to an ULONG containing the following: NDIS OIDsA number of new object identifiers (OIDs) are required from the IEEE 802.11 NDIS miniport driver to enable the new functionality described earlier. These OIDs will be available via Windows Management Instrumentation (WMI). The miniport is required to support these OIDs; however, the call may fail if the network adapter hardware does not support the associated functionality. The following table provides a summary of the WLAN-dependent wireless objects:
The NDIS types used with these WLAN OIDs are described in the Windows DDK. SSID Association Requirement/AlgorithmThe network adapter must install by default with no network name configured, following this algorithm:
Setting the SSID or a call to OID_802_11_INFRASTRUCTURE_MODE will reset this association requirement/algorithm. Access Point RequirementsIn order to incorporate security services into APs, additional requirements are needed for IEEE 802.1X, SSID to EAP-Identity text, and RADIUS support. These requirements are described in detail in this section. SSID to EAP-Identity TextThe IEEE 802.11 SSID should be copied into the EAP-Identity/Request message field. RADIUS SupportThe RADIUS client in the AP should implement retransmission of lost packets. In a high loss or high interference environment, using EAP-TLS that goes through many rounds of data exchange, the RADIUS client should implement retransmissions based on a timeout that can be changed based on network characteristics. This also requires that the RADIUS server keeps state and is able to account for retransmissions. The RADIUS client in the AP should also implement fail-over protection to increase the robustness of RADIUS client access to the RADIUS server. This can be done by enabling the RADIUS client to direct its transactions to alternate RADIUS servers if the primary one should fail, which would eliminate a single point of failure. The WEP key can be configured into the AP or can be generated by the AP using a random number generator. If the same WEP key is configured into multiple APs, the AP can authenticate an STA immediately after it performs IEEE 802.11 authentication. IEEE 802.1X enables a more scalable and manageable access control mechanism. By adding a new IEEE 802.1X message, the EAP over LAN (EAPOL) key could be sent from the AP to the STA once IEEE 802.1X authentication has succeeded. This message contains a WEP key that can be used to generate the encryption key used by IEEE 802.11. However, the use of this message requires an EAP authentication method such as EAP-TLS. The RADIUS server will generate a per-session encryption key. This per-session encryption key is used to encrypt the WEP key. The RADIUS server passes the per-session encryption key to the AP in the success message. The encrypted WEP key will be transmitted from the AP to the STA. STAs and APs, when using IEEE 802.1X and WEP, allow encrypted and non-encrypted traffic to be received as specified in the IEEE 802.11 standard. If WEP key distribution is enabled, then AP should perform a further check; the AP should drop all unencrypted non-IEEE 802.1X traffic. It is recommended that APs perform this additional filtering to enhance the security level beyond MAC address filtering. WEP AuthenticationIf multiple APs are configured with the same WEP key, then the AP can implement an additional optimization. The network adapter should attempt to perform an IEEE 802.11 authentication using the WEP key obtained from the old AP as the shared key. If this succeeds, then the AP should immediately add the STA to the authenticated list. If the authentication fails, the network adapter will use open system authentication to the AP, and a complete IEEE 802.1X authentication will occur. The AP is required to be able to discern whether a STA used open system authentication or performed a shared key authentication. In the event the STA gains access to the new AP via the shared key authentication, the IEEE 802.1X authentication will still be initiated by the new AP to update accounting records. Enabling the STA network connectivity via shared key authentication while the new AP executes IEEE 802.1X ensures that the STA does not experience network connectivity interruption. However, if the STA does not successfully complete IEEE 802.1X authentication with the new AP, the network connectivity to the STA via the controller port on the AP will be terminated, ensuring network security. EAPOL-KeyThis message is only for IEEE 802.11 networks and allows the wireless AP to send one or more WEP keys from the AP to the STA. A single global WEP is required for each AP to support privacy; this can be generated at random by the access point, or it can be configured in some manner and passed to an STA via the EAPOL-Key message. The AP should use two global keys, alternating between them as the global key is changed. APs are allowed to send an EAPOL-Key message at any time after authentication to update the WEP keys at the STAs. The per-STA unicast session key is derived by reusing the keys used for user authentication per RFC 2548, which defines the Microsoft vendor attributes the RADIUS server sends to the RADIUS client in the AP. Note that the Microsoft vendor ID is 311. The AP might send the WEP key for data transmissions from the STA to the AP. However, the AP might not send the WEP key. In such a scenario, the STA will use the MS-MPPE-Send-Key as the WEP key for data transmissions from the STA to the AP. Moving between Access PointsWhen moving between APs, the previous AP address is passed to the new AP by the STA. If the APs do not offer inter-AP interaction support, then the STA will be re-authenticated to the new AP by an EAP-Start message from the AP. However, an IAPP can be defined to allow the new AP to obtain the authentication information from the old AP and send a new EAPOL-Key message to the STA with a new set of WEP keys. IAPP should also transfer to the new AP enough of the RADIUS server account information for the new AP to continue the same account records rather than start a new account record. Call to Action
|