Slashdot Log In
WPA Weak Key Cracker Posted
Posted by
michael
on Fri Nov 05, 2004 09:02 PM
from the bet-the-NSA-already-has-it dept.
from the bet-the-NSA-already-has-it dept.
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."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
By its nature... (Score:2, Insightful)
Re:By its nature... (Score:2, Insightful)
Re:By its nature... (Score:5, Insightful)
When it becomes possible to conveniently crack SSH tunnels, I'll start to worry. By then, I'm sure there will be something better available. Meanwhile, you can sniff those ESP packets to your heart's content.
This is trivial under Linux, and not much more difficult under Winblows (clients), and I'm surprised more people don't suggest it as an alternative to WEP/WPA.
(My girlfriend uses Winblows w/ SSH Sentinel, and has only had one problem that rebooting wouldn't fix - in over 3 years. That one? Installing XP / SP2 turns on the [useless] firewall, which blocks the ports needed by the VPN.)
http://www.theboyz.biz/ [theboyz.biz]Computers, parts, electronics, small appliances and more!
Parent
Re:By its nature... (Score:3, Interesting)
As for not knowing what happened, it took me about 10 seconds to solve the problem. And, in fact, DID require a reboot, but then again, that's Winblows.
As for lacking sufficient knowledge of firewalls, you're welcome to try and hack mine. It's bee
Re:By its nature... (Score:5, Informative)
Parent
Re:By its nature... (Score:3, Insightful)
Plus how good is your OS at getting entropy? What symmetric encryption algorithm? What key exchange algorithm?
And about ssh over vpn... a friend (known player @ crypto) told me once that you should never assume that re-encrypting would improve security, unless you are using a well known and tested method of mixing both encryption systems.
Intention of this post is not bitching, but to try to make ppl aware it's not just "i use XXX, so im safe", but a very co
Re:By its nature... (Score:3, Interesting)
Regarding SSH over VPN, I don't do it for added security, and am familiar with at least some of the dangers multiple encryption layers can present. I do it because when the laptop is wireless, it CAN'T talk to anything without the VPN -- and there is no command line access to any of my b
Re:By its nature... (Score:3, Informative)
On Linux, that's wrong.
You're correct about everything
Re:By its nature... (Score:5, Insightful)
I guess that's an understandable misconception about security. But security has by nature nothing to do with wireless or wired.
Good security is based on the principle that other people WILL have access to your encrypted data.
Unfortunately, the people that implemented security in the wireless protocols did a piss-poor job and left it vulnerable to (known!) attacks.
However, if you just ran IPSec or something over your wireless connection, you'd be fine.
Parent
Re:By its nature... (Score:3, Insightful)
Your wired network can't be too secure either. All that you need to do is attach a listening device to a wire somewhere. Or just compromise a machine.
See the sibling post about how the basis of cryptography is asuming that someone has access to your encrypted data and the encryption algorithm. All security rests in the key. Crypt
Asside: WEP = Wired Equivalency Protocol (Score:5, Insightful)
Parent
This is why (Score:5, Funny)
Next i'll observe when I secretly host a wifi network near starbucks and replace everything with a small mirror of www.khaaan.com [khaaan.com].
Parent
Re:This is why (Score:4, Funny)
I don't know, hearing 20 laptops or so yelling "Khaaan! Khaaan!" I think is scarier than a penis bisection.
Parent
Re:Just name all your specific MAC addresses (Score:5, Insightful)
Parent
Re:Just name all your specific MAC addresses (Score:5, Insightful)
How many home users know what a MAC address is?
Parent
Re:Just name all your specific MAC addresses (Score:5, Insightful)
Parent
Better colours (Score:3, Interesting)
Odds of implementation? (Score:4, Insightful)
Re:Odds of implementation? (Score:3, Informative)
Er, you mean WPA?
Re:Odds of implementation? (Score:4, Funny)
Parent
Re:Odds of implementation? (Score:3, Interesting)
Sadly, who needs to break into anything when so many leave their front doors wide open? I just moved into a new appartment complex. While waiting for my cable to get turned on, I thought I'd scan for networks, just for the hell of it. F'ing amazing: five APs detected, one WEP (not WAP)
Re:Odds of implementation? (Score:3, Funny)
1. Put up an ad in the mailroom for computer and network service in apartment number
2. A week later, start enabling WEP on the open routers.
3. Residents go ?????.
4. PROFIT!!
(Who knew this
So it's just a bruteforce/dictionary tool... (Score:2, Informative)
Re:So it's just a bruteforce/dictionary tool... (Score:3, Informative)
I'm all for this. (Score:5, Funny)
no good excuse (Score:3, Interesting)
Kind of funny. I have our wireless router locked down with a 128bit key and only accepting connections from mine and my roommates' MAC addresses. But one of my neighbors has a wide open access point that I can connect to whenever I wan't.
I don't really want to, but I could.
No real point to this post except that you should attempt even minimal security (Unlike my neighbor).
In addition to a cracker (Score:5, Interesting)
Would have made the crack software look a little less black-hat, to the uninitiated.
Just an idea.
Re:In addition to a cracker (Score:2)
Getting raw packets etc, is not something everybody knows how to do, but it would be great if they could verify their key was fine.
(and then that software could send the key back to the original web-site, so they can keep a list of fine keys that are now known, so they are not fine anymore. Yeah yeah, I know...
don't blame WPA (Score:5, Insightful)
Btw: The Tips and Tricks section of this newsletter [slashdot.org] is a good ressource if you want to create passes which are harder to guess.
Re:don't blame WPA (Score:3, Informative)
Here's the a correct link [gentoo.org]
Ho hum (Score:3, Interesting)
Treat wireless just like you do a student network and everything will be fine.
Re:Ho hum (Score:3, 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 har
Suggestion (Score:3, Interesting)
So, I know it's not foolproof, but does anyone have suggestions on how to increase wireless security?
1. Regularly change WEP keys?
2. Use a proxy server to access internet, and disable direct access via access point?
3. Turn off router and computers when you're not using them?
Any others?
Re:Suggestion (Score:3, Informative)
Of course if
Re:Suggestion (Score:5, Insightful)
Well, there are different schools of thought when it comes to SoHo/low bandwidth WAN access security.
You are attempting to lock your network down so that a potential attacker cannot use your connection. The other approach lock your network down just enough to make a cracker not want to bother and to move on to the next, easier target (ie. your neighbors' access points).
The former approach generally works just fine if your goal is to deny a potential attacker access to your network bandwidth. It won't really stop a determined attacker who isn't just in it for a free-ride but who wants to steal specific data. If that's part of your threat model, chances are wireless isn't really for you. The downside is that this is pretty inconvenient. And since convenience is the big selling point when it comes to wireless networking, most people just won't take that route.
Those people who have WEP and MAC address filtering enabled, basically want to protect themselves against random, unsophisticated wardriving. It won't help defend against a determined attacker and probably won't even scare off the teenager next door with too much time on his hands. The point isn't really to have good access security. It's just to raise the bar enough to be unatractive enough of a target. Think of it as a "I don't have to outrun the bear, I just have to outrun you" scenario.
Parent
What about unsecured networks? (Score:4, Funny)
What are "short" WPA keys supposed to be? (Score:5, Insightful)
- He writes: "WPA is the replacement for weak WEP keys in the original 802.11b specification". This is wrong. "weak key" ist a crypographic term for - wonder - weak keys, like 128 bit, consisting of 1's only (1111111111111...). For like 30 years, even WEP, has taken measures to prevent this kind of keys during use. WEP's problem in fact is the deterministic generation of IV's of the keystream, not weak keys.
-
"Moskowitz advised choosing passphrases of more than 20 characters or generating random keys of at least 96 bits, but preferably 128 bits." That's also misunderstood. The PSK (pre shared key) even when not using 802.1X is always 256-bit. It's generated -from- a passphrase that you type in. A passphrase like "abc" e.g. contains less than 16 bits of security. So a WPA key generated from the passphrase "abc", although still being 256-bit, can be cracked within the time of a 16 bit brute force attack. This is done by simply generating WPA keys from all passphrases between "aaa" and "zzz". So you always use 256 bit keys (PSK's), but they can be generated from much smaller passphrases.
- "each user gets a long WPA key". See above. The keys are always the same size of 256 bit. When using 802.1X there is only maximum "randomness". That's the difference. It think the poster still thinks that WPA works like WEP where you actually use different key lengths.
One could think that I'm very picky about his words. I think not. Especially in cryptography it is important to know exactly what part of a cryptographic chain you're talking about, when talking about weaknesses. TinyPEAP seems to be just a tool for people like the original poster and script kiddies, who are in fact NOT knowing what they are talking about. It's just a bruteforce tool to try out WPA passphrases. This is supposingly faster for people using short passphrases than bruteforcing keys directly.Re:What are "short" WPA keys supposed to be? (Score:3, Insightful)
1. All WEP keys are susceptible to nearly the same degree of being broken by collecting enough data passively. Thus, they are all weak. From a definition of weak keys at an online dictionary: "In the extreme, a poor cipher design is simply one with a very large number of weak keys."
2. No, you're misreading this, too. Moskowitz (see his paper) is talking about the seed data, not the resulting way in w
WPA er Old News! (Score:3, Informative)
Re:What Morons (Score:2, Informative)
Re:What Morons (Score:2, Informative)
Re:What Morons (Score:3, Insightful)
Re:What Morons (Score:4, Informative)
_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/ [theboyz.biz]Computers, parts, electronics, small appliances and more!
Parent
Re:What Morons (Score:2)
The other poster sowed how easy it is to do this in Linux.
Re:What Morons (Score:5, Insightful)
Parent
Re:What Morons (Score:4, Informative)
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.
Parent
Re:What Morons (Score:2)
Now, where do I pickup my monkey?
Re:What Morons (Score:4, Informative)
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
Parent
Re:What Morons (Score:2)
This is a *trivial* exercise, and certainly does not require any hard-wiring.
http://www.theboyz.biz/ [theboyz.biz]Computers, parts, electronics, small appliances and more!
Re:WPA Keys (Score:3, Informative)
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.