Two Factor Authentication - weak link?
Two Factor Authentication - weak link?
Author
Discussion

jesusbuiltmycar

Original Poster:

5,144 posts

285 months

Monday 22nd October 2018
quotequote all
I was chatting to someone over the weekend whose son had their iphone nicked. The theives then starting 'phishing' for passwords after compromising the guy's Facebook account. Within an hour they used his facebook account / messenger to contact his girlfriend asking for the password, which luckliy she didn't know...

They compromised his Facebook account by removing the SIM from the stolen phone, putting it a generic Android phone then requesting a new password from Facebook, wherby a Two-Factor Authentication (2FA) code was sent to the stolen SIM.

This makes me very concerned about how easy it is for scrotes to break into accounts if they have the device used for 2FA. I thought that most sites that use 2FA for password reset requests asked for the answers to one or more security questions before sending a reset code....


Apart from adding a SIM PIN does anyone have any suggestions for a better security practice & protecting email/icloud/password manager accounts?

Edited by jesusbuiltmycar on Monday 22 October 13:38

robbieduncan

1,993 posts

267 months

Monday 22nd October 2018
quotequote all
Don't use SMS for the second factor. Use a code generator app (OK unless they manage to unlock your phone) or a physical second factor device (RSA key, yubikey or something like that)

juice

9,936 posts

313 months

Monday 22nd October 2018
quotequote all
SMS is also subject to MITM attacks.

ging84

9,548 posts

177 months

Monday 22nd October 2018
quotequote all
Just because 2fa solutions sometimes involves sending a token to a phone, does not mean sending anything to a phone is always part of a 2fa solution.

If facebook choose to allow a on time password reset token/link to be sent to a mobile phone and make that the only thing needed to gain complete control of the account, that has nothing to do with 2fa, the token is a single factor.
That is just a fairly bad security decision, but facebook never really have been on the cutting edge in terms of user security.



Tuna

19,930 posts

315 months

Monday 22nd October 2018
quotequote all
The point is that you *know* that if your phone is stolen, then accounts on it are potentially compromised.

JustALooseScrew

1,154 posts

98 months

Monday 22nd October 2018
quotequote all
juice said:
SMS is also subject to MITM attacks.
I'm curious about this claim, does that MITM attack happen in the core network or on air?



bitchstewie

68,520 posts

241 months

Monday 22nd October 2018
quotequote all
This doesn't sound like a 2FA issue it sounds like a st implementation issue if you're saying you can click "reset password" and all you need is the phone number and not an email link and THEN a SMS code.

Remember 2FA isn't a silver bullet, but if done correctly it's almost always better than not having it.

ging84

9,548 posts

177 months

Monday 22nd October 2018
quotequote all
JustALooseScrew said:
I'm curious about this claim, does that MITM attack happen in the core network or on air?
generally neither, they use social engineering / stolen identity / bribes to get a replacement sim issued by the carrier

silentbrown

11,027 posts

147 months

Monday 22nd October 2018
quotequote all
2-Factor is typically something you have + something you "know".

Sounds like the phone was unlocked when it was nicked. Either very unlucky, or maybe not bothering to keep the phone locked?

juice

9,936 posts

313 months

Monday 22nd October 2018
quotequote all
JustALooseScrew said:
I'm curious about this claim, does that MITM attack happen in the core network or on air?
In the air and on the device.

On the device : Via malware (MitMo) on the phone, to capture the traffic. Android phones are more susceptible due to the nature of the Play Store.

In the Air : SMS isn't encrypted by default and if it is, it's still stored in clear-text in the SMSC before onward transmission. Then there's the possibility of SS7 itself being hacked.

I'd go with a push method for 2FA all day long over SMS.

silentbrown

11,027 posts

147 months

Tuesday 23rd October 2018
quotequote all
juice said:
In the Air : SMS isn't encrypted by default and if it is, it's still stored in clear-text in the SMSC before onward transmission. Then there's the possibility of SS7 itself being hacked.
It's not well encrypted, and (as you say) there's no guarantee it's end-to-end encrypted, but unless you're in India or somewhere it *should* be encrypted over the air.

https://security.stackexchange.com/questions/11493...

Mosman

778 posts

236 months

Wednesday 24th October 2018
quotequote all
How did they know his name/Facebook login? I assume there was no passcode on the phone? Surely that's the week link?

bitchstewie

68,520 posts

241 months

Wednesday 24th October 2018
quotequote all
I still encounter people who have no PIN or lock of any kind on their phone.

It mystifies me.

ging84

9,548 posts

177 months

Wednesday 24th October 2018
quotequote all
Mosman said:
How did they know his name/Facebook login? I assume there was no passcode on the phone? Surely that's the week link?
you type the phone number in here
https://www.facebook.com/login/identify

Mosman

778 posts

236 months

Thursday 25th October 2018
quotequote all
ging84 said:
Mosman said:
How did they know his name/Facebook login? I assume there was no passcode on the phone? Surely that's the week link?
you type the phone number in here
https://www.facebook.com/login/identify
Ah I see, got it. So the person who lost the phone had their mobile phone number set as the destination for the recovery code.

I checked what I had setup and it's two email addresses so as long as those addresses are secure you are OK. Interesting to check if I have anything set with 2FA that uses text messages and not emails.

buggalugs

9,297 posts

268 months

Thursday 25th October 2018
quotequote all
The other thing that can happen is the bad guys trick your mobile provider into porting your number away from you without your knowledge. Try sorting that mess out.