Slashdot Mirror


WPA Weak Key Cracker Posted

Glenn Fleishman writes "The folks at TinyPEAP released a cracking tool to break Wi-Fi Protected Access (WPA) keys. WPA is the replacement for weak WEP keys in the original 802.11b specification. Robert Moskowitz of ICSA Labs released a paper almost exactly a year ago documenting how WPA keys that were short and lacked randomnness could be subject to cracks. This tool automates the process. Moskowitz advised choosing passphrases of more than 20 characters or generating random keys of at least 96 bits, but preferably 128 bits. Some tools exist to produce better keys, including chipmaker Broadcom's SecureEZSetup (in selected hardware) and Buffalo Technologies' hardware-based AOSS for automatic key generation and propagation. Enterprise-based WPA with 802.1X doesn't have this weakness: each user gets a long WPA key that's randomly generated and uniquely assigned--and can be frequently changed during a session."

20 of 168 comments (clear)

  1. So it's just a bruteforce/dictionary tool... by zaffir · · Score: 2, Informative

    What's the big deal? Kismac has had this feature for a while. I hope i'm missing something.

    --
    "Upon attaching the waterblock to my penis, I began to notice that I know nothing about computers." -- JRockway
    1. Re:So it's just a bruteforce/dictionary tool... by zaffir · · Score: 3, Informative

      Notice i said Kismac, not Kismet. This new tool doesn't do anything special when attacking WPA. It isn't even the first to do this non-special thing.

      --
      "Upon attaching the waterblock to my penis, I began to notice that I know nothing about computers." -- JRockway
  2. Re:What Morons by Sarhosh+Amiral · · Score: 2, Informative

    It does not have to be cracked, MAC filtering does not prevent from others listening the network.

  3. Re:By its nature... by davesplace1 · · Score: 0, Informative

    You make a good point, I know that I would not do any "online" banking with wifi.

  4. Re:What Morons by Anonymous Coward · · Score: 2, Informative

    Um, do you know how easy it is to spoof MAC addresses? Very easy.

  5. Re:Odds of implementation? by EnronHaliburton2004 · · Score: 2, Informative

    WEP

    Er, you mean WPA?

  6. Re:What Morons by wcdw · · Score: 3, Informative

    NOT really a good idea to start a thread about morons, and then act like one.

    _YOUR_ wlan card may have the MAC address burned into it. Once ALL NIC did. I think it was more than 10 years ago that I saw my first NIC that DID NOT HAVE a MAC address (it was all zeroes, and expected to be set in software).

    _MY_ wlan card will _CERTAINLY_ let me change the MAC address - under Linux _or_ Windows.

    http://www.theboyz.biz/Computers, parts, electronics, small appliances and more!

    --
    If you're not living on the edge, you're just taking up space!
  7. Re:don't blame WPA by nbert · · Score: 2, Informative

    arghh - let's blame my caffeine consumption...

    Here's the a correct link

  8. Re:WPA Keys by Olmy's+Jart · · Score: 3, Informative
    Yes... Several..


    Do your homework. Look up Supplicant, XSupplication, HostAP, 802.11i for Linux, 802.1x for Linux, etc, etc, etc... Lots of things going on.


    ITMT... This crack is only for weak keys with WPA-PSK. Not applicable to WPA enterprise or WPA2.

  9. Re:What Morons by arth1 · · Score: 3, Informative
    you need to brute-force check each MAC adress. there are ways to make this harder in the router.

    No, you don't have to do this. Once the WEP key is broken (or if there is no WEP key, just MAC filtering), you simply listen to the traffic to get a MAC address that's allowed, and use that.

    Regards,
    --
    *Art
  10. Just name all your specific MAC addresses by NotQuiteReal · · Score: 1, Informative
    This will also help secure your network.

    How many home networks really need to allow random MAC addresses access?

    --
    This issue is a bit more complicated than you think.
  11. Re:By its nature... by KingPunk · · Score: 1, Informative

    just generate a key from /dev/urandom on nix. doesn't get any more random than that.

    and im fairly certian it won't be compromised any time in the near future
    ;)
    --kingpunk

  12. Re:By its nature... by Fweeky · · Score: 4, Informative

    Looked at OpenVPN? Seems a lot easier to configure than a VPN.

  13. Re:Suggestion by slashname3 · · Score: 3, Informative

    The best thing you can do in addition to using WEP, changing keys, and locking down the MAC addresses allowed, is to use ssh or VPN software to encrypt your connections. If someone spends enough time to crack WEP and spoof a MAC address then the most they can get is access through your access point. They would have to break ssh or VPN to look at your data. Of course you would need to have tools in place to identify a man in the middle attack to prevent them from spoofing your connections.

    Of course if someone spends that much effort just to break into your wireless network you either have something really important or they are have way to much time on their hands. (and I doubt if anyone has anything that important on their network....)

  14. Re:What Morons by wfberg · · Score: 3, Informative

    MAC adresses are universally unique identifiers, except for a few duplicate runs in cheap-ass brand NICs.

    It's just that they cannot be authenticated in any way. It's like allowing only people who claim to be you on your network, rather than people who can prove it in some way.

    --
    SCO employee? Check out the bounty
  15. Re:What Morons by zzyrc · · Score: 2, Informative

    The frame control that contains the MAC header in an 802.11 packet is always unencrypted. So the list of MAC addresses is available at once, before key cracking.

  16. WPA er Old News! by fogez · · Score: 3, Informative

    KisMAC has had this function for a long time. Someone used it at Hope 2004 to their wifi key. In addition, Josh Wright has had a working copy available for linux for some time. The LiveCD from Remote-exploit.org (Auditor) has included this tool for about a month now. This is not new...

  17. Re:Ho hum by Dr.+Evil · · Score: 2, Informative

    Note that WPA is just like WEP but with quickly rotating keys and more secure key exchange. Yeah, you can't crack it in real-time to get on the network... but if you listen to the vendors carefully, they'll even say it... "Authentication, Authorization.... " But never will they formally say "Secure encryption of data"

    You can decode everything but the key exchange off-line.

    VPN software is the only way to go. The wireless vendors are liars.

    Does anyone want to comment on WPA2? Does it require new hardware?

  18. Re:By its nature... by SillyNickName4me · · Score: 2, Informative

    > just generate a key from /dev/urandom on nix. doesn't get any more random than that

    Maybe you are talking about a specific implementation here (Linux I bet) and detaisl are sightly different between different unix like systems... /dev/urandom is not random at all, it is pseudo-random at best.

    The basic issue is that as soon as you think up a process that generates numbers in a way that you can describe mathematically, you also end up with a process uncapable of generating real randomness.

    You can get most aspects of randomness, but what you won't get, and that is the most important part for encryption, is unpredictability.

    How predictable things are depends for a bit on the algorithm that you use, and for a large part on the abbility to deduct the current state of the 'random generator'. If those 2 are known, the next number your random generator will produce can also be known.

    This is why it is so important to have a good entropy source, it makes it virtually impossible to guess at the state of the generator.

  19. Re:By its nature... by peter · · Score: 2, Informative

    > /dev/urandom is not random at all, it is pseudo-random at best.

    On Linux, that's wrong. /dev/urandom returns very high quality pseudo-random at _worst_. /dev/random never resorts to mere pseudo randomness, and read(2)s on it block until the kernel has accumulated enough entropy in its pool. (yes, Linux maintains an entropy pool which it seeds from random events so there is some true randomness waiting for programs like gnupg or statistical simulations that need it.)

    You're correct about everything else, though. The only thing you didn't know is that /dev/random doesn't come from a purely algorithmic source. Kernels have access to more than just a Turing machine :).

    > This is why it is so important to have a good entropy source, it makes it
    > virtually impossible to guess at the state of the generator.

    Now you're talking. That's why Linux uses the low bits of the CPU's clock cycle counter sampled during interrupts (which are generated by disks, the network, keyboards, and mice, etc. i.e. fairly unpredictable things, esp. wrt. exact numbers of CPU cycles!) It mixes these samples into its pool with cryptographically strong algorithms (insert hand-waving here... :), so even if the samples aren't very random, they don't make it worse.

    If you're totally paranoid, RML's netdev-random patch will let you choose whether you want to add entropy from network interrupts to the entropy pool. Of course, you could also use rngd from rng-tools to feed entropy from your chipset's built-in rng (which measure thermal noise, and so has randomness that fairly directly from quantum mechanical processes, the only known source of true unpredictability in the Universe.)

    --
    #define X(x,y) x##y
    Peter Cordes ; e-mail: X(peter@cordes , .ca)