MFA and passkeys: not all second factors are equal
Multi-factor authentication stops most account takeovers, but SMS codes and push prompts can still be phished or spammed. How each method fails, and why passkeys are the first ones that don't fall for a convincing fake site.
In one sentence
Any MFA beats a password alone. But only phishing-resistant methods, passkeys and security keys, stop a real-time phishing proxy, because the browser checks the domain instead of trusting the human.
Compare the methods
A modern phishing kit doesn't just copy your login page: it sits between the user and the real site, relaying the password and the 6-digit code in real time, and keeps the session cookie it gets back. Codes typed by a human can be relayed. A passkey signature can't, because it's bound to the real domain.
Password alone isn't enough.
The proxy relays your code within seconds.
The attacker receives your SMS.
Nothing to spam: the code is typed.
| Password reused from a breach | Real-time phishing proxy | SIM swap | MFA fatigue | |
|---|---|---|---|---|
| Password only | ✕ | ✕ | ✕ | ✕ |
| SMS code | ✓ | ✕ | ✕ | ✓ |
| Authenticator app | ✓ | ✕ | ✓ | ✓ |
| Push approve | ✓ | ✕ | ✓ | ✕ |
| Passkey | ✓ | ✓ | ✓ | ✓ |
How passkeys work
- At sign-up the device creates a key pair for your domain. The private key stays in the device's secure hardware (synced by the platform's password manager); your server stores only the public key.
- At login the server sends a random challenge. The device asks for a fingerprint, face or PIN, then signs the challenge together with the origin the browser is on.
- On
paypa1-login.examplethe browser simply has no passkey for that domain, so there's nothing to phish.
Key takeaways
- 01MFA stops password reuse and most automated takeovers.
- 02SMS, codes and push can be phished, swapped or spammed.
- 03Passkeys are phishing-resistant because signatures are bound to the domain.
- 04Account recovery must be as strong as the login itself.
Check your understanding
1 of 3
Which MFA methods resist real-time phishing?
Related concepts
Brute force & rate limits
Limit guesses per IP and per account, slow down rather than lock out, block known breached passwords, and require MFA so a correct guess still isn't enough.
6 min read →Password storage
Never store passwords, store slow, salted hashes made with Argon2id or bcrypt. MD5 and SHA-256 are built to be fast, and fast is exactly what an attacker with GPUs wants.
7 min read →Sessions & cookies
A session cookie is as good as a password while it's valid. Ship it as HttpOnly; Secure; SameSite=Lax, keep it short-lived, and rotate it on login and privilege changes.
7 min read →