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 05:14] – drio | ipw2200_generic [2008/05/09 23:55] – Even more spelling / "englishment" work. netrolller3d | ||
---|---|---|---|
Line 44: | Line 44: | ||
documents recommend to start [[http:// | documents recommend to start [[http:// | ||
There is another option: [[http:// | There is another option: [[http:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
Line 73: | Line 77: | ||
When I used [[http:// | When I used [[http:// | ||
- | We need the rtap0 up and running. | + | We need the rtap0 up and running. |
- | # | + | # |
- | # | + | |
+ | That's the method I would recommend. But, if you are using the latest version of airodump-ng (we'll use it in the next section) you can | ||
+ | tell the program to creat the rtap0 device for you: | ||
+ | |||
+ | # | ||
+ | |||
+ | We'll talk it in the next section. | ||
Ok, so we have verified that we have an ipw2200 card and that Linux can talk to it. | Ok, so we have verified that we have an ipw2200 card and that Linux can talk to it. | ||
Line 99: | Line 109: | ||
# ifconfig eth1 up hw ether 00: | # ifconfig eth1 up hw ether 00: | ||
+ | |||
+ | |||
+ | |||
+ | |||
===== Configure the wireless parameters ===== | ===== Configure the wireless parameters ===== | ||
Line 106: | Line 120: | ||
# iwconfig eth1 essid < | # iwconfig eth1 essid < | ||
- | We don't know the wep key of our target yet. This wouldn' | + | Due to some limitations with the firmware |
- | driver issues this has to be done to ensure the airdump-ng tools work properly. | + | |
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 116: | Line 131: | ||
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 on it. | + | 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 126: | Line 144: | ||
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 135: | Line 153: | ||
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 143: | Line 168: | ||
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 152: | Line 178: | ||
===== Send the arp request over and over ===== | ===== Send the arp request over and over ===== | ||
- | Finally we will send our newly created arp-request packet over and over. After this step you should see the " | + | Finally we will send our newly created arp-request packet over and over. After this step you should see the " |
- | terminal (airodump). If the data doesn' | + | were we had airodump-ng running. If the data doesn' |
# aireplay-ng -2 -r arp-request eth1 | # aireplay-ng -2 -r arp-request eth1 | ||
Line 162: | Line 188: | ||
- | ===== Wait to gather enough IVs ===== | ||
- | We have to wait now so airodump-ng gathers enough data (enough IVs) so we can run airocrack-ng. | ||
- | You may be wonder how many packages we need in order to run airocrack-ng. It depends. The version of | ||
- | airocrack-ng that comes with backtrack2 is not the lastest one. The latest version cracks wep faster and | ||
- | it doesn' | ||
+ | ===== Wait to gather enough IVs ===== | ||
+ | |||
+ | We have to wait now so airodump-ng gathers enough data (enough IVs) so we can run aircrack-ng. | ||
+ | How many packages we need so aircrack-ng cracks the wep key? It depends. The version of | ||
+ | aircrack-ng that comes with backtrack2 is not the latest one so we need around 1.000.000 of IVs. | ||
+ | If we are using the latest version (0.9 and up) 100.000 is enough. | ||
Line 178: | Line 205: | ||
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 immediately. |
+ | The -z argument tells aircrack-ng to also try the PTW attack. If you version of aircrack-ng doesn' | ||
+ | omit it. | ||
=== NOTE: === | === NOTE: === | ||
- | aircrack-ng can be run at the same time airodump-ng | + | aircrack-ng can run concurrently with airodump-ng. This is very interesting because it will |
- | allow you to check the number of IVs that airodump-ng has gathered. | + | allow you to check the number of IVs that airodump-ng has gathered. |
- | CTRL + C and wait for more packets | + | wait for more data to be gathered. |
ipw2200_generic.txt · Last modified: 2009/09/26 14:27 by darkaudax