Twitter Boosts Two-Factor Authentication After Criticism

Micro-blogging giant Twitter has improved its two-factor authentication, following complaints it didn’t do enough to protect users when it launched the feature earlier this year.

The key change is that Twitter is no longer using verification codes sent over SMS text messages. Instead, it has adopted a more secure method involving cryptographic key exchanges and the mobile Twitter app.

Twitter does smarter security

As soon as users sign up to two-factor authentication, their phone generates an asymmetric 2048-bit RSA keypair. The private key is stored locally on the device, whilst the public key is kept on Twitter servers.

“Whenever you initiate a login request by sending your username and password, Twitter will generate a challenge and request ID –– each of which is a 190-bit (32 alphanumerics) random nonce –– and store them in memcached,” Twitter explained, in a blog post. Each is a “nonce”, a string designed to be used only once.

“The request ID nonce is returned to the browser or client attempting to authenticate, and then a push notification is sent to your phone, letting you know you have a login verification request.

“Within your Twitter app, you can then view the outstanding request, which includes several key pieces of information: time, geographical location, browser, and the login request’s challenge nonce. At that point, you can choose to approve or deny the request.”

For users who don’t have their phone, a backup code can be used. That backup code is protected with extensive hashing.

Twitter encouraged users to store the code safely and backup the cryptographic material stored on phones.

The micro-blogging firm failed to impress when it launched two-factor authentication in May, receiving criticism for using the SMS method. Critics also noted that organisations would not be able to use the extra layer of protection unless all users of  a Twitter account shared the same computer.

Many recent Twitter account hijacks have hit media organisations, where multiple users are responsible for updating profiles, making two-factor authentication almost impossible to implement effectively. Twitter is yet to address that latter issue properly.

What do you know about Internet security? Find out with our quiz!

Thomas Brewster

Tom Brewster is TechWeek Europe's Security Correspondent. He has also been named BT Information Security Journalist of the Year in 2012 and 2013.

Recent Posts

UK’s CMA Readies Cloud Sector “Behavioural” Remedies – Report

Targetting AWS, Microsoft? British competition regulator soon to announce “behavioural” remedies for cloud sector

4 hours ago

Former Policy Boss At X Nick Pickles, Joins Sam Altman Venture

Move to Elon Musk rival. Former senior executive at X joins Sam Altman's venture formerly…

6 hours ago

Bitcoin Rises Above $96,000 Amid Trump Optimism

Bitcoin price rises towards $100,000, amid investor optimism of friendlier US regulatory landscape under Donald…

8 hours ago

FTX Co-Founder Gary Wang Spared Prison

Judge Kaplan praises former FTX CTO Gary Wang for his co-operation against Sam Bankman-Fried during…

8 hours ago