by commandar · 14y ago · 0 comments
Are you seriously arguing that "The quick brown fox Jumps over the lazy dog!" is less human-memorable than "dlLejs$sAgkCnzklS%9sxckAAnvk"?
Any variation from what a precomputed table expects renders the table useless.
>It's no better from a computer-guessable standpoint, either.
Besides the increased key space that has to be attacked?
I didn't say "password", I said "passphrase". Something like "breath red long provide" or "itself even willing establish".
If you're using memorable movie quotes or Shakespeare quotes or anything else that you could find on wikiquote, your keyspace is going to be smaller than what you get from stringing 4 random words together. You can try to grow that keyspace by adding in variations, each of which will get you a few bits of entropy, but those variations come at the cost of memorability.
It's counterproductive to start with a non-random phrase like a quote, and then try to add randomness on top of it. If you want both entropy and memorability, use a randomly generated passphrase (via http://passphra.se or by using dice and a dictionary) instead of piecemeal randomness-on-top-of-non-random-quotes strategies.
The primary attack vector against WPA2 keys is via precomputed tables. If your concern is about your SSID+passphrase combination appearing in one of these tables, any variation whatsoever from the "canonical" version somebody might pull from, say, a database of quotes is negated and they're forced back to square one of a pure brute force attack which the increased key space makes more expensive.
The xkcd-style passphrase is simply better than ad-hoc solutions.
The xkcd approach certainly works, but the arbitrary, random nature of it is going to make it difficult for some people to remember. The quotation approach is just leveraging the fact that people spend their entire lives using language as a logical framework to simplify remembering things.
Either is going to be vastly more secure than a random string of characters.
shuf -n4 /usr/share/dict/words | tr -d '\n'; echo
echo $(shuf -n4 /usr/share/dict/words)
will do the trick. Though it does have some weird words in there. A trimmed "4000 common words" dictionary is what I use.