Home > Linux > How to crack a WEP encrypted wireless network

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:

  1. Make sure your wireless network card works well on linux. If u have questions, please visit wiki of your linux distro.
  2. 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:

  1. Open the monitor function of your NIC through this command: airmon-ng start <interface>. then it should look like this:
  2. Start to capture data steam, airodump-ng <interface>
  3. Wait for a while, untill some APs and  associated clients show up. Then u can choose a target to hack
  4. 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:

  1. 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.
  2. Just wait & enjoy
Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Live

Linux

  1. December 4th, 2008 at 22:50 | #1

    Wow!
    I’m getting to test it on ubuntu in this weekend. ;)

  1. No trackbacks yet.
You must be logged in to post a comment.