WEP Cracking, the FBI Way

WEP cracking usually takes hours. Lots of hours, depending on the amount of traffic on the access point. A few months ago, two FBI agents demonstrated how they were able to crack a WEP enabled access point within a couple of minutes. 3 minutes to be exact. This is unbelievable when compared to, say 3 days of work. Here is how they did it, and how you can do it. You may need to know your way with each and every of these tools to get this done. You can ask Google for that. Anyway, if you are familiar with them, just do as follows :

  1. Run Kismet to find your target network. Get the SSID and the channel.
  2. Run Airodump and start capturing data.
  3. With Aireplay, start replaying a packet on the target network. (You can find a ‘good packet’ by looking at the BSSID MAC on Kismet and comparing it to the captured packet’s BSSID MAC).
  4. Watch as Airodump goes crazy with new IVs. Thanks to Aireplay.
  5. Stop Airodump when you have about 1,000 IVs.
  6. Run Aircrack on the captured file.
  7. You should see the WEP key infront of you now.

The software runs on Linux, they are all available on the Knoppix Linux Live CD. And finally, I think you should always use a combination of 2 or more security features. As for what you need, get Aircrack (Includes Airodump, Aireplay, Aircrack and optional Airdecap for decrypting WEP/WPA capture files) and get Kismet.

Update: Kismet for Windows (Kiswin32) is available now.

Posted June 4th, 2005 in hardware, internet, linux, software.

49 comments:

  1. Wayne D. Berg:

    WOW, this really works. Any illegalities I should be aware of when cracking WEP encryption in my hobby? Is it illegal to crack someone’s code?

  2. primary0:

    think of it as lock picking. if its ur lock - no problem. if it is someone else’s, u need permission and it wud be illegal otherwise i suppose.

  3. Joe B:

    Going to test it when i have some time on the WEPS in my work offices if it can be cracked that easily I will stop using wep and move to other encryptions all together.

  4. h4x0r:

    Any chance of Aircrack comming out for PC?

  5. Dave N:

    WPA and WPA2 is crackable as well (but a lot harder). There is no real secure wireless network. WEP is sufficient for home use, but not for corporate use.

  6. Dave N:

    Aircrack is out for PC, but aireplay does not work for the PC due to drivers.

  7. Geeks Are Sexy] Tech. News:

    Yeah, cracking WEP has never been easier.

    Just go on youtube and do a search for WEP cracking, you’ll end up on a couple of video presentation about what you just posted.

    Even WPA isn’t safe anymore now…

  8. shawn m:

    It’s not sufficient to say WPA and WPA2 are “a lot harder” to crack. With sufficiently strong keys, it would take current computers millions of years to crack via brute force.

    I also disagree that WEP is sufficient for home use. All your on-link banking may be secured via SSL, but your email and all your surfing is easily accessible. Someone snooping would know what banks you deal with, what companies you buy from, and even know when to expect deliveries if they pick up shipping confirmations sent in email. If you live in a sparsely populated area, it’s low risk. If you live in a dense neighborhood or apartment building, you should just assume someone is trying to get to your network and lock it down tightly.

  9. Mark:

    Well, It made the front page of digg. WEP is officialy dead.

    I, a 14 year old kid with linux, can compramise your home network in 3 minutes.

  10. stephengilroy[dot]com » Blog Archive » WEP Cracking, the FBI Way:

    [...] Cheers to you, Stephenread more | digg story [...]

  11. Thermoplyae » Blog Archive » Hacking WLAN in 3 Minutes.:

    [...] About a year ago the FBI demonstrated how they can hack a wireless WEP encrypted network in three minutes, prior to this I it would take hours! Today I found an article which gives you step by step intructions on how to do it, but you will need to run linux! [...]

  12. Stork:

    WPA is safe if you put a nice juicy password such as

    ” +26]RkW\>mjk>D$BM9S1s28DN2E.*rw@_Zya!”Bl]JBs,3)VF;EHA7.t!04`IT5

    But WPA will be audited if everyone uses their passwords as
    ” macintosh ”

    So please, If you have a neighbor who uses WEP, be a good neighbor and crack it and use a nice program such as airpwn(which is on auditor) to remind them that they could lose a poop-load of valuable information if they don’t get a WPA router.

  13. The bandito:

    Just tell your router not to accept connections from anything but your approved MAC addresses. Is there any way around that?

  14. dibbs online:

    1000 IV’s is not enough, even the aircrack docco says this.

  15. ardos:

    you can spoof mac address so thats i not a way around the problem

  16. Matt:

    Bandito:

    Once you’ve cracked the WEP key, just sniff enough packets and pull out which MAC addresses ARE allowed, then spoof. Bingo.

  17. stone:

    Spoofing MAC addresses is actually pretty easy…

  18. Rob:

    @bandito - First, you can often override the MAC address to be anything you want, so you could simply take one of the approved MAC addresses if you want to connect through the network. This would probably only work when the other computer is off though.

    Second, if you only want to monitor traffic, then you don’t need to connect, you just have to sit there and listen to the traffic going by.

  19. Interiot:

    @Dave N

    Wireless networks *can* be secure, you just have to run a wrapper like SSH+SOCKS or IPSec over them.

  20. Stephen:

    I find myself rather suprised that people are still using WEP when WPA-PSK is so easily available and easy to configure. If you use a 20 character password minimum w/ alphanumerics and such - which you can keep written down in case you forget, and which will already be saved on your computers anyway - then WPA-PSK is virtually impregnable. It’s ridiculously simple to migrate to WPA, and if you’re using WEP, you should’ve switched years ago.

    Heck, just use Mac Address filtering if you’re really worried.

    cmd prompt: ipconfig /all
    and pop that mac addy into your router.

  21. makingfunofh4x0r:

    omglol111!!!111
    some idiot named h4×0r needs aircrack on a pc… your not h4×0r your n00bx0r

  22. AlbanyWiFi.com » Blog Archive » WEP Cracking, the FBI Way:

    [...] http://www.primary0.com/2005/06/04/wep-cracking-the-fbi-way/ [...]

  23. RE: To bandito:

    RE: The bandito
    yes, there is an easy way around it, you simply wait for an authorized client to use the network and grab thier mac address and simply spoof your mac to be thiers

  24. Don:

    What kind of wireless card(s) did you use for your auditing?

  25. rych:

    not all drivers are compatible airodump.

  26. Killagoat:

    With a combination of hidden SSID and MAC authentication you’re about 20x more secure than using WEP. The cheap wal-mart linksys routers can do this and I’ve not yet been able to find a way to get around it.

  27. Jack:

    Well - I run AES encryption with a long [ > 60 letter password] - is that safe?

  28. thru9:

    anytime soon for Max X?

  29. marticus:

    “Just tell your router not to accept connections from anything but your approved MAC addresses. Is there any way around that?”

    once someone figures out the MAC address of any on your network they can simple use a MAC “spoofer” that will allow them to access the network hosting your MAC address.

    So, no.

  30. Fred:

    This is just for n00bs … you can’t crack a WEP with 1000 IVs. You probably need 400000 or even 600000 IVs!!!

    What the FBI did in his demo, was confusing/disconnecting Windows workstations by sending them deauth packets to be sure to create more traffic. The more traffic you have, the more IVs you can get.

    Everybody can write down what he thinks … everybody should what he writes down … because I’m sure God is a 3m high guy.

  31. Aryss Ska'Hara:

    So, if that’s your private network - disable SSID broadcasting. Those, who need to know SSID will know it from you.

  32. Tom Wright:

    @Aryss Ska’Hara
    Disabling SSID broadcasting won’t help (although it will reduce your power usage) because traffic can still be sniffed when it goes between legitamate clients and the node.
    They will inform the brat next door of your SSID making the whole exercise pointless.

  33. thewebguy:

    Matt:

    I was going to ask if something like that was possible. I used MAC filtering instead of any encryption recently thinking it might be faster (and it would be fun to piss off people in my apartment complex trying to piggy back because they didn’t see a required password, HAH)

    It ended up not being so great.

  34. Jason’s Random Tech Stuff » WEP Cracking, the FBI Way:

    [...] WEP cracking usually takes hours. Lots of hours, depending on the amount of traffic on the access point. A few months ago, two FBI agents demonstrated how they were able to crack a WEP enabled access point within a couple of minutes. 3 minutes to be exact.read more | digg story [...]

  35. 误入世界 » links for 2006-06-28:

    [...] pwtb » WEP Cracking, the FBI Way (tags: web crack) [...]

  36. adam:

    I’m a fan of the SecurityNow podcast (Steve Gibson and Leo Laporte) and well, Steve has a page at grc.com/password that creates long passwords. It’s pretty nifty for generating long, secure passwords.

  37. 误入世界 » links for 2006-06-29:

    [...] pwtb » WEP Cracking, the FBI Way (tags: web crack) [...]

  38. Init (){ Ririn.toString(); } :: WEP Cracking, the FBI Way :: June :: 2006:

    [...] U can check the details here [...]

  39. otro blog más » Unos cuantos de seguridad informática:

    [...] Y un par más sobre WiFi: Cracking WEP and WPA Wireless Networks y WEP Cracking, the FBI Way. [...]

  40. EveryDigg » Blog Archive » WEP Cracking, the FBI Way:

    [...] WEP cracking usually takes hours. Lots of hours, depending on the amount of traffic on the access point. A few months ago, two FBI agents demonstrated how they were able to crack a WEP enabled access point within a couple of minutes. 3 minutes to be exact.read more | digg story [...]

  41. kalyank.net » Blog Archive » WEP Cracking, the FBI Way:

    [...] [source] WEP cracking usually takes hours. Lots of hours, depending on the amount of traffic on the access point. A few months ago, two FBI agents demonstrated how they were able to crack a WEP enabled access point within a couple of minutes. 3 minutes to be exact. This is unbelievable when compared to, say 3 days of work. Here is how they did it, and how you can do it. You may need to know your way with each and every of these tools to get this done. You can ask Google for that. Anyway, if you are familiar with them, just do as follows : [...]

  42. cw:

    I figure that for a home network, WPA2 personal AES PSK with the longest key you can create, non-broadcasting SSID, MAC filters and DHCP turned off, no AP management from the wifi side, no WAN management, disable uPnP, is about the best you can do, unless you want to go with a RADIUS server (my attempts at building openradius on one of my OpenBSD boxes was a mess, so I’ve not played with that). Tweaking (increasing) some of the timeout values for beaconing might cause a joyrider to miss the network if using wellenreiter. Seems with tools like karma and all the hostap based apps that impersonate an AP that there are many ways to 0wn a wifi net/host. At work we run an 802.11b/g net on a non-routed 10.x.x.x VLAN that’s isolated from the main network via an IPSEC VPN that requires auth from the central credential store. It’s also got a feature that won’t allow the clients to talk with one another even at layer 2 (helps mitigate or stop ARP trix for MitM and spoofing). Once someone authenticates their profile allocates which IP pool they use. From there, unless the Cisco ACS server applies a downloadable ACL, the VPN user is on the internal network and unfortunately the Cisco client doesn’t seem to have any remeditation or NAC-based checks so you have unprotected/compromised endpoints.
    I’m sure there is some way to break the security but so far it’s resisted my attempts to pentest it.

  43. michael:

    I’m going to try this tonight, if it works ill warn my neibour (im not sad) btw, im frm New Zealand any one else? or just U.S.A?

  44. Bob:

    Yeah brute forcing WPA might take enternity, but the truth of the matter is when its your dogs name “fluffy” with numbers 12 or 21 after such name to equal the min characters of 8 (fluffy12), I can assure you that brute force takes no more than 20 minutes when adding min number strings to the end of your lists. Thats the sad truth behind 80% of wireless network users password schemes.

  45. aneel:

    Some tips on aircrack-ng command line. Aircrack never seems to end even in 20 million years ahead

  46. Jesus:

    Will this work for a netgear wireless adapter???On Windows XP if it does email me at escobar.jesus@yahoo.com thanx !!

  47. Youn00b:

    n00bs

  48. Joe:

    Are Aircrack and Kismet out for Mac OSX?

  49. Mactheknife:

    Joe:

    KisMac :) Does it all but there are diver issues. Google it and read the traffic. iStumbler works well to find traffic and KisMac has to have a passive mode driver. Most people seem to be using a usb network card to get around the problem. KisMac lists the ones that work. GL

Leave a response: