![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#31 (permalink) | |
|
Registered Member
Join Date: Apr 2004
Posts: 17
|
Quote:
|
|
|
|
|
|
#33 (permalink) | |
|
Macaca
Join Date: Sep 2002
Location: S. Florida
Posts: 1,056
|
Quote:
|
|
|
|
|
|
#34 (permalink) |
|
Registered Member
Join Date: Jun 2004
Posts: 67
|
Example of use
For those who haven't yet succeed cracked the wep key just 2 tips:
1) First you must know if you need --fcs or not. It depends on the chipset of the card that was used to capture the packets and the drivers used. To most simple way to know if you need --fcs or not is just trying both ways with --debug key. Supose that your real key is 00:11:22:33:44:55:66:77:88:99:00:AA.BB:CC Then just do this: ./weplab --debug 1 --debugkey 00:11:22:33:44:55:66:77:88:99:00:AA.BB:CC: -r ./pcap.log ./pcap.log and this: ./weplab --debug 1 --debugkey 00:11:22:33:44:55:66:77:88:99:00:AA.BB:CC: --fcs -r ./pcap.log ./pcap.log You will see KeyCracked in the right command. Please note that you must not write the last byte of the key in --debugkey due to a programming error. You can try decreasing the number of bytes in --debugkey and see if the key gets cracked finally. 2) Increase the default probability for candidate bytes selection (v0.0.2-alpha). By default 40% probability is used. In the output that weplabs gives you when using --debugkey, you will see the candidate keys selected for each keybyte, together with the probability of each one. BYTE-SELECTED (PROBAB.), BYTE-SELECTED (PROBAB.) You can check if your real keybytes are the first ones. If in one keybyte is the second one, and the probability of the first one is greater than 40% the second one (the real one in this example) will never be tested. Thats why if your key does not get cracked with the default probability you can increase it to 70% (for example) with --perc 70 Of course if you are doing a real test and you dont know the real key you must use the try-error method. A good tip is trying first with the default one and then trying with 65%. If you know the key and it is not cracked with 40% you can inspect the output given by --debugkey and see what was the keybyte that failed and calculate how much do you have to increase the default probability to crack the key. Hope that this helps. |
|
|
|
|
#36 (permalink) |
|
Registered Member
Join Date: Jun 2004
Posts: 67
|
why do we put the file twice?
To help you to save disk space. The file parameter next to the -r is the one that has the weak packets. For this file only the bytes until the end of the IV (Initival Vector= first 4 bytes after de 80.11 header) must be present. So in order to save space you can use --caplen for the capture session, to just save a custom number of bytes for each packet.
The other file parameter is the one that has at least 10 wep data encrypted packets for key testing purposes. All the bytes of these packets must be logged, because the CRC is at the end of the payload and is needed for the key testing procedure. But if you dont mind the diskspace you can just use --caplen 0, so all packet's bytes will be saved. Then you specify the packets twice for the FMS attack, one for the weak packets and another one for the verifications packets. That's why in the example we put the file twice I thinks it is a good idea |
|
|
|
|
#38 (permalink) | |
|
Registered Member
Join Date: Apr 2004
Posts: 17
|
Quote:
that's interesting, but even if you cut it down to 80 there will be more than 10 packets that also include the crc, simply because some arp packets came along. what's the shortest caplen you can use? 24 (24bit of the IV)? |
|
|
|
|
|
#39 (permalink) |
|
Registered Member
Join Date: Jun 2004
Posts: 67
|
kleptophobiac: send me a pm. with all the output of the command
./weplab --debug 1 --debugkey FF:AA:FF:AA:FF: --prismheader -r ./pcap.log ./pcap.log I guess that the problem you have is related to the format you have captured the packets. Could you leave an small (5 MB) pcap capture file somewhere (website, ftp or something) so I can download it and check that the hell is happening x) firefighter99: that's right --caplen truncates all the packets to this size maximun. To calcule the minimun size to capture the IV you have to take into account also the 802.11 headers. |
|
|
|
|
#40 (permalink) |
|
Registered Member
Join Date: Sep 2002
Posts: 310
|
I don't have the big file available at the moment to run the command on... but here's the small file.
http://home.insightbb.com/~kleptophobiac/small.tar.bz2 |
|
|
|
|
#42 (permalink) | |
|
Registered Member
Join Date: Sep 2002
Posts: 310
|
Quote:
|
|
|
|
|
|
#44 (permalink) |
|
Registered Member
Join Date: Jun 2004
Posts: 67
|
New version
New alpha version 0.0.3 available in www.sourceforge.net/projects/weplab
It fixes problems with --prismheader, among other things (see Changelog) Enjoy it ![]() |
|
|
|
|
#45 (permalink) |
|
Registered Member
Join Date: Jun 2004
Posts: 67
|
Stupid error in 0.0.3
I'm sorry, I made an stupid mistake in release 0.0.3-alpha, so prismheader still does not work.
Version 0.0.4-alpha that fixes the error is available I tested kleptophobiac's file with this new version and it works fine (finally!) Last edited by topolb : 06-15-2004 at 02:52 AM. |
|
|