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
- Keep existing MFA on; do not remove it while planning an upgrade.
- Identify accounts that support FIDO2/WebAuthn security keys or passkeys.
- Start with high-risk users: administrators, finance approvers and executives.
- Register a primary and a backup key per person, then restrict weaker methods where the service allows.
- 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
Microsoft 365, Outlook and Gmail
How to stop your email account being hackedPractical steps to protect Microsoft 365, Outlook and Gmail accounts from phishing and takeover, and where a FIDO2 security key fits. Advice for Sri Lanka.
For organisations of every size
How to prevent business account takeoverReduce business account takeover risk with phishing-resistant MFA, named-user security keys, backup keys and recovery planning. Guidance for Sri Lankan firms.
High-value accounts
Protecting finance, banking and cryptocurrency account accessHow to protect finance approvals, banking, stockbroking and crypto exchange logins from phishing, where FIDO2 security keys are supported, and what they cannot stop.
BPO and contact-centre teams
Preventing employee credential phishing at BPOs and call centresReduce agent and supervisor credential phishing at Sri Lankan BPOs and call centres with named-user FIDO2 keys, backup planning and client-platform checks.
Admins, executives and remote workers
Securing privileged administrators and remote employeesProtect IT administrators, executives and remote staff in Sri Lanka with phishing-resistant MFA, backup keys and careful recovery, plus its limits.
FIDO2, WebAuthn and passkeys
Passkeys and passwordless sign-in for businessesWhat passkeys, FIDO2 and WebAuthn mean for business sign-in, when a hardware security key is a better home for a passkey, and how to roll out in Sri Lanka.
Biometric authentication
Fingerprint security keys and biometric sign-inHow fingerprint security keys work, which YubiKey models have a fingerprint sensor, and what biometric sign-in can and cannot protect, for buyers in Sri Lanka.
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.
