News for hackers. Stuff that matters.
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by aboutruby on Friday February 08, 2019 @09:45AM (#19114586)
Seems like most spammers / scammers are finding out passwords of old accounts instead of creating new ones (which are a pain to create due to the phone number verification and the disposable phone numbers ban).

Twitter should probably scan their user passwords for obvious / most-used ones and require their users to change their passwords.

Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by overcast on Friday February 08, 2019 @10:06AM (#19114813)
Assuming they aren't using plain text, or simple hashes, how would Twitter do that? Even a standard salted password against that many accounts is tens of millions of cpu hours. Using something like bcrypt would be 10,000x slower than that!
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by michaelbuckbee on Friday February 08, 2019 @10:09AM (#19114841)
Honestly, the easiest thing to do would be to force a password change on any user that hadn't logged in in X months.
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by darkmarmot on Friday February 08, 2019 @10:14AM (#19114908)
Since they have the salts, they could just take a common passwords list, generate the hashes associated with all of them, then force any users with matching hashes to change their passwords.
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by overcast on Friday February 08, 2019 @10:20AM (#19114972)
You're misunderstanding how this would work. This is effectively what a hacker would do brute force. You have to generate a hash for each password in your common list, for EACH salt in your user list.

326 million Twitter users x each password in your list.

Really comes down to which hashing function they chose, and how fast it does that calculation.

Something like bcrypt is roughly 100ms per hash, which is a LONG time when you're crunching billions of them.

Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by dasil003 on Friday February 08, 2019 @10:36AM (#19115137)
Do it lazily at auth time and use some recency and/or fingerprint heuristic to force either immediate block or password reset through email.
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by llukas on Friday February 08, 2019 @10:29AM (#19115064)
For 10k passwords and 100ms per hash it is 90 hours of single threaded execution time.

There is no excuse not to do it, especially you need to do it only once per user (until password change).

Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by kgermino on Friday February 08, 2019 @10:41AM (#19115187)
>For 10k passwords and 100ms per hash it is 90 hours of single threaded execution time.

That's 90 hours per account, multiply that by 326 million accounts and it's over a billion CPU days.

You can reduce it a lot (no need to spend time calculating the password for users who log in regularly, just wait for them to give it to you) but it's still a massive scale. Especially since the biggest risk comes from the millions of rarely used accounts.

Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by llukas on Friday February 08, 2019 @11:37AM (#19115896)
Correct. Forgot to multiply by 10^6
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by justsomedood on Friday February 08, 2019 @10:47AM (#19115254)
I'm getting 90 million hours of single threaded execution time for 326 million users with 10k passwords each, and 100ms per hash.
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by giancarlostoro on Friday February 08, 2019 @10:35AM (#19115130)
As somebody else commented, a quicker solution is to just force a password reset based on number of months since last login. If you havent logged in for over a year is a good rule of thumb.
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by overcast on Friday February 08, 2019 @10:41AM (#19115189)
Right, but I was replying to OP. "Twitter should probably scan their user passwords for obvious / most-used ones and require their users to change their passwords."
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by aboutruby on Friday February 08, 2019 @10:47AM (#19115249)
I mean, the account stealers can do it, and not Twitter itself? Which one has the most ressources?
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by overcast on Friday February 08, 2019 @10:57AM (#19115382)
Account stealers aren't brute forcing passwords. They are trying common passwords that dum dums often use, or circumventing by other means like email.
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by aboutruby on Friday February 08, 2019 @01:50PM (#19117428)
And then why couldn't Twitter itself do it?
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by overcast on Friday February 08, 2019 @02:38PM (#19117886)
Read my responses above.
[dead]
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by sctb on Friday February 08, 2019 @03:42PM (#19118461)
Could you please avoid commenting like this and post civilly and substantively?

https://news.ycombinator.com/newsguidelines.html

Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by sigfubar on Friday February 08, 2019 @10:25AM (#19115026)
Force every single user to change their password right now. When a new password is entered, check it against common passwords, and reject bad inputs as needed.
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by ElijahLynn on Friday February 08, 2019 @11:25AM (#19115726)
This would cause friction and they would lose users, which would piss off investors. This isn't a technical issue.
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by sigfubar on Friday February 08, 2019 @01:23PM (#19117125)
Considering the degree to which most Twitter users are trash, I wouldn't mind losing a few of those. The rest will understand the need for security.
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by penagwin on Friday February 08, 2019 @04:29PM (#19118867)
Yeah but you're not an investor. Twitters been struggling to make money for a long time, do you think the investors would be happy to see a decline in active users because of "security" - a concept they barely understand?
Re:Twitter Still Can't Keep Up with Its Flood of Junk Accoun... by sigfubar on Saturday February 09, 2019 @02:10PM (#19123992)
I’m not an investor in Twitter because I don’t invest in companies that are unable to assume an appropriate security posture. The same reasoning leads one to conclude that dilettantes who do hold Twitter stock deserve to get burned when poor security practices come home to roost.