NetStumbler.org Forums

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

Reply
 
LinkBack Thread Tools Display Modes
Old 03-25-2005   #1 (permalink)
whoisvince
Registered Member
 
Join Date: Mar 2005
Posts: 21
Aireplay not effective against all APs?

I've been playing aireplay with the new madwifi patch for my Atheros AR5211 and I must say, I am very impressed. I collected over 1,000,000 IVs from my DI-614+ in just about 10 mins!

Here's my question: are some APs less vulnerable to replay attacks than others?

I had originally been trying this attack on my 2Wire HomePortal 1000HW DSL Router (firmware rev. 3.5.5) and I could not get aireplay to decode packets using any of the attacks used in the README file, regardless of whether I tried only packets with a length larger than 60 B, ARP forgery, ARP-request resend, associating a network card, whatever.

On the other hand, my DI-614+ (firmware rev 2.33) cracked like an egg. The ARP-request forgery attack worked extremely well, and the only problem I had was limiting aireplay's packet broadcast rate (-x 100) to keep from DoSing the thing.

Both routers were set up identically including 64 bit WEP. Is there anything special about 2Wire setups that keeps them from replaying packets?

Last edited by whoisvince : 03-25-2005 at 05:37 PM.
whoisvince is offline   Reply With Quote
Old 03-25-2005   #2 (permalink)
tekn0
Registered Member
 
Join Date: Jan 2005
Posts: 36
Would you still happen to have the replay_dec file around that the -k chopchop function decoded? If so could you post the tcpdump output here just like the readme does? I have not had any success decoding a packet with any ip information in it and i am wondering if you have any in your packet... Also about how long did it take for you to chopchop the data packet?
tekn0 is offline   Reply With Quote
Old 03-25-2005   #3 (permalink)
whoisvince
Registered Member
 
Join Date: Mar 2005
Posts: 21
Thanks for the quick response, tekn0.

The -k function wouldn't generate the replay_dec file that I needed when capturing from the 1000HW. Aireplay would send the packets, but I wasn't getting any decoding responses from the AP, so there was no replay_dec file to resend. Unfortunately, I don't have any tcpdump info to post without being able to decode the packet--that's been my problem.

With the DI-614+, it only took me about 25 packets or so to aquire a suitable one, then it took 5 seconds to decode the packet--it was a longer data packet, but the decoding was still quite fast.

I associated a network card (without entering the WEP key) from another machine each time I attacked the AP so I could run the attack in authenticated mode, and I tried increasing and decreasing the -x option to avoid DoSing the 2Wire.

Is there any other output I should post for you?
whoisvince is offline   Reply With Quote
Old 03-25-2005   #4 (permalink)
tekn0
Registered Member
 
Join Date: Jan 2005
Posts: 36
"it only took me about 25 packets or so to aquire a suitable one"

Is that meaning you used -k on 25 packets and after that 1 of the packets showed you the ip information that you then used in airforge? If so could you display the tcpdumo output of that one packet?
tekn0 is offline   Reply With Quote
Old 03-25-2005   #5 (permalink)
whoisvince
Registered Member
 
Join Date: Mar 2005
Posts: 21
Ok, this the command I'm using to attack the DI-614+:

AP MAC: 00:80:C8:0B:9D:B6
Associated client MAC: 00:0b:6b:10:08:97

aireplay -k -h 00:0b:6b:10:08:97 -x 100 ath0

This is the info from the packet (I used the first packet that popped up):

Seen 78 packets...

FromDS = 1, ToDS = 0, WEP = 1
BSSID = 00:80:C8:0B:9D:B6
Src. MAC = 00:80:C8:0B:9D:B6
Dst. MAC = FF:FF:FF:FF:FF:FF

Here's the tcpdump:

reading from file replay_dec-050325-214321.pcap, link-type IEEE802_11 (802.11)
DA:ff:ff:ff:ff:ff:ff BSSID:00:80:c8:0b:9d:b6 SA:00:80:c8:0b:9d:b6 LLC, dsap 0xaa, ssap 0xaa, cmd 0x03, sap aa ui/C len=278

Here's the airforge command:

airforge replay_dec-050325-214321.prga 1 00:80:c8:0b:9d:b6 00:0b:6b:10:08:97 10.0.0.2 10.0.0.3 arp.pcap

Something to note about the airforge command--I just made up IP addresses--this isn't in the IP range of the AP or the client at all.

After that, I replay the packet with aireplay -r and it works beautifully as long as I keep the client associated with the AP.

For some reason, with the 2Wire, I can't get aireplay to decode a packet. It's interesting to note, unless the clients are associated with the proper WEP keys, I don't think the packets will have any IP info--the AP won't assign one.
whoisvince is offline   Reply With Quote
Old 03-25-2005   #6 (permalink)
tekn0
Registered Member
 
Join Date: Jan 2005
Posts: 36
Thank you very much for the info, So for airforge 10.10.10.* is in fact "not" your iprange and the ap still gives out valid unique IV'ed replies...very intresting.
tekn0 is offline   Reply With Quote
Old 03-25-2005   #7 (permalink)
whoisvince
Registered Member
 
Join Date: Mar 2005
Posts: 21
But do you have any idea why the 1000HW won't decode packets like the DI-614+?
whoisvince is offline   Reply With Quote
Old 03-25-2005   #8 (permalink)
tekn0
Registered Member
 
Join Date: Jan 2005
Posts: 36
What part of the attack is not working? Will chopchop -k not work or will the airforged arp not work? If it's the forged arp i would try to make sure the iprange is correct.
tekn0 is offline   Reply With Quote
Old 03-26-2005   #9 (permalink)
whoisvince
Registered Member
 
Join Date: Mar 2005
Posts: 21
The chopchop -k part is not working. The chopchop functions in all of the aireplay attacks I've tried haven't worked. I can't forge the packet b/c I can't get my hands on a prga and decoded packet.

Do you really need a correct IP for the forged arp packet? I got away with just making one up for the DI-614+. I wonder if that's because it's older hardware (although it does have the latest firmware)...
whoisvince is offline   Reply With Quote
Old 03-26-2005   #10 (permalink)
devine
Emergence
 
Join Date: Jul 2004
Location: Paris
Posts: 389
Quote:
Originally Posted by whoisvince
The chopchop -k part is not working. The chopchop functions in all of the aireplay attacks I've tried haven't worked. I can't forge the packet b/c I can't get my hands on a prga and decoded packet.

Do you really need a correct IP for the forged arp packet? I got away with just making one up for the DI-614+. I wonder if that's because it's older hardware (although it does have the latest firmware)...
Right, some APs are not vulnerable to the chopchop attack. And yes, you absolutely need a correct IP, and moreover one IP that responds to arp-requests.
devine is offline   Reply With Quote
Old 03-26-2005   #11 (permalink)
whoisvince
Registered Member
 
Join Date: Mar 2005
Posts: 21
Do I need the IP of the associated client, the IP of the router, or both?

I wonder why I got away with making up a random IP for the DI-614+. It worked fine with IPs that were nowhere near its range.
whoisvince is offline   Reply With Quote
Old 03-26-2005   #12 (permalink)
whoisvince
Registered Member
 
Join Date: Mar 2005
Posts: 21
Oh, and one other thing. Has anyone else been successful in cracking his own HomePortal 1000HW? If so, which firmware version are you using?
whoisvince is offline   Reply With Quote
Old 03-27-2005   #13 (permalink)
devine
Emergence
 
Join Date: Jul 2004
Location: Paris
Posts: 389
Quote:
Originally Posted by whoisvince
Do I need the IP of the associated client, the IP of the router, or both?

I wonder why I got away with making up a random IP for the DI-614+. It worked fine with IPs that were nowhere near its range.
Any IP of a wireless or wired host that is curerntly up should do. Note: the attack can produce IVs even if the IP doesn't respond, because some APs do re-encapsulate WEP data broadcast before sending them, so you do get new IVs, even though there's no arp-reply (this is actually attack 3 in the aireplay README).
devine is offline   Reply With Quote
Old 03-27-2005   #14 (permalink)
whoisvince
Registered Member
 
Join Date: Mar 2005
Posts: 21
Thanks, devine. That makes sense. I'll associate a WEP enabled client with the 1000HW and post the results here.
whoisvince is offline   Reply With Quote
Old 03-27-2005   #15 (permalink)
17hz
Registered Member
 
Join Date: Mar 2005
Posts: 13
Quote:
Originally Posted by devine
Right, some APs are not vulnerable to the chopchop attack. And yes, you absolutely need a correct IP, and moreover one IP that responds to arp-requests.
Hmm, So the IP that you need really only needs to be able to respond; What about an Internet IP on a network that happens to be providing internet acces via NAT or IP Maquerading? Would this always generate a response?
17hz is offline   Reply With Quote
Reply


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 12:43 AM.


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.