Saturday, October 29, 2011

How to crack Wifi WEP password in simple steps.

Hello friends. Many of you must be aware of the technique I will discuss here as it is not new and you will find hundreds of results on google about it. Even there are lots of cool youtube videos floating around on how to crack the WEP keys of a wifi network. Wardriving is fun but dont make it illegal. There was a critical aspect missing in almost every tutorial I read.

All the tutorials and videos on WEP cracking feature BackTrack as some magical tool which on  executing some commands give you the WEP password. But its not the truth. Many wannabe hackers simply follow the video without even giving a thought to what they are doing. There is just a simple point that people forget is the use of wireless cards. When you are trying to break a WEP key then you will need a special wireless card which can inject packets into the router of the target wifi. The normal wireless cards available in our laptops are not capable of doing it. So the hardware is a critical pont. One of the most commonly used packet injection capable wireless card is  Alfa AWUS036H card from Alfa Networks as BackTrack supports this easily. This is available on for a retail price of $34( hope you might have got the answer why you failed when you followed all steps properly). Rest all is same as the normal steps you follow. for those who are new to WEP cracking, here is the complete tutorial.

 Before you start , There are 2 primary requirements : Compatible Wireless card(I discussed above) and Backtrack live CD. Lets proceed with the steps.

 To crack WEP, you'll need to launch Konsole, BackTrack's built-in command line.

First run the following to get a list of your network interfaces:


The only one I've got there is labeled ra0. Yours may be different; take note of the label and write it down. From here on in, substitute it in everywhere a command includes (interface).

Now, run the following four commands. See the output that I got for them in the screenshot below.

airmon-ng stop (interface)
ifconfig (interface) down
macchanger --mac 00:11:22:33:44:55 (interface)
airmon-ng start (interface)

Now it's time to pick your network. Run:

airodump-ng (interface)

To see a list of wireless networks around you. When you see the one you want, hit Ctrl+C to stop the list. Highlight the row pertaining to the network of interest, and take note of two things: its BSSID and its channel (in the column labeled CH), as pictured below. Obviously the network you want to crack should have WEP encryption (in the ENC) column, not WPA or anything else.

Like I said, hit Ctrl+C to stop this listing. (I had to do this once or twice to find the network I was looking for.) Once you've got it, highlight the BSSID and copy it to your clipboard for reuse in the upcoming commands.

Now we're going to watch what's going on with that network you chose and capture that information to a file. Run:

airodump-ng -c (channel) -w (file name) --bssid (bssid) (interface)

Where (channel) is your network's channel, and (bssid) is the BSSID you just copied to clipboard. You can use the Shift+Insert key combination to paste it into the command. Enter anything descriptive for (file name). I chose "yoyo," which is the network's name I'm cracking.

You'll get output like what's in the window in the background pictured below. Leave that one be. Open a new Konsole window in the foreground, and enter this command:

aireplay-ng -1 0 -a (bssid) -h 00:11:22:33:44:55 -e (essid) (interface)

Here the ESSID is the access point's SSID name, which in my case is yoyo. What you want to get after this command is the reassuring "Association successful" message with that smiley face.

You're almost there. Now it's time for:

aireplay-ng -3 -b (bssid) -h 00:11:22:33:44:55 (interface)

Here we're creating router traffic to capture more throughput faster to speed up our crack. After a few minutes, that front window will start going crazy with read/write packets. (Also, I was unable to surf the web with the yoyo network on a separate computer while this was going on.) Here's the part where you might have to grab yourself a cup of coffee or take a walk. Basically you want to wait until enough data has been collected to run your crack. Watch the number in the "#Data" column—you want it to go above 10,000. (Pictured below it's only at 854.)

Depending on the power of your network , this process could take some time. Wait until that #Data goes over 10k, though—because the crack won't work if it doesn't. In fact, you may need more than 10k, though that seems to be a working threshold for many.

Once you've collected enough data, it's the moment of truth. Launch a third Konsole window and run the following to crack that data you've collected:

aircrack-ng -b (bssid) (file name-01.cap)

Here the filename should be whatever you entered above for (file name). You can browse to your Home directory to see it; it's the one with .cap as the extension.

If you didn't get enough data, aircrack will fail and tell you to try again with more. If it succeeds, it will look like this:

The WEP key appears next to "KEY FOUND." Drop the colons and enter it to log onto the network.
The process may seem to be straightforward but it requires lot of patience and practice. I dont know how the guys in youtube videos do it in a single go. But its not at all difficult. You will enjoy testing it.
Special Thanks Lifehacker.


Special Thanks to John(admin) : TO know the packet injection capability of your wireless card you can use aircrack-ng tool.



  1. could you explain How to verify the compatibility of wireless cards.?

  2. @srinivas : this is a very interesting question you asked..i never paid attention to it..well I found a complete list of wireless cards that will support injection through aircrack -ng ..follow this link

  3. Please add your sources. The source is vivek's video series!
    So please give due credit!!!
    Here's the ACTUAL Tutorial!!

  4. @firesofmay: please make a note that there are hundreds of tutorials available on this issue. Its not only Vivek's video series..I have already given the credit to my source. Hope this solves your uncredited query.

  5. @Srinivas (its me bro john )

    @abhinav sing
    First a fall thanks for the tut

    There's a aircrack-NG tool (airdriver-ng )this tool can be used to check your cards packet injection capabilities

  6. @John : thanks alot for this valuable information...I will update it in this post.. :)


  8. Where do you get this Konsole from?

  9. It's a great pleasure reading your post. Its full of information I am looking for and I love to post a comment that “The content of your post is awesome”. Great work.
    look convert avi to mp4

  10. You can learn to crack wifi web password. It has been useful reading the article

  11. also see my blog to see more tricks and tips
    nd i have also learn how to wifi password with get more speed

  12. Genuinely good thanks, I do believe your trusty audience would probably want a great deal more blog posts of this nature maintain the good hard work.

  13. is it possible for the victim to find who is doing it and find the persons IP or even their MAC address.

  14. I simply wanted to type a comment to be able to appreciate you for those fabulous items you are showing at this site. My extended internet look up has now been rewarded with reputable facts and techniques to share with my guests. I‘d believe that many of us website visitors are extremely endowed to dwell in a wonderful place with very many lovely individuals with very helpful tips and hints. I feel very happy to have seen your website and look forward to many more brilliant times reading here. Thank you once more for everything.
    computer tracking

  15. thank you for share so many useful tools. refer to video converting tool, I use iVideotool Video Converter for year, it work well.