Security Playbook
15 · Authentication & sessionsOWASP A07:20257 min read

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.

Which login survives which attack?
Second factor
Password reused from a breach✓ Holds

Password alone isn't enough.

Real-time phishing proxy (paypa1-login.example)✕ Attacker wins

The proxy relays your code within seconds.

SIM swap✕ Attacker wins

The attacker receives your SMS.

MFA fatigue (50 push prompts at 3 AM)✓ Holds

Nothing to spam: the code is typed.

Password reused from a breachReal-time phishing proxySIM swapMFA fatigue
Password only✕✕✕✕
SMS code✓✕✕✓
Authenticator app✓✕✓✓
Push approve✓✕✓✕
Passkey✓✓✓✓
Any MFA stops password reuse. Only phishing-resistant methods (passkeys / security keys) stop a real-time phishing proxy, because the browser checks the domain, not the human.
Pick a method to see how it does against four common attacks.

How passkeys work

  1. 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.
  2. 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.
  3. On paypa1-login.example the 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