News for hackers. Stuff that matters.
Re:Yahoo discloses hack of 1B accounts by leereeves on Wednesday December 14, 2016 @07:03PM (#13180994)
> hash = sha512(salt + MD5(password))

Passing the password through MD5 reduces the complexity to 128 bits, you can't get that back.

So the security level is not the same, though it may be resistant to some attacks on MD5.

And it's probably not important for most people, since there are less than 2^56 eight character ASCII passwords.

Re:Yahoo discloses hack of 1B accounts by manarth on Wednesday December 14, 2016 @07:27PM (#13181136)

  > "Passing the password through MD5 reduces the complexity to 128 bits, you can't get that back."
Assuming that the new hash is secure (and sha512 is generally agreed to be secure), then, given a specific sha512 hash, the original MD5 hash can only be determined via rainbow tables, which is a Big-O operation. Even though entropy is reduced, it's still a significant work to determine the original MD5 hash (significant in this instance being longer than the heat-death of the Sun, given current extrapolations of computing performance).

Attacks against MD5 are based around knowing the original MD5 hash. In this instance, the original MD5 hash is unknown, so there is no mathematical shortcut to finding a collision.

Re:Yahoo discloses hack of 1B accounts by leereeves on Wednesday December 14, 2016 @07:30PM (#13181161)
In this case an attacker isn't looking for a collision (which would mean creating two passwords with the same hash, and what hash that is doesn't matter).

The attacker needs a password with a specific hash, and the best reported attack for that is around 2^128.

Re:Yahoo discloses hack of 1B accounts by manarth on Wednesday December 14, 2016 @07:40PM (#13181234)
Agreed, that the best reported rainbow-table attack on MD5 is 2^128 (i.e. the complete range of possible MD5 hashes).

Personally, I'm willing to chance that my password will be discovered via a brute-force attack within the next 0.65 billion billion years [1]

[1] http://bitcoin.stackexchange.com/questions/2847/how-long-wou...

Re:Yahoo discloses hack of 1B accounts by leereeves on Wednesday December 14, 2016 @08:29PM (#13181545)
I think it does make sense to be cautious.

A new preimage attack could be discovered - or might already have been, secretly.

Re:Yahoo discloses hack of 1B accounts by danielweber on Wednesday December 14, 2016 @09:31PM (#13181874)
> Passing the password through MD5 reduces the complexity to 128 bits

No, this is not the problem with MD5. You are not going to find two user-memorizeable-and-typeable passwords with an MD5 collision.

If you are bringing a password with more than 128 bits of complexity to the party, any password storage scheme better than plaintext will have your password safe.

Re:Yahoo discloses hack of 1B accounts by leereeves on Wednesday December 14, 2016 @11:09PM (#13182324)
For passwords, there is no known problem with MD5, unless you know about a preimage attack.

Collisions are a problem for digital signatures, not for passwords.

But some people do want and use more than 2^128 bit passwords, for whatever reason, and an MD5 intermediate stage limits that.