ISAP LAB 479EC08054



WIRELESS LAN SECURITY AND LABORATORY DESIGNS1. INTRODUCTION:We are designing a new course on 'Wireless Computing and Security', in which WLANs and related security issues are a major component. One of the goals in designing the course is to include practical hacking and defense laboratories in the course as student projects. To supplement studying of the theoretical fundamentals of wireless computing, it is desirable that students would be able to use simple hardware and software to set up WLANs and test the various hacking and defense methods. We have conducted a survey of the WLAN standards, their features and vulnerabilities. Another survey of security mechanisms for WLANs revealed that SSL(Secure Socket Layer),VPN (Virtual Private Networks), Cisco's LEAP(Lightweight EAP) and the new 802.11i protocols are viable protection methods that may be adopted to enhance WLAN security. Based on the two surveys, we then designed a sequence of labs thatuse simple hardware and software configurations to provide various test beds on which the vulnerabilities and security mechanisms of WLANs can be studied. The rest of the paper includes the result of our study and research, starting with a survey of the WLAN standards and their respective vulnerabilities, followed by discussions ofalternative protection mechanisms, and laboratory designs which provide various configurations of platforms for students to launch attacks and to implement security solutions in a closed WLAN. Appendix A contains a mini dictionary with common WLAN-related terminology.2. WIRELESS LANS:In general, a WLAN consists of a central connection point called the Access Point (AP). It is analogous to a hub or a switch in traditional star-topology-based wired LANs. The AP transmits data between different nodes of a WLAN and, in most cases, serves as the only link between the WLAN and the wired networks. IEEE has specified various WLAN standards, some of which are summarized below in Table 1StandardDescriptionApprovedIEEE 802.11Data rates up to 2Mbps in 2.4GHz ISM bandJuly 1997IEEE 802.11aData rates up to 54Mbps in 5GHz UNII bandSept 1999IEEE 802.11bData rates up to 11Mbps in 2.4GHz ISM bandSept 1999Table 1: IEEE WLAN StandardsThe security features provided in 802.11b standard are as follows:1) SSID (Service Set Identifier) SSID acts as a WLAN identifier. Thus all devices trying to connect to a particular WLAN must be configured with the same SSID. It is added to the header of each packet sent over the WLAN and verified by the AP. A client device cannot communicate with an AP unless it is configured with the same SSID. 2) WEP (Wired Equivalent Privacy) According to the 802.11 standard, WEP was intended to provide "confidentiality that is subjectively equivalent to the confidentiality of a wired local area network (LAN) medium that does not employ cryptographic techniques to enhance privacy". IEEE specifications for wired LANs do not include data encryption as a requirement. This is because approximately all of these LANs are secured by physical means such as walled structures and controlled entrance to buildings, etc. However no such physical boundaries can be provided in case of WLANs, thus justifying the need for an encryption mechanism. 3) MAC Address FiltersIn this case, the AP is configured to accept association and connection requests from only those nodes whose MAC addresses are registered with the AP. This scheme provides an additional security layer.3. VULNERABILITIES OF IEEE 802.11 WLANS:Ubiquitous network access without wires is the main attraction underlying wirelessnetwork deployment. Although this seems to be enough attraction, there exists other side of the picture. In this section, we discuss how WLANs could be vulnerable to a myriad of intrusion methods. 3.1 General Wireless Network Vulnerabilities:1) Invasion & Resource Stealing Resources in a network include access to various devices (such as printers and servers) and services (such as connectivity to an intranet or the Internet). To invade a network, the attacker will first try to determine the access parameters for that particular network. Hacking techniques such as MAC spoofing may be used to attack a WLAN. For example, if the underlying network uses MAC-address-based filtering of clients, all an intruder has to do is to find out the MAC address and the assigned IP address for a particular client. The intruder will wait till that client goes off the network and then start using the network and its resources while appearing as a valid user. 2) Traffic Redirection An intruder can change the route of the traffic and thus packets destined for a particular computer can be redirected to the attacking station.3) Denial of Service (DOS) Two types of DOS attacks against a WLAN can exist. In the first case, the intruder tries to bring the network to its knees by causing excessive interference. An example could be excessive radio interference caused by 2.4 GHz cordless phones. A more focused DOS attack would be when an attacking stations ends 802.11 disassociate message or an 802.1x EAPOL-logoff message (captured previously) to the target station and CCSC: Southeastern Conference effectively disconnects it (as in "Session Hijack" attacks). The later type of DOS attack is described in more detail in section.4) Rogue Access Points A rogue AP is one that is installed by an attacker (usually in public areas like shared office space, airports, etc.) to accept traffic from wireless clients to whom it appears as a valid Authenticator. Packets thus captured can be used to extract sensitive information, or for launching further attacks by, for example, modifying the content of the captured packet and re-insert it into the network.3.2 IEEE 802.11b Vulnerabilities:The above stated concerns relate to wireless networks in general. The security concerns raised specifically against IEEE 802.11b networks are as following:1) MAC Address Authentication: Such sort of authentication establishes the identity of the physical machine, not its human user. Thus an attacker who manages to steal a laptop with a registered MAC address will appear to the network as a legitimate user.2) One-way Authentication: WEP authentication is client-centered or one-way only. This means that the client has to prove its identity to the AP but not vice versa. Thus a rogue AP may successfully authenticate the client station and then subsequently will be able to capture all the packets sent by that station through it.3) Static WEP Keys: There is no concept of dynamic or per-session WEP keys in802.11b specification. Moreover the same WEP key has to be manually entered at all the stations in the WLAN, causing key management issues.4) SSID: Since SSID is usually provided in the message header and is transmitted in clear text format, it provides very little security. It is more of a network identifier than a security feature.5) WEP Key Vulnerability: WEP key based encryption was included to provide same level of data confidentiality in wireless networks as exists in typical wired networks. However a lot of concerns were raised later regarding the usefulness of WEP. Some of them are as following:a. Manual Key Management: Keys need to be entered manually on all the clients andAccess Points. Such key management overhead may result in WEP keys that are not changed frequently.b. Key Size: The IEEE 802.11 design community blames 40-bit RC4 keys for this andrecommends using 104 or 128-bit RC4 keys instead. Although using larger key sizedoes increase the work of an intruder, it does not provide completely secure solution.c. Initialization Vector (IV): IV is used to avoid encrypting two identical plain texts with the same key stream and thus result in the same cipher text. By combining a JCSC 19, 3 (January 2004) randomly generated IV with the key, the probability of two identical plain texts being encrypted into identical cipher texts is minimized. In WEP encryption the secret WEP key is combined with a 24-bit IV to create the key. RC4 takes this key as input and generates a key sequence equal to the total length of the plain text plus the IV. The key sequence is then XOR' ed with the plain text and the IV to generate the cipher text. According to findings reported in , the vulnerability of WEP roots from its initialization vector and not from its smaller key size. WEP is based on RC4 algorithm, which is a stream cipher algorithm. Two frames that use the same IV almost certainly use the same secret key and key stream. Moreover, since the IV space is very small, repetition is guaranteed in busy networks.d. Decryption Dictionaries: Infrequent re-keying and frames with same IV result inlarge collection of frames encrypted with same key streams. These are called decryption dictionaries. Therefore, even if the secret key is not known, moreinformation is gathered about the unencrypted frames and may eventually lead to theexposure of the secret key.3.3 IEEE 802.1x Protocol and Vulnerabilities:IEEE 802.1x is a port-based authentication protocol. There are three different types ofentities in a typical 802.1x network, including a supplicant, an authenticator and anauthentication server. To permit the EAP traffic before the authentication succeeds, adual-port model is used in IEEE 802.1x specifications. In an unauthorized (uncontrolled) state, the port allows only DHCP and EAP traffic to pass through.When applied to 802.11b, the 802.1x specification includes two main features: (1) logical ports and (2) key management. In the rest of this section we first discuss these two features, followed by a discussions of vulnerabilities unveiled by some researchers.3.3.1 Logical Ports:Unlike wired networks, wireless stations are not connected to the network by physicalmeans. They must have some sort of association relation with an AP in order to use the WLAN. This association is established by allowing the clients and the AP to know each other's MAC address. This combination of MAC address of the AP and that of the station acts as a logical port. This then acts as a destination address in EAPOL protocol exchanges. 3.3.2 Key Management:IEEE 802.1x specifications do not emphasize on using WEP key for encryption. This is because key information is passed from an AP to a station using EAPOL-Key message. Keys are generated dynamically, at a per-session basis. CCSC: Southeastern ConferenceTypical configuration of a WLAN using IEEE 802.1x is shown in Figure 1.Figure 1: IEEE 802.1x in 802.11 WLANsThe Supplicant authenticates with the Authentication Server by using EAPOL tocommunicate with the AP, which acts as the Authenticator. Messages are exchanged between the Supplicant and the Authenticator to establish the Supplicant's identity. The Authenticator then transfers the Supplicant's information to the Authentication Server using RADIUS. All communications between the Authentication Server and the Supplicant passes through the Authenticator using EAP over LAN (i.e., EAPOL) and EAP over RADIUS, respectively. This creates an end-to-end EAP conversation between the Supplicant and the Authentication Server.3.3.3 Vulnerabilities of 802.1x:Recent findings published by researchers from University of Maryland however,have unveiled design flaws and the resulting vulnerabilities in such integration of 802.1x with 802.11b.Twoof the vulnerabilities identified are 'absence of mutual authentication' and 'session hijacking', which we provide an overview below. For more technical details about the design flaws and other vulnerabilities, please consult the original publication. 1) Absence of Mutual Authentication Figure 2: Man-In-the-Middle Attack SetupAccording to 802.1x specifications, a Supplicant always trusts the Authenticator but not vice versa. Consider Figure 2. There is no EAP Request message originating from the Supplicant (the client). It only responds to the requests sent by the Authenticator (the AP). This one-way authentication opens the door for "MAN IN THE MIDDLE ATTACK". The EAP-Success message sent from the Authenticator to the Supplicant contains no integrity preserving information. An attacker can forge this packet to start the attack. 2) Session Hijacking With IEEE 802.1x, RSN (Robust Security Network) association has to take place before any higher layer authentication. Thus we have two state machines. One is classic 802.11 and the other is 802.1x based RSN state machine. Their combined action should dictate the state of authentication. However, due to a lack of clear communication between these two state machines and message authenticity, "Session Hijacking Attack" becomes possible. Figure 3: Session Hijack AttackConsider Figure 3. First of all, the supplicant and the authenticator (the AP) engage in the authentication process (steps 1 through 3), which results in the supplicant being authenticated. An attacker then sends a M A C - d i s a s s o c i a t e message using the AP's MAC address (step 4). The valid supplicant will disassociate when receiving the MAC-disassociate message. This causes the RSN state machine to transfer to the Un-Associated state. However, since this disassociate message was sent by the attacker (impersonating as the real access point),the real access point does not know about it. Thus the 802.11 state machine remains in Authenticated state for that particular client in the real AP. The attacker then gains network access using the MAC address of the authenticated supplicant (which is disassociated by now). 4. ALTERNATE SOLUTIONSGiven the reported vulnerabilities of IEEE 802.11 protocols, alternate protection methods must be adopted to offer the existing WLANs reasonable security. The new IEEE 802.11i protocol, which is currently under development, is supposed to remedy the vulnerabilities reported in 802.11b and 802.1x protocols. Readers who are interested in the development status of the new 802.11i protocol may refer to [1] and [6], or visit the IEEE 802 Standards site at for more information. Three alternative solutions for WLANs are discussed in this section: VPN, Cisco LEAP, and SSL.4.1 Virtual Private Networks (VPN)VPN technology provides the means to securely transmit data between two networkdevices over an insecure data transport medium [15]. VPN technology has been usedsuccessfully in wired networks especially when using Internet as a physical medium. This success of VPN in wired networks and the inherent security limitations of wireless networks have prompted developers and administrators to deploy VPN to secure WLANs. VPN works by creating a tunnel, on top of a protocol such as IP. VPN technology provides three levels of security:? Authentication: AVPN server should authorize every user who logged on at a particular wireless station trying to connect to the WLAN using a VPN client. Thus authentication is user based instead of machine based.? Encryption: VPN provides a secure tunnel on top of inherently insecure medium like the Internet. To provide another level of data confidentiality, the traffic passing through the tunnel is also encrypted.? Data authentication: It guarantees that all traffic is from authenticated devices.4.2 CISCO LEAP (Lightweight EAP):Cisco LEAP (aka EAP Cisco Wireless) supports strong mutual authentication betweena client and a RADIUS server. LEAP is a component of the Cisco Wireless Security Suite. Cisco introduced LEAP in December 2000 as a preliminary way to quickly improve the overall security of wireless LAN authentication. Cisco has addressed the above described 802.1x vulnerabilities with the LEAP and Cisco WEP enhancements, such as the message integrity check (MIC) and per packet keying. 1) Mutual Authentication between Client Station and Access Point As described in section 2, the problem of Rogue Access Points can be attributed to the one-way, client-centered authentication between the client and the AP. LEAP requires two-wayauthentication, i.e., a client can also verify the identity of the AP before completing the connection.2) Distribution of WEP Keys on a Per-session Basis As opposed to the static WEP Keys in 802.11b specifications, LEAP protocol supports the notion of dynamic session keys. Both the Radius Server and the client independently generate this key. Thus the key is not transmitted through the air where it could be intercepted. The attacker posing as the authenticated client will not have access to the keying material and will not be able to replicate the WEP session key. As a result, all frames sent to and from the attacker will be dropped. This effectively mitigates the 'Session Hijack' attack described earlier. 4.3 SSL (Secure Socket Layer):SSL is an application level protocol that enables secure transactions of data and reliesUpon public/private keys and digital certificates. When using SSL in WLAN environment, once a wireless client is communicating with an Access Point (using WEP), a user is NOT able to DO ANYTHING on the wireless connection until properly authenticated. This authentication is accomplished using the additional level of SSL security encryption. Since WEP alone does not ensure secure wireless communications, people are encouraged to use applications that provide encryption such as SSL-based secure websites. 5. LABORATORY DESIGNLaboratory designs presented below serves two purposes: 1) They provide various WLAN setup for students to launch attacks, by exploiting vulnerabilities discussed in sections 3.2 and 3.3; 2) The simple setups allow students to test the alternative protection solutions discussed in section 4.5.1 Desktop ComputersWhen designing the WLAN labs, we have used two Intel based desktop computers. Both of them are associated with the Access Point to create an Infrastructure based WLAN. One of them acts as a server hosting a program that generates sample data. It also acts as a VPN server and/or as an authentication server, etc., depending on the underlying method being employed in an experiment. The second computer acts as a client of VPN, LEAP or SSL, etc., again depending on the underlying method being employed in an experiment. A. Hardware Configuration:? Processor: Intel Pentium II 400MHz? RAM: 256MB? Network Adapter: Cisco Aironet 350 Series Wireless LAN AdapterB. Software Configuration? Operating System: Windows 2000 Professional? ACU (Aironet Client Utility): This utility comes with the Aironet card. It is used to perform user level diagnostics on the Cisco Wireless LAN adapter card. It allows us to upgrade firmware, view current device status, view current device statistics and perform a link test to assess the performance of RF link at various places. ? IPSU (IP Setup Utility):It is used to get the IP address of a wireless Ethernetdevice based on the device MAC ID. The user may also use this utility to setthe IP Address and the SSID if the device is still in the default state. 5.2 Laptop Computer:An Intel-based laptop is used as the attacking device used by a potential attacker trying to crack the WEP key in the WEP-enabled WLAN configuration (see Figure 4). Depending on the type of attacks, it usually hosts a hacking program, such as Air Snort (for cracking the WEP key).A. Hardware Configuration? Processor: Intel Pentium III 600MHz? RAM: 256MB? Network Adapter: Cisco Aironet 350 Series Wireless LAN PCMCIA AdapterB. Software Configuration of the laptop is the same as the desktop.5.3 Access Point:An AP is absolute necessity in wireless LANs running in Infrastructure mode. All traffic between the two computers in the wireless network has to pass through the AP.? Make and Model: Cisco Aironet 350 Series ? Data Rates Supported: 1, 2, 5.5, 11 Mbps? Network Standard: IEEE 802.11b? Uplink: Auto-Sensing 10/100BaseT Ethernet? Frequency Band: 2.4 to 2.497 GHz? Network Architecture: Infrastructure? Wireless Medium: Direct Sequence Spread Spectrum (DSSS)? Supports IEEE 802.1x-based Extensible Authentication Protocol (EAP) services that provide centralized, user-based authentication and single-user, single-session encryption keys? Supports Automatic channel selection, Cisco Discovery Protocol(CDP), DynamicHost Configuration Protocol(DHCP), and BOOTP services to simplify installationand management of WLAN infrastructures 5.4 Other Software Required:We have created a Java application, which is to be executed on the server side whentesting each of the security mechanism. For security testing and analysis, the server-side application continuously dumps data to the client. Alternatively, third-party network monitoring and analysis software, such as Net Perf and Chariot, may also be used. Some of these mechanisms will require additional software configurations in the AP, which may be achieved by using the Cisco client software setup (e.g., in case of WEP and LEAP) or alternatively by employing third party software. The set of third party software includes:? Airsnort utility for cracking of WEP key. (Currently widely used version of Airsnortis Linux based. If windows version could not be obtained then one of the desktopPCs would be installed with Linux operating system).? Radius (AAA) Server. This is an absolute requirement in the case of Cisco LEAPapproach and can also be used in the VPN approach.? VPN server and VPN clients for the VPN approach. Any shareware distribution ofVPN server and client can be used for this purpose.? SSL enabled client and server for the SSL based approach.5.5 Configuration of Labs:As discussed in section 4, there are three solutions suggested in response to the WEPVulnerability problems. WEP and 802.1x based configurations will be implemented in order to emphasize and practically demonstrate the vulnerability in these approaches. Various test configurations are discussed and illustrated below.Table 2 contains symbols and notations used in the lab design charts presented in thissection.Symbol/NotationMeaning------represents security control____represents data flow—?represents interceptions or attacks;SP(Server-side program) represents a Java program that exchangessample data with the client.Table 2: Legends used in Lab Design Charts1) WEP-based ApproachIn this approach, WEP keys willbe manually configured in both the desktops and the AP, in order to enable WEP-based encryption. As shown in Figure 4, the SP will generate sample data and send the data over to the client. The laptop, armed with hacking software, will try to break the WEP key.Figure 4: WEP-enabled Set-up2) IEEE 802.1x Based Approach Two types of attacks that may be launched against an 802.1x WLAN are 'Man-In-Middle' attacks and 'Session Hijack' attacks.Figure 5: Man-In-the-Middle Attack Set-up? Man-In-the-Middle AttackAs shown in Figure 5, "Man-In-the-Middle" attacks can be accomplished by using awireless computer or an AP as the attacking device.? Session Hijack As illustrated in Figure 6, a "session hijack" attack is launched by an attacker who sends a MAC disassociate message to a client to cause the client to disassociate from the AP. It then impersonates itself as the client. Without knowing the 'real' client having being disassociated, the AP accepts the attacker as the client without authentication. The attacker then gains access to resources originally granted to the valid client. Figure 6: Session Hijack Attack Set-up3) LEAP-based Approach In this approach one of the desktops will act as a RADIUS server, while the client will be configured to use LEAP (see Figure 7). The Cisco Access Point that we use is already LEAP-enabled, so no additional work needs to be done with the AP. Figure 7: LEAP-enabled Set-up4) VPN-based Approach In the VPN approach, the AP will be VPN-aware, i.e., it will only accept and forward VPN traffic to a desktop computer configured as a VPN server (and an optional AAA server). As shown in Figure 8, the second desktop computer will be installed withVPN client software, which communicates with the VPN server by passing through the AP.Figure 8: VPN-enabled Set-upAn alternate approach is to have the AP act as a VPN server. However this is not theApproach most widely used, primarily because of performance considerations. 5) SSL-based Approach As shown in Figure 9, one of the desktops will be configured as a server (such as a web server supporting HTTPS). The second desktop will act as a SSL client. Again all traffic must pass through the AP.Figure 9: SSL-enabled Set-up Alternatively, instead of using HTTPS, the client and the server may be set up as SSL Socket client and server, respectively. This approach is useful in application-to-application secure socket communications, which are not HTTP based. CCSC: 6. SUMMARY:In this paper, vulnerabilities associated with WLAN protocols were discussed, andcommon security solutions for those vulnerabilities were examined. Also proposed are design of laboratories for studying the vulnerabilities and security of WLANs, which are to be included in a 'Wireless Computing and Security' course. Future work related to WLAN security includes studying performance overhead associated with WLAN security solutions, by using the lab configurations proposed in section 5. Furthermore, the security and performance issues in an enterprise-grade hybrid wired/wireless network can be another interesting extension of this work. ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download