Live data from Hacker News

Cracking 14 Character Complex Passwords in 5 Seconds

ciozone.com

21–30 of 64 posts

Re: Cracking 14 Character Complex Passwords in 5 Seconds

#21

If they're really just using 80GB on the SSD (as the linked-to article suggests), why not just use a server with 128GB of RAM and avoid writing to disk altogether?

Because Rainbow Tables only need to be written once, so you could mount the drive read only and get the benefits without the drawbacks.

Re: Cracking 14 Character Complex Passwords in 5 Seconds

#22
post #5

With a separate salt for each password the rainbow table becomes useless. If an attacker has both the salt and the hash, they are back to computing the table (brute force)

If the salt is short (username, email address, phone number, user id, etc.) then this becomes much more of a serious attack, specifically if the salt+password combination is less than 14 characters.

A salt is a salt, not username or any other user information.

Re: Cracking 14 Character Complex Passwords in 5 Seconds

#23
post #22

Earlier quoted context omitted.

If the salt is short (username, email address, phone number, user id, etc.) then this becomes much more of a serious attack, specifically if the salt+password combination is less than 14 characters.

A salt is a salt, not username or any other user information.

What difference does it make? With a different salt for each password, that info is going to have to be stored in the database anyway, so does it matter much if its a random string or a piece of user info? They still have to precompute tables for each possible salt, unless you're using email as the salt and all your users happen to have the same email address.

Re: Cracking 14 Character Complex Passwords in 5 Seconds

#26
post #20

The rainbow tables are an implementation of a form of time-memory tradeoff attack using a refined hash reduction algorithm based on the work of Martin Hellman (of Diffie-Hellman fame) - http://en.wikipedia.org/wiki/Rainbow_table Basically Ophcrack uses optimised hash chains to speed things up. The precomputed hashes are generated with a specific character set. This works particularly well for unsalted algorithms that…

  Your best bet to protecting from rainbow tables [..]
is using a salt. No need to use uncommon characters.

Re: Cracking 14 Character Complex Passwords in 5 Seconds

#27
post #9

If they're really just using 80GB on the SSD (as the linked-to article suggests), why not just use a server with 128GB of RAM and avoid writing to disk altogether?

I'm not entirely sure which algorithm is used in WinXP for password hashing, but it might still be an LM hash, which has some security flaws. All lower-case characters are converted into upper case characters and the 14-byte password (cannot be longer) is divided into two 7-byte passwords, which can be cracked alone (sort of). So, 300 billion passwords per second is still a very impressive load, but the keyspace for…

Microsoft developed NTLM because LM sucked and made it the default in Windows XP. However, for backwards compatibility, it also hashed the passwords to LM, so, well, you can crack them just as easily.

From Vista onwards, I think, LM is no longer used.

Re: Cracking 14 Character Complex Passwords in 5 Seconds

#28
post #2

I believe it's not accidental that all passwords that they crack in the demo are 14 characters or less, that can mean that they attack the hashes which are always possible to crack, the speedup they claim is 100 (they simply increased tables from 8 GB to 80 GB and put them on SSD) but e.g. 1000 seconds before was also very fast for somebody who just needed to gain access to one target.

It's not accidental, because LM only supports passwords up to 14 chars. What's worse, is that they are two 7-character passwords, which you can crack separately, basically making cracking the entire LM keyspace trivial. I think there are rainbow tables that cover all of it (I have a few but they don't contain symbols, I don't think).

Re: Cracking 14 Character Complex Passwords in 5 Seconds

#29
post #20

The rainbow tables are an implementation of a form of time-memory tradeoff attack using a refined hash reduction algorithm based on the work of Martin Hellman (of Diffie-Hellman fame) - http://en.wikipedia.org/wiki/Rainbow_table Basically Ophcrack uses optimised hash chains to speed things up. The precomputed hashes are generated with a specific character set. This works particularly well for unsalted algorithms that…

Your best bet to protecting from rainbow tables [..] is using a salt. No need to use uncommon characters.

You are correct. However, pursuant to the use of NTLM or LM, neither of which are salted non-US ASCII characters are about as good as you can get without ridiculously long passwords.

For anything else, ready salted is definitely the best crypto flavour.

Having said that, a few years ago I co-ordinated a distributed effort to create rainbow tables for standard Oracle database accounts. Oracle's crypto mechanism uses the username as a salt. It meant that we had to generate different (but small as the algorithm was crap) tables for DBSNMP,SYSTEM etc. The same applies to WPA-PSK - don't use a common SSID in the Church of Wifi tables.

I guess the moral of the story is that salting alone won't get you out of the woods. You need to think very carefully when it comes to crypto, and get as many second opinions as you can.

Re: Cracking 14 Character Complex Passwords in 5 Seconds

#30
post #25

What stupid linkbait. Cracking LM-hashed passwords is about as interesting as .1 + .2 != .3 in ieee754. Can we at least change the headline to something like "Newsflash: SSDs faster than spinning platters"?

For some posts the value might be the HN discussion following them, and not the post itself. And as usual when people whine about stuff they don't find interesting, all I have to say is: you < all HN users
Post reply on HN