News for hackers. Stuff that matters.
Re:LivingSocial Hacked – 50 Million Customers Affected by bcoates on Friday April 26, 2013 @08:23PM (#5616266)
At best, that's just a hash function, so no matter how long the key is you can still just guess passwords and do trial encryptions just like you would with a hashed, salted password.

If you used the same key for all your site's passwords an attacker could build a rainbow table so you don't even get to not salt.

It would be a lot slower than a normal hash so it'd be harder to brute force, but you can get the same protection in a simpler, more predictable system by just using PBKDF2 with enough repeated hashes.

Re:LivingSocial Hacked – 50 Million Customers Affected by eksith on Friday April 26, 2013 @08:34PM (#5616291)
The situation is a bit more complicated than that : http://security.stackexchange.com/a/6415

I don't subscribe to one "scheme" for passwords since the easiest method (to implement, not crack) will be the avenue malicious hackers also pursue.

This is why most of my custom jobs involve an application specific salt per installation, in addition to the user-unique salt + password hash and then CFB encrypt the salt using another app-specific password + username hash.

Re:LivingSocial Hacked – 50 Million Customers Affected by bcoates on Friday April 26, 2013 @08:57PM (#5616351)
I'm not saying PBKDF2 is ideal, I'm just saying that it has all the possible advantages of the proposed GPG based password storage without any of the weirdness of using crypto primitives in a way they weren't intended for.
Re:LivingSocial Hacked – 50 Million Customers Affected by floody-berry on Saturday April 27, 2013 @02:27PM (#5618598)
people actually pay you just to make shit up?
Re:LivingSocial Hacked – 50 Million Customers Affected by eksith on Sunday April 28, 2013 @08:12PM (#5623434)
Yes, actually. And to be more civilized when I disagree with them.

Edit: My standard response

http://eksith.wordpress.com/2013/04/08/diy-hashing-if-you-mu...

Re:LivingSocial Hacked – 50 Million Customers Affected by sk5t on Saturday April 27, 2013 @03:55PM (#5618860)
I can't disagree with your sentiment... there comes a point where a hardware security module makes more sense than extraordinarily convoluted, tortured concealment of the salt and hashing mechanism.
Re:LivingSocial Hacked – 50 Million Customers Affected by floody-berry on Sunday April 28, 2013 @06:45AM (#5620852)
It was perhaps unnecessarily blunt, but that is the root problem with most of these leaks: Someone who doesn't know what they're doing implementing a scheme that is only slightly more secure than storing the passwords in plaintext.

It turns out LivingSocial was actually using SHA-1 with a 40 byte salt [1].

> LivingSocial never stores passwords in plain text. LivingSocial passwords were hashed with SHA1 using a random 40 byte salt. What this means is that our system took the passwords entered by customers and used an algorithm to change them into a unique data string (essentially creating a unique data fingerprint) – that’s the “hash”. To add an additional layer of protection, the “salt” elongates the password and adds complexity. We have switched our hashing algorithm from SHA1 to bcrypt.

A 40 byte salt? "_additional_ layer of protection"? "elongates the password"? It's clear they thought they were implementing extra security (hey, let's use a 40 byte salt instead of 16, mega protection!) but failed miserably because they did not know what they were trying to combat.

[1] https://www.livingsocial.com/createpassword