Two-Factor Authentication: Know the Difference
Two-factor authentication (2FA) adds a second verification step beyond your password. But “2FA” covers a wide range of security levels. Understanding the differences helps you choose the right method.
SMS codes (weak)
How it works: A text message with a 6-digit code sent to your phone number.
Vulnerabilities:
- SIM swapping: Attackers convince your carrier to transfer your number to their SIM
- SS7 interception: The phone network protocol (SS7) has known vulnerabilities that allow SMS interception
- Phishing: Attackers can relay SMS codes in real-time through phishing pages
- Social engineering: Carrier customer service can be manipulated
Verdict: Better than nothing. Significantly worse than other 2FA methods. Use only when no other option is available.
Authenticator apps (good)
How it works: An app (Google Authenticator, Authy, Microsoft Authenticator) generates time-based one-time passwords (TOTP) that change every 30 seconds.
Strengths:
- Not vulnerable to SIM swapping or SS7 attacks
- Works offline (codes generated locally)
- Not interceptable through the phone network
Vulnerabilities:
- Phishing: Attackers can relay TOTP codes in real-time (though the window is short)
- Device compromise: If your phone is compromised, the authenticator app is too
Verdict: The right choice for most accounts. Good security with minimal friction.
Hardware security keys (best)
How it works: A physical device (YubiKey, Google Titan) that uses FIDO2/WebAuthn protocol. You insert or tap the key to authenticate.
Strengths:
- Phishing-proof: The key cryptographically verifies the website’s identity. A phishing site can’t trigger authentication
- Not vulnerable to SIM swapping, SS7, or device compromise
- No codes to intercept
Vulnerabilities:
- Physical theft (mitigated by registering multiple keys)
- Limited website support (growing but not universal)
- Cost ($25-50 per key, need at least two)
Verdict: The strongest available 2FA. Essential for high-value accounts (email, password manager, financial).
Passkeys (emerging)
How it works: Cryptographic credentials stored on your device (phone, computer) or in a password manager. Uses biometric or PIN authentication locally.
Strengths: Phishing-resistant, no codes, seamless UX Limitations: Still early adoption. Cross-platform support improving but not complete.
Which to use where
- Email and password manager: Hardware key (these protect everything else)
- Financial accounts: Hardware key or authenticator app
- Social media: Authenticator app
- Everything else: Authenticator app minimum, hardware key ideal
Never rely solely on SMS 2FA for important accounts.