Any (more clever) HNers care to offer a interpretation and calcuation?
Any (more clever) HNers care to offer a interpretation and calcuation?
The dictionary files I have in /usr/share/dict/ have about half a million words. Mean length is 11 characters. And there are about 100 characters easily accessible on my keyboard (letters, numbers and common symbols).
Regular words, trying lower case, UPPER CASE or First Letter Capitalised. 3 * 0.5 million options = Half a second to search.
Same but with a two digit number before or after (e.g. Patio11): 2 * 100 * 3 * 0.5 million options = 100 seconds to search.
Single regular word with up to 4 standard keyboard characters before or after (e.g. Patio3&A@): 2 * 100^4 * 3 * 0.5 million = about 3.1 years to search.
Two regular words, same case options, with or without a space. (3 * 0.5 million)^2 * 2 = 17 days to search.
Single regular word, random capitalisation (e.g. paTIo) rough figure: 2^11 * 0.5 million = 6 minutes to search.
Single regular word, random capitalisation, 4 standard keyboard characters before or after (e.g. PaTio8#`¬): 2 * 100^4 * 2^11 * 0.5 million = 2163 years to search.
Four regular lower case words (e.g. correct battery horse staple): (0.5 million)^4 = 660000000 years to search.
Up to 10 letters or numbers, upper or lower case (e.g. nk7rFG9Ad9): 63^10 combinations = 10403 years to search.
Up to 8 letters or numbers, upper or lower case (e.g. Plfws0aX): 63^8 combinations = 2.6 years to search.
Assuming you could obtain the same 3M hashes/second on an Amazon EC2 cluster GPU instance (this isn't a given as they have nVidia GPUs instead of the ATI chip used in the test reported) 2.6 years of GPU time at the spot price of 35 cents an hour would cost $7976.85
Needless to say, if you had access to a whole load of people's 1password files, probably some of them would be following a weak password selection scheme and you'd break them within seconds. On the other hand, people with strong password selection schemes will still be safe.
However, if you can try all dictionary words in 0.5 seconds, you can try that against 172800 files in a day.
Of course you'd need a security breach that gave you access to multiple files too!
"A user-selected eight-character password with numbers, mixed case, and symbols, reaches an estimated 30-bit strength, according to NIST" [1]
2^30/(3M attempts/s)=358s
A completely random 8-character password from a space of 64 characters (upper, lower, number + 2 symbols) is 48 bits:
3^48/(3M attempts/s) ~= 3 years
Multiply by 64^N for longer passwords (so >180 years for a 9 character password)
The reason for the difference is that user-selected passwords are (on average) not as good as random passwords.
[1]http://en.wikipedia.org/wiki/Password_cracking#Time_needed_f...
But that's just with 2 GPU's! Any larger bitcoin miner has a few hundred (up to many more) of these graphics cards running. 100 GPUs would require only 20 days! Any larger entity could easily setup 1000 GPUs which cuts it down to 2 days, etc.
Probably there will be password cracking pools, similar to altcoin mining pools, which pay for your GPU resources in bitcoins.
This amounts to the loss of almost exactly 1 bit of security. Yes, really.
The first letter of my password is lowercase, not uppercase. There, that's how much it matters. 1 bit.
thisisthepasswordthatiwilluseonhackernews
would still be relatively hard to crack?
------------
His comment:
> It's nearly identical.
> There are around 170,000 english words (including all the obscure ones you've never heard and have no idea how to spell).
> Number of 4-word combinations:
170,000^4 = 8.35 * 10^20
> Lowercase (26) + uppercase (26) + digits (10) + special characters (36) = 98 characters 98^10 = 8.17 * 10^19
> An order of magnitude difference.> And if they start bruteforcing with the simpler words (which you used in the example), there are only 5,000 - 10,000 of them, the number of your combinations drops dramatically:
5,000^4 = 6.25 * 10^14
10,000^4 = 10^16
> So unless you use very obscure words in your password, you are doing much worse than you think.For good reason; please check someone's comment history before advising them of this.