Re:Passwords for 32M Twitter accounts may have been hacked a...
by DasIch on Thursday June 09, 2016 @07:59AM
(#11868786)
Chances are that you can't afford the most modern hardware. An attacker at least temporarily can probably afford more than you can. If you configure bcrypt so that an attacker spends 1s, it will be to slow to be practical for you.
[ Parent
| on HN ]
Re:Passwords for 32M Twitter accounts may have been hacked a...
by sokoloff on Thursday June 09, 2016 @10:01AM
(#11869405)
Yes, but even if you allow it to only take 1ms per check for an attacker, it's still practical for you and will take an attacker 4 minutes per account to check all of /usr/share/dict/words (to say nothing of the "add a 1 or a ! at the end"), so long as you are using random per-account salt (which bcrypt basically guides you towards).
Make it 15ms for an attacker and it becomes an hour per account just for the dictionary.
Re:Passwords for 32M Twitter accounts may have been hacked a...
by DasIch on Thursday June 09, 2016 @11:39AM
(#11870100)
True but in reality an attacker won't just use any dictionary. They look at password leaks, figure out what passwords people are actually using and what the most popular ones are.
You also can't assume that all accounts are equally valueable. An attacker might very well prioritize some of them.
This doesn't render all of this useless but I think you shouldn't consider even best solutions out there to be anything else than a temporary barrier. It's a good one and you probably will have enough time to change your password after a leak but you really do need to change your password within a week or so.