News for hackers. Stuff that matters.
Re:Data Breach Reveals 100k IEEE.org Members' Plaintext Pass... by 0003 on Tuesday September 25, 2012 @01:54PM (#4571669)
I am not too well-versed in this sphere, but I would also require salting passwords when hashing. It obviously won't help if your database is compromised, but will protect your users (and your database) against the effects of leaks such as these.
Re:Data Breach Reveals 100k IEEE.org Members' Plaintext Pass... by ghshephard on Tuesday September 25, 2012 @02:12PM (#4571781)
One of these days we will shut down the "Salting password hashes is a useful thing to do." meme from 1994.

See: http://codahale.com/how-to-safely-store-a-password/ for details.

Re:Data Breach Reveals 100k IEEE.org Members' Plaintext Pass... by masklinn on Tuesday September 25, 2012 @04:23PM (#4572458)
> One of these days we will shut down the "Salting password hashes is a useful thing to do."

Uh? Why? It is a useful thing to do. More than that, it is necessary (but not sufficient). There's a reason why all of pbkdf2, bcrypt and scrypt generate salts if you leave them to their own devices.

> See: http://codahale.com/how-to-safely-store-a-password/ for details.

You completely misunderstand the article.

Re:Data Breach Reveals 100k IEEE.org Members' Plaintext Pass... by ghshephard on Tuesday September 25, 2012 @05:04PM (#4572649)
It's implicitly understood by everyone who cares about this topic that salting is intrinsic to KDFs. I.E. by the time you've read through, and understood http://codahale.com/how-to-safely-store-a-password/, you understand why "salting" your password gains you nothing, because rainbow tables are no longer particularly relevant to cracking passwords. And yes, while there is salting inherent to KDFs, that's not the major feature of them, but an assumed implementation detail.
Re:Data Breach Reveals 100k IEEE.org Members' Plaintext Pass... by ZoFreX on Wednesday September 26, 2012 @04:06AM (#4574649)
> rainbow tables are no longer particularly relevant to cracking passwords

If you use a common hash with no salt you can bet your britches the attacker will use rainbow tables!

It's also worth pointing out that rainbow tables aren't the only attack you are exposed to if you don't salt your passwords - it also prevents finding collisions, and massively slows down forward hashing attacks.

Re:Data Breach Reveals 100k IEEE.org Members' Plaintext Pass... by sk5t on Tuesday September 25, 2012 @10:30PM (#4573929)
Negative on that. Not all algorithms produce the salt internally like bcrypt does--programmers must still be careful to supply a sufficiently lengthy random salt as input to PBKDF2, for example. Labeling folks who know this as stuck in the past or ignorant is a mistake.
Re:Data Breach Reveals 100k IEEE.org Members' Plaintext Pass... by e2e8 on Tuesday September 25, 2012 @02:47PM (#4571976)
Of course a salt will not make a single password harder to attack. A salt will however force you to attack passwords "one at a time" by making precomputed hashes useless.
Re:Data Breach Reveals 100k IEEE.org Members' Plaintext Pass... by nathan_long on Tuesday September 25, 2012 @05:34PM (#4572791)
Yes, but you can attack them one at a time at astonishing speed these days.

Which is why you need to not use a hashing algorithm designed to be fast, like SHA, but one designed to be slow, like bcrypt.

Re:Data Breach Reveals 100k IEEE.org Members' Plaintext Pass... by Pyroshock on Tuesday September 25, 2012 @03:50PM (#4572300)
There's a reason key derivation functions like PBKDF2 and bcrypt still require a salt as an input.
Re:Data Breach Reveals 100k IEEE.org Members' Plaintext Pass... by pjscott on Tuesday September 25, 2012 @06:07PM (#4572949)
And there's a reason why high-level libraries like bcrypt handle salt generation and storage internally: if they didn't, people would screw it up. It's amazing how many people blithely use some crazy scheme like

    pwhash = md5("this is my salt" + password)
Progress in password hashing security is primarily progress in making things trivially foolproof and then hectoring people into using them.
Re:Data Breach Reveals 100k IEEE.org Members' Plaintext Pass... by rdzgtdsv on Tuesday September 25, 2012 @10:52PM (#4573976)
Doesn't this crazy scheme protect against brute force when only database is leaked, and "this is my salt" remains secret?
Re:Data Breach Reveals 100k IEEE.org Members' Plaintext Pass... by ZoFreX on Tuesday September 25, 2012 @01:56PM (#4571684)
> It obviously won't help if your database is compromised

Good news, everyone: it will!

Re:Data Breach Reveals 100k IEEE.org Members' Plaintext Pass... by batista on Tuesday September 25, 2012 @05:35PM (#4572799)
No, it won't. They can just write a new password + salt in the db and get in as that user.
Re:Data Breach Reveals 100k IEEE.org Members' Plaintext Pass... by ZoFreX on Wednesday September 26, 2012 @04:08AM (#4574653)
Well, we need to define the attack if we're going to talk about what will and won't help. Generally when we talk password security, we assume the attack is to discover a large number of users' passwords, not to spoof as one. Additionally, it's more common to get read-only access to the data than it is to be able to execute arbitrary queries against the DB.
Re:Data Breach Reveals 100k IEEE.org Members' Plaintext Pass... by shakesbeard on Tuesday September 25, 2012 @06:00PM (#4572916)
But maybe that's not want you want to achieve?