How it works · 18 of 34 Core
Why are SMS codes weak, and why are passkeys stronger second factors?
Why SMS codes fail (SIM swap)
Second factors & passkeys: A second factor asks for something besides the password, but not all are equal: an SMS code can be redirected by moving your phone number to a new SIM, and any typed code can be relayed by a fake page; a passkey is tied to the real website and won't work anywhere else.
Loading the animation…
Say it like this A second factor only helps if the thief can't redirect it or relay it: SMS can be moved to his SIM, any typed code can be passed on by a fake page, and only a passkey, tied to the real site's name, refuses both.
Under the hood — for builders
- Three factors against three attacks
- Each second factor, tested against the SIM swap, a pass-through fake page (C1), and a thief who already has the password:
- Real example: why the passkey won't work on the copy
- A passkey is saved for one site name (its "relying party ID"). The browser checks the page's address against it before it will sign:
- What the passkey actually does
- No code is typed. The site sends a random challenge; the phone signs it with a private key that never leaves it (B4); the site checks with the public key it stored:
- SIM swaps: the FBI's count
- Complaints to the FBI's Internet Crime Complaint Center about SIM swapping, and money lost:
- When the server itself is hacked
- No factor survives that: our gunra paper's attackers rigged a login server so one code of theirs always passed.
- Do first
- Passkeys or security keys for admins, email and VPN; SMS only as a fallback; a SIM-swap or port lock from your operator.
- Watch out
- Push "Approve?" prompts can be spammed until someone taps yes; prefer number matching or passkeys.
- Sources
- FBI IC3 PSA I-020822-PSA · NIST SP 800-63B · CISA, phishing-resistant MFA · W3C WebAuthn · FIDO Alliance.
What happens in the second factors & passkeys animation, step by step?
- Your bank texts you a code: the second lock. Without your phone, a thief with your password is stuck. Or is he?
- The thief calls or visits your mobile operator as you, and moves your number to his new SIM. Your phone quietly loses signal.
- The bank's next code flies to the number, and the number is now his. 1,611 such cases reported to the FBI in 2021: over $68 million taken.
- Your turn: pick a second factor. Watch it face the SIM swap, then the fake page from C1.
- An app code survives the swap, but a fake page can relay it. A passkey is tied to the real site's name: on the fake, it simply doesn't work.
- Even passkeys guard only the login. What if the thief steals what you're given after it? Next: session theft.
What everyday example explains second factors & passkeys?
Your post redirected. If a thief convinces the post office you've moved, the bank's letter with your code goes to his address; a passkey is a key cut for one door that won't even turn in a copy of it.
Why should a team care about second factors & passkeys?
You will choose second factors for staff and customers; move admins, email and VPN to passkeys or security keys first, keep SMS only as a fallback, and ask your operator for a SIM-swap lock.