Hacking Techniques in Wireless Networks

Prabhaker Mateti

Department of Computer Science and Engineering
Wright State University
Dayton, Ohio 45435-0001

This article is scheduled to appear in “The Handbook of Information Security”, Hossein Bidgoli (Editor-in-Chief), John Wiley & Sons, Inc., 2005.

1.    Introduction. 2

2.    Wireless LAN Overview.. 3

2.1        Stations and Access Points. 3

2.2        Channels. 4

2.3        WEP. 4

2.4        Infrastructure and Ad Hoc Modes. 4

2.5        Frames. 4

2.6        Authentication. 5

2.7        Association. 6

3.    Wireless Network Sniffing. 7

3.1        Passive Scanning. 7

3.2        Detection of SSID.. 8

3.3        Collecting the MAC Addresses. 8

3.4        Collecting the Frames for Cracking WEP. 8

3.5        Detection of the Sniffers. 9

4.    Wireless Spoofing. 10

4.1        MAC Address Spoofing. 10

4.2        IP spoofing. 10

4.3        Frame Spoofing. 11

5.    Wireless Network Probing. 11

5.1        Detection of SSID.. 12

5.2        Detection of APs and stations. 12

5.3        Detection of Probing. 12

6.    AP Weaknesses. 12

6.1        Configuration. 12

6.2        Defeating MAC Filtering. 13

6.3        Rogue AP. 13

6.4        Trojan AP. 13

6.5        Equipment Flaws. 13

7.    Denial of Service. 14

7.1        Jamming the Air Waves. 14

7.2        Flooding with Associations. 14

7.3        Forged Dissociation. 14

7.4        Forged Deauthentication. 15

7.5        Power Saving. 15

8.    Man-in-the-Middle Attacks. 15

8.1        Wireless MITM... 16

8.2        ARP Poisoning. 16

8.3        Session Hijacking. 17

9.    War Driving. 17

9.1        War chalking. 17

9.2        Typical Equipment 18

10.       Wireless Security Best Practices. 19

10.1      Location of the APs. 19

10.2      Proper Configuration. 19

10.3      Secure Protocols. 20

10.4      Wireless IDS. 20

10.5      Wireless Auditing. 21

10.6      Newer Standards and Protocols. 21

10.7      Software Tools. 21

11.       Conclusion. 22

GLOSSARY.. 23

Cross References. 24

References. 24

Further Reading. 25

 

Key Words

IEEE 802.11, wireless spoofing, cracking WEP, forged Deauthentication, rogue/ Trojan access points, session hijacking, war driving.

Abstract

This article describes IEEE 802.11-specific hacking techniques that attackers have used, and suggests various defensive measures. We describe sniffing, spoofing and probing in the context of wireless networks.  We describe how SSIDs can be determined, how a sufficiently large number of frames can be collected so that WEP can be cracked.  We show how easy it is to cause denial-of-service through jamming and through forged disassociations and deauthentications.  We also explain three man-in-the-middle attacks using wireless networks.  We give a list of selected open-source tools.  We summarize the activity known as war driving.  We conclude the article with several recommendations that will help improve security at a wireless deployment site.

1.  Introduction

Wireless networks broadcast their packets using radio frequency or optical wavelengths.  A modern laptop computer can listen in.  Worse, an attacker can manufacture new packets on the fly and persuade wireless stations to accept his packets as legitimate. 

We use the term hacking as described below.

hacker n. [originally, someone who makes furniture with an axe] 1. A person who enjoys exploring the details of programmable systems and how to stretch their capabilities, as opposed to most users, who prefer to learn only the minimum necessary. 2. One who programs enthusiastically (even obsessively) or who enjoys programming rather than just theorizing about programming. 3. A person capable of appreciating hack value. 4. A person who is good at programming quickly. 5. An expert at a particular program, or one who frequently does work using it or on it; as in `a Unix hacker'. (Definitions 1 through 5 are correlated, and people who fit them congregate.) 6. An expert or enthusiast of any kind. One might be an astronomy hacker, for example. 7. One who enjoys the intellectual challenge of creatively overcoming or circumventing limi