News for hackers. Stuff that matters.
Re:Slack was hacked by antsar on Friday March 27, 2015 @02:39PM (#9278242)
Is this true? I would think that static bits are no more dangerous than not having the bits at all.
Re:Slack was hacked by danbruc on Friday March 27, 2015 @02:49PM (#9278299)
Here is for example an attack recovering a 384 bit ECDSA key [1] by knowing the five least significant bits of the nonce (obtained by a side channel attack) for 4000 signatures. Now hashes and signatures are obviously very different things but I would not bet on the fact that a bias in the salt does not matter.

[1] https://eprint.iacr.org/2013/346.pdf

Re:Slack was hacked by dchest on Saturday March 28, 2015 @10:23AM (#9281571)
ECDSA is a completely different beast. I'm not aware of a modern password hashing function that would be broken if it was given a non-uniformly random salt. If such function were to be submitted to PHC (https://password-hashing.net/), I would consider it to be a disqualifying factor.

For password hashing purposes, salt doesn't need to be uniformly random, the only requirement for salt is to be unique and unpredictable to the attacker (see http://crypto.stackexchange.com/questions/6119/hashing-passw...). Most password hashing functions use a cryptographic hash on salt.

This particular function, scrypt, uses one-round PBKDF2-HMAC-SHA256 to mix password and salt:

https://github.com/golang/crypto/blob/master/scrypt/scrypt.g...

PBKDF2 feeds salt, basically, into SHA256:

https://github.com/golang/crypto/blob/master/pbkdf2/pbkdf2.g...

Re:Slack was hacked by danbruc on Saturday March 28, 2015 @08:55PM (#9283439)
If there was a known attack it would obviously be a non-starter. But why take the risk that someone will come up with something comparable - in the broadest sense - to say the differential attack on MD5 that allows exploiting known bits in the salt if there is no need to?
Re:Slack was hacked by antsar on Friday March 27, 2015 @03:33PM (#9278529)
Interesting. Thanks for the link!