by LorenDB · 2y ago · 0 comments
It may be an unpopular opinion, but I'm sticking to my guns on this one. https://lorendb.dev/posts/lets-ban-sms-2fa/
The trouble is not SMS being used for 2FA, but rather that using it as the password reset mechanism effectively means it's now the single authentication factor. This is really bad because SMS (due to SIM swapping) is significantly worse than regular passwords.
When SMS is actually a second factor it's still actually an improvement over no 2FA for most users, because now in addition to just stealing your password the attacker has to SIM swap you or find some other means to get the 2FA code.
Your proposed fixes (TOTP, Passkeys) are arguably no better if they are also used as single factor password resets.
I think the problem is really for password recovery you need N+1 authentication mechanisms -- in other words for 2FA login, you need a 3rd password recovery mechanism so you can still do a 2FA password recovery in case one of the first two factors is unusable. Few sites do this right.
1. First off, SMS 2FA is certainly better that _no_ 2FA. The primary breach vector is credential stuffing, and SMS 2FA is much better than just using a password in that scenario. Importantly, I'm referring to cases where 2FA is the second factor - cases where you can reset everything with just a passcode (usually forgot password scenarios) isn't really 2FA.
2. Thus, the primary alternatives are TOTP and Passkeys. If your service needs to support a wide variety of technically savvy (or not) users, and ages, I would say these are not really viable, at least not yet. I've seen many, many people struggle with setting up TOTP and using passkeys/hardware keys.
My opinion is that SMS 2FA is much better than nothing, as long as it's an actual second factor.
So it becomes easy choice for companies, this leads to non-savvy to stay non-savvy.
the answer to stuffing is to mandate services cross reference their account lists against open leaked lists. thats best practice, and not enough sites are banning known passwords.
sms backdoor is WORSE than "nothing" when nothing equals a unique non reused key.
I'm not religious per say but I do believe in Murphy.
Heck, update with this use case as an example and (re?)post the blog to HN/etc