Earlier quoted context omitted.
> it can easily take a second to check a hash On what hardware?
With bcrypt you can set a parameter which determines how slow it is. So if hardware gets faster, you can change the parameter. (brcrypt uses 2^n iterations where n is the parameter.) So it doesn't matter on what hardware, if you want bcrypt to take 1 second on modern hardware (for any value of "modern"), you can.
Passwords for 32M Twitter accounts may have been hacked and leaked
91–100 of 199 posts
Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#92Earlier quoted context omitted.
How can a salt change on every encoding? There has to be a reference point, no?
You can hash a fixed salt + password + some other user info like surname or email address. That way if you have the salt you can't just compute the hash of salt+"123456" to see who had that, you have to compute separately for each user.
Each record should have a unique, random salt. You then store salt:hash(salt+password).
There are numerous guides on how to do this properly, for example https://www.owasp.org/index.php/Password_Storage_Cheat_Sheet
Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#93Earlier quoted context omitted.
It would allow you to bruteforce the passwords without any sort of rate limiting. So, if you used a dictionary, you probably could get quite a few weak passwords in a short amount of time relative to a system that had proper rate limiting to prevent these kinds of attacks.
Depends what you mean by short amount of time. Depending on the strength selected with bcrypt, it can easily take a second to check a hash. On a 30m password database, this will take a year on one machine to check just who is using "monkey" as a password.
Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#94Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#95Earlier quoted context omitted.
How can you say it doesn't scale? You just need to spin up a cluster that is powerful enough to get down to let's say a week. The cost of this would be a joke for a company / institution of a certain size.
1 week only tests 1 password. It would have to run for years to get a decent set of results. I don't see how a company can afford all that hardware and power to do something that is illegal to begin with. How do they monetize it to get a return?
An evildoer would use stolen credentials, stolen credit cards, or stolen hardware (botnets).
Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#96Why doesn't Twitter have 2FA or U2F? Problem solved, at least in terms of users not losing reputation within their own social space because someone is posting as them.
Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#97Why doesn't Twitter have 2FA or U2F? Problem solved, at least in terms of users not losing reputation within their own social space because someone is posting as them.
Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#98Earlier quoted context omitted.
Was just trying to set this up, and not great (IMHO). The feature is called "Login Verification", I think, and it's only SMS based, no Google Authenticator / Authy style one-time password... Also, it was saying I needed to verify my email address before that feature can be used, but there was no option to verify the email address that is used since I've registered almost a decade ago... Had to change my email (used t…
Curious, why is SMS-based auth a downside in your opinion? I prefer to use SMS-based 2FA where available, as you can always pop the sim card into whatever device you have on hand and receive the code. As opposed to smartphone app, where you are tied to a particular device being available and in working order.
Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#99Why doesn't Twitter have 2FA or U2F? Problem solved, at least in terms of users not losing reputation within their own social space because someone is posting as them.
Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#100Earlier quoted context omitted.
I suppose the main danger is the possibility that someone might, at some point in the future if processing power should suddenly take a leap forward, come up with a way to crack them.
Would something like an ASIC help the attacker, I wonder?