Choosing a second factor

Phishing-resistant MFA versus SMS one-time codes

Any MFA is better than a password alone, but SMS codes, authenticator-app codes and push approvals can be captured or approved through a fake page. Phishing-resistant MFA — FIDO2/WebAuthn security keys and passkeys — checks the real website address cryptographically, so a phishing site cannot reuse the response.

Why this happens

  • SMS codes can be typed into a fake page and relayed in real time, or intercepted through SIM-swap fraud.
  • Authenticator-app codes are still codes: a user can be tricked into entering them on a phishing site.
  • Push approvals can be accepted by mistake during repeated prompt attacks (MFA fatigue).

What to do, in order

  1. Keep existing MFA on; do not remove it while planning an upgrade.
  2. Identify accounts that support FIDO2/WebAuthn security keys or passkeys.
  3. Start with high-risk users: administrators, finance approvers and executives.
  4. Register a primary and a backup key per person, then restrict weaker methods where the service allows.
  5. Document recovery steps so a lost key does not become a help-desk shortcut for attackers.

Where a FIDO2 security key such as YubiKey fits

FIDO2/WebAuthn is an open sign-in standard supported by major browsers and many online services. When you register a security key, it creates a key pair tied to that service's real web address. At sign-in the key only answers for the genuine site, so a look-alike phishing page cannot obtain a usable response, and there is no code for someone to read out or forward. A YubiKey, manufactured by Yubico, is one widely used hardware security key that supports these standards.

A hardware security key keeps the credential on a separate physical device that requires a touch (and, depending on the service and model, a PIN or fingerprint). It works across supported computers and, with NFC models, compatible phones.

SMS remains common for banking and online services in Sri Lanka. Where a service only offers SMS or app codes, keep using them; where it offers security keys or passkeys, TKWIT can help you choose and enrol compatible keys.

What a security key cannot do

  • A security key cannot remove malware already running on a computer or phone. Malware can act inside a session after a legitimate sign-in.
  • It does not stop session-cookie or token theft once a session exists; short session lifetimes, device security and sign-in monitoring still matter.
  • Protection only applies to services and sign-in flows that support FIDO2/WebAuthn or FIDO U2F and where weaker fallback methods are restricted.
  • One-time-code (OTP) modes on a key are not phishing-resistant in the same way as FIDO authentication.
  • Only biometric models such as YubiKey Bio FIDO Edition have a fingerprint sensor; other models use a touch and, where required, a PIN.
  • No single control stops every cyberattack. A key is one layer alongside updates, backups, endpoint protection and staff awareness.

Frequently asked questions

Is SMS OTP useless?
No. It still blocks many automated password attacks. It is simply weaker against real-time phishing and SIM-swap fraud than FIDO-based methods.
Are passkeys the same as security keys?
A passkey is a FIDO credential. It can be stored on a phone or computer, or on a hardware security key. A hardware key keeps it on a separate device you carry.
Does a YubiKey's OTP mode give the same protection?
No. OTP modes produce codes that can still be phished. Use the FIDO2/WebAuthn or U2F method where the service supports it.

Related pages

More account security guides

Next step

Get help choosing and enrolling security keys

Share the accounts you want to protect, device connectors and number of users. TKWIT will confirm compatibility, availability and setup assistance in a quotation.

WhatsApp Call UsGet a Quote