iPhone SMS 2-Factor Authentication Bypass


SMS 2-factor authentication has been implemented by a number of security conscious organisations, including banks, to secure online transactions. SMS 2-factor authentication has had a major impact in reducing online fraud. This is because an attacker most not only capture the victim's username and password to login to their bank account, but they must now also have the victim's phone to receive the SMS 2-factor authentication token. This restricts the number of possible attackers dramatically.

This security control has been around for a while now and has been very successful. With the introduction and dramatic increase in the number of smartphones available these days, such as iPhones and Androids, the effectiveness of this security control is slowly decreasing. Why?

Previously, a user would login to their internet banking on their laptop, and then receiving the SMS token on a separate device (their mobile). The attacker may be able to capture the username and password of the victim, but they are unable to capture the SMS token. Nice and secure.

Now we find that users are logging into their internet banking on their smartphone, and then receiving the SMS token on the same device. This means that an attacker who has hacked the victim's smartphone, most likely via a malicious website, is now able to capture the username, password, and SMS token all on the one device. Doh!

I have put together a quick demonstration video performing this attack. The victim's iPhone has already been compromised and the attacker has remote command line access on the iPhone. Take a look below.

Enjoy,
Ty





jkramz bartolaba   10/20/11 21:54

I was looking forward for this post to come out. I may missed it but I never stop in finding your blogs and posts. Thanks for taking time and sharing your ideas, thoughts and perspective which readers can learn something from it.
I just hope you will continue doing what you are doing now. I love you blog and you every posts.

shekhar   06/20/11 17:32

very nice blog

Post new comment

The content of this field is kept private and will not be shown publicly.

Most Popular List

06/05/2011 | Written By Gordon Maddern | 44,265 Hits
About a month ago I was chatting on skype to a colleague about a payload for...
28/06/2011 | Written By Sandeep Nain | 6,716 Hits
Coming from a family of civil engineers, I always knew that it is a rigorous...
17/02/2011 | Written By Josh Zlatin | 6,000 Hits
Recently a floating point DoS vulnerability surfaced in both PHP and Java. Th...
15/10/2011 | Written By Ty Miller | 4,317 Hits
Lets say that at some point you decided to adhere to security best practices...

Most Recent Posts List

03/01/2012 | Written By Josh Zlatin | 1,349 Hits
Someone asked me about the Hash DoS attack recently disclosed at CCC, so...
02/12/2011 | Written By Josh Zlatin | 596 Hits
On a recent engagement we gained unrestricted administrative access to...
16/11/2011 | Written By Josh Zlatin | 1,246 Hits
Often when implementing customised ModSecurity solutions we need to...
15/10/2011 | Written By Ty Miller | 4,317 Hits
Lets say that at some point you decided to adhere to security best practices...