Twitter Overhauls Two Factor Authentication System

  /     /     /  
Publicated : 22/11/2024   Category : security


Twitter Overhauls Two Factor Authentication System


Take two: Twitter drops SMS for private keys stored on Android or iPhone smartphones, adds previously missing recovery capability.



(click image for larger view)
10 Twitter Power Tips
Twitter unveiled version 2.0 of its home-built two-factor authentication system Tuesday, which the company promised was more secure than its previous offering.
Dubbed login verification, Twitters new approach eschews sending one-time codes via SMS to a phone. Instead, the second factor is provided via a unique, private key that resides only on a users Android or iPhone, and which is generated by the Twitter app.
When you enroll, your phone generates an asymmetric 2048-bit RSA keypair, which stores the private key locally on the device and sends the public key, which Twitter stores as part of your user object in our backend store, to the server, said Twitter security engineer Alex Smolen in a
blog post
.
If a user enables the feature, whenever someone attempts to log into his Twitter account -- using a valid username and password -- the site then sends a push notification, requesting verification, to the users smartphone.
[ Whos worth following? Read
10 IT Leaders To Follow On Twitter
. ]
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 requests challenge nonce [one-time request ID], said Smolen. At that point, you can choose to approve or deny the request. If you approve the request, the client will use its private key to respond by signing the challenge. If the signature is correct, the login request will be marked as verified.
What happens if the smartphone thats been used to generate the private key for a users Twitter account goes missing? Helpfully, Twitter now offers a one-time-use backup code. We encourage you to store it somewhere safe, said Smolen, who noted that this code is randomly generated, using an algorithm inspired by
S/KEY
. In addition, that code is hashed 10,000 times to make the backup code work without sharing secrets, he said, meaning an attacker shouldnt be able to reverse-engineer the code and recover a password. Smolen said the move to an SMS-free system defends against the potential that the server being used to generate one-time codes might be compromised. We chose a design that is resilient to a compromise of the server-side datas confidentiality: Twitter doesnt persistently store secrets, and the private key material needed for approving login requests never leaves your phone, he said.
The approach also sidesteps the problem of smartphones being infected by malware that could intercept one-time SMS codes. That capability already has been seen with Android malware thats designed to
intercept mobile transaction authorization numbers
(mTANs) -- one-time codes -- sent by some banks to customers before approving a high-value transaction request.
No malware that I know of has gone after non-bank SMS codes. But to do so would be extremely trivial for such malware, said Sean Sullivan, security advisor at F-Secure Labs, via email, who called Twitters SMS-free approach a useful feature.
Referring to the Syrian Electronic Army (SEA), Sullivan added, The SEA kind of cooled off, at least on Twitter --
if not Channel 4
-- but there will definitely be attempts on high-profile accounts in the future.
Twitter
first began offering two-factor authentication
in May, following a number of embarrassing high-profile takeovers of Twitter accounts by the likes of the SEA. Those takeovers included a hoax post via the Associated Press (AP) account about a
bomb at the White House
that lead to a temporary plunge in the Dow Jones industrial average.
But Twitters first two-factor authentication system was relatively basic, and many security experts recommended avoiding it. That system involved sending a one-time code to a mobile phone via SMS, which a user then needed to input into the Twitter website. But the system offered no compatibility with authentication software -- such as Google Authenticator -- that might already reside on a users mobile device. Furthermore, it offered no backup access to accounts if the phone got lost, and was limited to one phone per account, which made it unsuitable for use with group accounts.
Twitters revamped system seems to have addressed those problems, and perhaps more. We wanted to come up with a design where it is only stored on the client side; the secrets only stored on the phone, Smolen
told
Wired
.
But in the wake of National Security Agency whistleblower Edward Snowdens revelations into the U.S. governments
current surveillance programs
, there might be more to that statement than first meets the eye, said F-Secures Sullivan. The secret is only on the client side, he said. So I guess the NSA cannot ask Twitter for the secret? That definitely seems to fit Twitters way of doing things. Maybe the security gag orders have kept Twitter from saying just why theyre doing it this way?

Last News

▸ IoT Devices on Average Have 25 Vulnerabilities ◂
Discovered: 23/12/2024
Category: security

▸ DHS-funded SWAMP scans code for bugs. ◂
Discovered: 23/12/2024
Category: security

▸ Debunking Machine Learning in Security. ◂
Discovered: 23/12/2024
Category: security


Cyber Security Categories
Google Dorks Database
Exploits Vulnerability
Exploit Shellcodes

CVE List
Tools/Apps
News/Aarticles

Phishing Database
Deepfake Detection
Trends/Statistics & Live Infos



Tags:
Twitter Overhauls Two Factor Authentication System