Newbie Guide:- How to crack a WEP key, step by step. By another newbie.

If this is your first visit, be sure to
check out the Forum Rules by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Newbie Guide:- How to crack a WEP key, step by step. By another newbie.

Hi

I have downloaded the latest BT and finally figured out how to crack a WEP key. Thought i'd post my routine for anyone else who might be having trouble.

BTW, i'm a complete newbie to BT and any Linux related stuff, but will be hoping to change that.

OK, first off some quick info on my specs. Acer Laptop (CeleronM) with built in Atheros 5005 wireless.

1. Fire up Kismet and find the AP you wanna access, sort the listed AP's by using "S" then "C". Then select your AP, hit "Enter" to get any info you may need from it (MAC Address, WEP, Channel etc.) Then press "q" to come out of that details screen, and with my AP select type "L"(capital) which as far as i can see makes your card lock onto that AP.

2. Open a console screen, then enter the following command to launch AiroDump which will "sniff" the packets about you.

Command = "airodump-ng -w capture -c 6 ath0"

OK, "airodump-ng" is the program itself.
"-w capture" Gets it to write the sniffed packets to a file called "capture.cap".
"-c 6" Makes the program ONLY sniff on channel 6.
"ath0" The name of my wireless card.

Leave that running, and keep an eye on the MAC address of your desired AP and the packets/data increasing (the Data is the IV's)

3. Open another console to be used to make AirePlay perform a DE-AUTH attack on a specific machine connected to that AP. This should make that specific machine disconnect and reconnect to the AP, and in the process make it send data to the AP which will include the WEP key.

"aireplay-ng" is the program itself
"-e DLINK" is the name of the SSID of the target AP.
"-a 00:11:22:33:44:55" is the MAC address of the target AP.
"-c 66:77:88:99:00:AA" is the MAC address of the target machine connected to that AP (you should be able to find any machines connected to the AP from looking at the info in AiroDump).
"--deauth 10" The type of attack we're performing, in this case it's the DEAUTH attack repeated 10 times.
"ath0" The name of my wireless card.

Have that command ready to go, but don't do it yet.

4. Open another console screen, and again we're going to use AIREPLAY, but this time it's going to capture some packets that might contain any IV data, then keep repeating to pump this info to the AP by "pretending" to be the target machine that the other instance of Aireplay performed the DEAUTH attack on.

"aireplay-ng" Name of the program.
"--arpreplay" Is the function of aireplay you are trying to perform, in this case it's a replay of a ARP request, which will contain IV data.
"-b 00:11:22:33:44:55" MAC address of the target AP.
"-h 66:77:88:99:00:AA" MAC address of the target machine connected to that AP.
"ath0" Name of my wireless card.

Right, run that command, and you should see it searching for packets.

Fire off the previous command to initiate the DEAUTH attack, then switch back to the aireplay replay screen. And you should see it detect a deauth/discon of a machine, then it capture that packet, and start repeating to pump it back to the AP by pretending to be the target machine.

Flick over to airodump screen, and HOPEFULLY it should have lots of DATA or IV packets coming through.

You can close down the DEAUTH screen of aireplay now, and then let the other one keep replaying that packet until you feel you have enough packets to crack it, or just start the crack whilest more packets keep flooding through.

5. Open the FINAL console screen which will be used to run AirCrack which will scan the captured packets from AiroDump.

Command = "aircrack-ng -f 4 -m 00:11:22:33:44:55 -n 64 capture.cap

"aircrack-ng" Name of the program.
"-f 4" Run the Fudgefactor 4 times (hehe, i have no idea what this is but apparently increase the fudgefactor to have a better chance of finding the key, but will take longer the higher the number".
"-m 00:11:22:33:44:55" MAC address of the target AP, so your not searching packets of AP's that you don't wanna crack.
"-n 64" The amount of bits in the key, in this case it's 64, but theres also 128 etc.
"capture.cap" Name of the capture file being created by AiroDump.

Fire it off, and depending on how quick your machine is, how many IV's you've capped or what bit your key is (in my case only 64) and BINGO! It finds the key.

I tested this on my home AP so i already knew the key, and only used one laptop.

Am sure i've got some terms wrong, or could do it more efficently, but this worked for this newbie, and i'm a very happy chap.

deauth problems...

Damn I still cannot deauth, this is so frustrating!!!!!!!!! I feel like I've run every command known to man but it won't work! Please somebody, anybody, please help! I have an atheros card, and am running auditor 200605-02-no-ipw-2001.

thanks

Damn I still cannot deauth, this is so frustrating!!!!!!!!! I feel like I've run every command known to man but it won't work! Please somebody, anybody, please help! I have an atheros card, and am running auditor 200605-02-no-ipw-2001.

Yes, problem solved! I got rid of that damned auditor and d/l-ed BT Beta, and low and behold, problem solved, works like a charm.