ipw2200_generic
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
ipw2200_generic [2007/08/29 18:41] – drio | ipw2200_generic [2007/08/29 19:01] – ptw attack drio | ||
---|---|---|---|
Line 122: | Line 122: | ||
ESSID is the name of the wireless network of our target AP. Channel is the wireless channel. | ESSID is the name of the wireless network of our target AP. Channel is the wireless channel. | ||
+ | |||
Line 129: | Line 130: | ||
In another window, we start collecting data: | In another window, we start collecting data: | ||
- | # airodump-ng --bssid <AP MAC> -w dump rtap0 | + | # airodump-ng |
Notice how we use rtap0 as a input interface. Also, all these commands we are going to be running generate output files. So it is a good idea | Notice how we use rtap0 as a input interface. Also, all these commands we are going to be running generate output files. So it is a good idea | ||
to create a new directory and to run all of them from there. | to create a new directory and to run all of them from there. | ||
+ | |||
+ | As we said before, if you are running the latest version of airodump-ng, | ||
+ | |||
Line 139: | Line 143: | ||
Now it is time to do some injection. In a new window we will launch the chopchop attack: | Now it is time to do some injection. In a new window we will launch the chopchop attack: | ||
- | # aireplay-ng -4 -a <AP MAC> -h 00: | + | # aireplay-ng -4 -a <AP MAC> -h 00: |
Note the modifier "-i rtap0." | Note the modifier "-i rtap0." | ||
Line 148: | Line 152: | ||
Make sure there are no errors reported after using aireplay. If the attack doesn' | Make sure there are no errors reported after using aireplay. If the attack doesn' | ||
vulnerable to the chopchop attack. I also received an error stating the checksum didn't match. I just re-ran aireplay and it was fine. | vulnerable to the chopchop attack. I also received an error stating the checksum didn't match. I just re-ran aireplay and it was fine. | ||
+ | |||
+ | If the attack fails, try to rerun the command again ommiting the "-h <AP MAC>" | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 156: | Line 167: | ||
Now we will create an arp-request packet using the aquired keysteam file. The " | Now we will create an arp-request packet using the aquired keysteam file. The " | ||
- | They can be any valid IP. The destination | + | If you use valid destination |
- | in the same window we run the chopchop attack: | + | we run the chopchop attack: |
- | # packetforge-ng -0 -a <AP MAC> -h 00: | + | # packetforge-ng -0 -a <AP MAC> -h 00: |
Line 170: | Line 181: | ||
# aireplay-ng -2 -r arp-request eth1 | # aireplay-ng -2 -r arp-request eth1 | ||
+ | |||
Line 182: | Line 194: | ||
We have to wait now so airodump-ng gathers enough data (enough IVs) so we can run airocrack-ng. | We have to wait now so airodump-ng gathers enough data (enough IVs) so we can run airocrack-ng. | ||
How many packages we need so airocrack-ng cracks the wep key? It depends. The version of | How many packages we need so airocrack-ng cracks the wep key? It depends. The version of | ||
- | airocrack-ng that comes with backtrack2 is not the lastest one. There have been a lot of improvements in recent versions | + | airocrack-ng that comes with backtrack2 is not the lastest one so we need around 1.000.000 |
- | that have reduced | + | If we are using the latest version (0.9 and up) 100.000 |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
Line 195: | Line 202: | ||
In another window we launch: | In another window we launch: | ||
- | # aircrack-ng dump*.cap | + | # aircrack-ng |
Depending the number of packages you have gathered, this may take some minutes or you may get the key inmediately. | Depending the number of packages you have gathered, this may take some minutes or you may get the key inmediately. | ||
+ | The -z argument tells aircrack-nt to try a ptw attack also. If you version of aircrack-ng doesn' | ||
+ | ommit it. | ||
=== NOTE: === | === NOTE: === |
ipw2200_generic.txt · Last modified: 2009/09/26 14:27 by darkaudax