NetStumbler.org Forums

Go Back   NetStumbler.org Forums > Software > Unix/Linux
Register Search Today's Posts Mark Forums Read

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 08-17-2004   #31 (permalink)
devine
Emergence
 
Join Date: Jul 2004
Location: Paris
Posts: 389
Ok, I think I got it. My implementation of KoreK's attacks works pretty well when the IVs are randomly distributed, but it somewhat fails when the IVs are linearly distributed. I'll see how to improve the code and make it work in such cases.

post-edit: looks like chopper fails too when the IVs are linearly distributed.

Last edited by devine : 08-19-2004 at 01:41 PM.
devine is offline  
Old 08-17-2004   #32 (permalink)
Kronk
Registered Member
 
Join Date: Jul 2004
Posts: 13
I've not had success using chopper on any of my packet captures. Aircrack gets the key, but chopper fails with every dump. Could be because I am using Linux on a Powerbook and there may be endian issues with chopper on the PowerPC.
Kronk is offline  
Old 08-17-2004   #33 (permalink)
KoreK
Banned in DC
 
KoreK's Avatar
 
Join Date: Jul 2004
Posts: 102
Well, I know some of the code is big-endian. Change line 795 of chopper.c to
v=0x00010203
The rest should work ok, unless I remember some other smart-ass "optimizations"...
KoreK is offline  
Old 08-17-2004   #34 (permalink)
devine
Emergence
 
Join Date: Jul 2004
Location: Paris
Posts: 389
Quote:
Originally Posted by Kronk
I've not had success using chopper on any of my packet captures. Aircrack gets the key, but chopper fails with every dump. Could be because I am using Linux on a Powerbook and there may be endian issues with chopper on the PowerPC.
Yeah, could be. Anyway, I found a bug in chopper that may very well have caused the behaviour you've seen.

Line 796 in aircrack.c, replace:

Code:
            else if( o2 == ( 2 - S2 ) )
with:

Code:
            else if( o2 == ( ( 2 - S2 ) & 0xFF ) )
Let me know if the code works better with the 500k IVs you've got.
devine is offline  
Old 08-17-2004   #35 (permalink)
Kronk
Registered Member
 
Join Date: Jul 2004
Posts: 13
Still getting different results with aircrack 1.1-patched and aircrack 1.2. Seems that didn't fix the problem. Older version finds the key in 6 secs, v1.2 still trying after 5 minutes.

Also, chopper still fails to find key with any of the dump files even after trying the endian fix.
Kronk is offline  
Old 08-17-2004   #36 (permalink)
devine
Emergence
 
Join Date: Jul 2004
Location: Paris
Posts: 389
Quote:
Originally Posted by Kronk
Still getting different results with aircrack 1.1-patched and aircrack 1.2. Seems that didn't fix the problem. Older version finds the key in 6 secs, v1.2 still trying after 5 minutes.

Also, chopper still fails to find key with any of the dump files even after trying the endian fix.
I did some more testing, looks like both aircrack 1.2 and chopper fail to find the key when the IVs gets incremented linearly and stored in a little-endian way in the 802.11 header. Could you post here a little part of your pcap file, like the first 100 Kb from dd ?
devine is offline  
Old 08-18-2004   #37 (permalink)
devine
Emergence
 
Join Date: Jul 2004
Location: Paris
Posts: 389
Quote:
Originally Posted by Kronk
Still getting different results with aircrack 1.1-patched and aircrack 1.2. Seems that didn't fix the problem. Older version finds the key in 6 secs, v1.2 still trying after 5 minutes.
I had a look at your pcap dump file, and it corresponds to the worst case scenario: the IVs are incremented sequentially and stored little-endian in the header; I'm tweaking KoreK's attacks to overcome this problem.
devine is offline  
Old 08-18-2004   #38 (permalink)
devine
Emergence
 
Join Date: Jul 2004
Location: Paris
Posts: 389
Quote:
Originally Posted by devine
I had a look at your pcap dump file, and it corresponds to the worst case scenario: the IVs are incremented sequentially and stored little-endian in the header; I'm tweaking KoreK's attacks to overcome this problem.
The root cause of the problem lies in the new attacks implemented in aircrack 1.2: they are quite unstable and generate false positives that sometimes don't get rejected. After turning off those attacks I get much better results; this problem will be fixed in the upcoming version of aircrack. Therefore, it sadly appears that the number of 300k required IVs only stands if the IVs are randomly distributed. When this is not the case, around 750k IVs are needed
devine is offline  
Old 08-19-2004   #39 (permalink)
aminal
Registered Member
 
Join Date: May 2004
Posts: 12
Just ran it, with just over 2 million IV's, it got all but 2 on a 104 bit key. I'm working with the fudge factor now to see if I can get it to crack the whole thing. Still, very impressive.
aminal is offline  
Old 08-19-2004   #40 (permalink)
aminal
Registered Member
 
Join Date: May 2004
Posts: 12
update, I moved the fudge factor down to 1, and it got it. The only issue is, it still said "no luck, sorry." How come?

Great, great job.
aminal is offline  
Old 08-19-2004   #41 (permalink)
devine
Emergence
 
Join Date: Jul 2004
Location: Paris
Posts: 389
Quote:
Originally Posted by aminal
update, I moved the fudge factor down to 1, and it got it. The only issue is, it still said "no luck, sorry." How come?

Great, great job.
Thanks Please try again with version 1.3 that just got released (http://www.cr0.net:8040/code/network/aircrack-1.3.tgz), a few bugs in the cracking code have been fixed.
devine is offline  
Old 08-19-2004   #42 (permalink)
aminal
Registered Member
 
Join Date: May 2004
Posts: 12
Same thing. Used fudgefactor of 1, it got it right, but still says "no luck, sorry."
aminal is offline  
Old 08-19-2004   #43 (permalink)
devine
Emergence
 
Join Date: Jul 2004
Location: Paris
Posts: 389
Quote:
Originally Posted by aminal
Same thing. Used fudgefactor of 1, it got it right, but still says "no luck, sorry."
Yeah that's wierd. Seems like a bug in check_wepkey, could you post your key and the first 1M of your pcap file somewhere ?
devine is offline  
Old 08-19-2004   #44 (permalink)
aminal
Registered Member
 
Join Date: May 2004
Posts: 12
I'm actually using 4 pcap files, that I've collected over the past view days. I can zip them up for you, or something else if you like. Don't know if it will help, but I just added another pcap file, this time it was able to guess at fudge factor 2, but still said "no luck."

The key is:

8584ab0abbba941166c5e4b475

Last edited by aminal : 08-19-2004 at 04:28 PM.
aminal is offline  
Old 08-19-2004   #45 (permalink)
aminal
Registered Member
 
Join Date: May 2004
Posts: 12
Ok nevermind zipping them up, I forgot how big those files get. I'm not sure what you mean by the first 1M of the files...
aminal is offline  
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 08:08 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.