Earlier quoted context omitted.
What? No. Don't use a fixed salt. 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
Though of coure you don't actually do that, you use something like bcrypt that does this for you.
Passwords for 32M Twitter accounts may have been hacked and leaked
111–120 of 199 posts
Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#112Earlier quoted context omitted.
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?
And don't forget, that every 18 months, the amount of processing power you get for a modest price, doubles.
It's hard to get specific numbers about a trend that just changed. But the double every 18 months is now clearly wrong.
We've got a couple of approximately 27 months doubling, but that is past too. My bet is that we won't get a fixed number ever again.
Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#113Why 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.
They do. In fact, I just logged in to change my password and had to go get my phone from another room so I could read the code. The annoying thing is that they don't support Google Authenticator or some other TOTP/HOTP token generator. It sucks trying to log into services that use SMS based 2FA when you are not in an are where you get cell reception.
Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#114Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#115Earlier quoted context omitted.
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.
Airplanes are a big one for me as a frequent traveler. Every plane has wifi but you can't receive SMS. If my previous cookie expired or the site thinks the plane's IP is new and strange, then I might have no way to sign in from the air.
Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#116Earlier quoted context omitted.
Though of coure you don't actually do that, you use something like bcrypt that does this for you.
Yes absolutely this - I was just trying to explain how salts should implemented - in the real world always use something like bcrypt or scrypt that does all this for you.
Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#117Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#118Earlier 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.
The concept actually makes sense, but it kind of assumes that the strength of the security will be increased at the same rate of which technology progresses, which I don’t think will always be the case. This is especially true when you consider potential “bursts” in computation speed progression.
That being said, I’m not implying that I have a better idea. Running algorithms that take 30 seconds to execute isn’t going to work for logging into your Twitter account either.
Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#119Earlier quoted context omitted.
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?
And don't forget, that every 18 months, the amount of processing power you get for a modest price, doubles.
Re: Passwords for 32M Twitter accounts may have been hacked and leaked
#120Earlier quoted context omitted.
They do. In fact, I just logged in to change my password and had to go get my phone from another room so I could read the code. The annoying thing is that they don't support Google Authenticator or some other TOTP/HOTP token generator. It sucks trying to log into services that use SMS based 2FA when you are not in an are where you get cell reception.
App based 2FA seems extremely limiting. I don't want to install their app on my phone.