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

Craig Wright Sentenced For Contempt Of Court

Suspended prison sentence for Craig Wright for “flagrant breach” of court order, after his false…

2 days ago

El Salvador To Sell Or Discontinue Bitcoin Wallet, After IMF Deal

Cash-strapped south American country agrees to sell or discontinue its national Bitcoin wallet after signing…

2 days ago

UK’s ICO Labels Google ‘Irresponsible’ For Tracking Change

Google's change will allow advertisers to track customers' digital “fingerprints”, but UK data protection watchdog…

2 days ago

EU Publishes iOS Interoperability Plans

European Commission publishes preliminary instructions to Apple on how to open up iOS to rivals,…

3 days ago

Momeni Convicted In Bob Lee Murder

San Francisco jury finds Nima Momeni guilty of second-degree murder of Cash App founder Bob…

3 days ago