In short
Multifactor authentication (MFA) requires at least two different forms of identity verification: something you know (a password), something you have (a phone, a security key), or something you are (a fingerprint). It prevents a stolen password from being enough to take control of an account. Not all methods are created equal: FIDO2 keys and passkeys are resistant to phishing, but SMS codes are not.
The methods, from weakest to strongest
| Method | Resistant to phishing? | Point to Note |
|---|---|---|
| SMS code | No | Vulnerable to SIM swapping and fake web pages that relay the code |
| App-based code (TOTP) | No | Better than SMS, but the code can be entered on a fake page |
| Notification to be confirmed | No | To avoid MFA fatigue, opt for notifications that ask you to enter a number |
| FIDO2 security key or passkey | Yes | Tied to the website’s domain: cannot be used on a fake page |
Two-factor authentication (2FA) is a specific type of two-factor authentication.
How attackers bypass it
- Phishing with relays: A fake page transmits the password and code to the real site in real time, then takes over the open session.
- MFA fatigue: a barrage of verification requests sent until the user agrees.
- Hijacking a phone line to receive the victim’s text messages.
- Application flaws: a reset process or an outdated API that does not require the second factor.
This last point can only be verified by testing the app: a properly configured MFA on the login page is useless if there’s another way to bypass it.
Where to enable it first
ANSSI recommends prioritizing multi-factor authentication, particularly possession-based factors. The most vulnerable access points take priority: email, VPNs and remote access, administrative accounts, cloud services, and payment accounts.
Frequently asked questions
Is SMS-based MFA sufficient?
It’s better than no MFA at all, but it’s the weakest method. For sensitive accounts (administrators, executives, finance), prioritize a FIDO2 key or a passkey—widely available methods that are resistant to phishing.
Sources
Find out where an attacker would get in.
Our AI agents actually attack your scope, fully automated, and hand you the proof of every vulnerability.
