Multi-factor authentication (MFA) is a sign-in method that requires at least two independent factors from different categories: something you know, such as a password, something you have, such as a phone or security key, and something you are, such as a fingerprint. Because an attacker would need to compromise several factors, MFA makes stolen or guessed passwords much less useful. Its strength depends on the methods used, with phishing-resistant methods such as FIDO2 security keys offering the best protection.
What is multi-factor authentication?
Multi-factor authentication (MFA) means that a user has to prove their identity with more than one kind of evidence before getting access. A password alone is a single factor: whoever knows it can sign in. With MFA, a stolen password is no longer enough, because the attacker also needs, for example, the user's security key or a code from their authenticator app.
This matters because passwords are lost in many ways: through phishing, reuse across sites, data breaches, malware or simple guessing. Attacks such as credential stuffing and brute-force attacks rely entirely on passwords being the only barrier. MFA raises that barrier significantly.
The three factor categories
- Knowledge: something you know, such as a password, PIN or answer to a security question.
- Possession: something you have, such as a phone with an authenticator app, a hardware security key or a smart card.
- Inherence: something you are, such as a fingerprint or face recognition.
The factors must come from different categories. A password plus a security question is still single-factor in this sense, because both are knowledge. Many modern methods combine factors in one step: a passkey on a phone is a possession factor, unlocked locally with a fingerprint or PIN.
2FA, MFA and two-step verification
Two-factor authentication (2FA) is MFA with exactly two factors, by far the most common form. Two-step verification is sometimes used for flows where the second step is not a truly independent factor, for example a code sent to an email account that can be opened with the same password. In everyday usage the terms are often mixed, so it is worth checking which factors a system really uses.
Common MFA methods compared
| Method | How it works | Strengths | Weaknesses |
|---|---|---|---|
| SMS or voice code | One-time code sent to a phone number | Easy, no app needed | SIM swapping, interception, phishable |
| TOTP app | Time-based one-time password (RFC 6238) from an authenticator app | Works offline, widely supported | Codes can be phished in real time |
| Push notification | Approve a sign-in on a registered device | Convenient | MFA fatigue unless combined with number matching |
| FIDO2 / WebAuthn security key or passkey | Cryptographic challenge bound to the website's origin | Phishing-resistant, no shared secret on the server | Needs enrolment and a recovery plan |
| Smart card / certificate | Private key on a card or device | Phishing-resistant, strong in managed environments | Hardware and certificate management effort |
For TOTP, the shared secret is usually exchanged through a QR code that encodes a URI like this:
otpauth://totp/Example:alice@example.com?secret=JBSWY3DPEHPK3PXP&issuer=Example&digits=6&period=30
Both the server and the app derive a new six-digit code from this secret every 30 seconds. Because the secret exists on both sides, it must be stored securely on the server.
Phishing-resistant MFA
Not all MFA is equally strong. With codes from SMS or apps, a phishing site can ask the user for the code and forward it to the real site within seconds. So-called adversary-in-the-middle phishing kits automate exactly this and also steal the session cookie that is issued after a successful sign-in.
FIDO2/WebAuthn methods, including hardware security keys and passkeys, prevent this: the browser binds the cryptographic response to the domain of the website, so a response created for a fake domain is useless for the real one. NIST SP 800-63B, the US guideline for digital identity, describes authenticator assurance levels and treats phishing resistance as a requirement at the highest level. Guidance from many security agencies recommends phishing-resistant MFA especially for administrators and remote access.
How attackers bypass MFA
- MFA fatigue (push bombing): repeated push prompts until the user approves one out of annoyance or confusion. Number matching and rate limits reduce the risk.
- Real-time phishing: a proxy site relays credentials and codes to the real service.
- Session hijacking: stealing a session token after sign-in, which bypasses MFA entirely until the session expires.
- SIM swapping: taking over a phone number to receive SMS codes.
- Help desk social engineering: convincing support staff to reset MFA or register a new device.
- Gaps in coverage: legacy protocols, service accounts or API keys that never required MFA in the first place.
MFA in regulations and frameworks
Several frameworks refer to MFA. NIS2 lists the use of multi-factor or continuous authentication, where appropriate, among the minimum risk management measures in Article 21. In payments, the EU's PSD2 requires strong customer authentication with two factors from different categories for many transactions. In a zero trust architecture, strong authentication is a basic building block, combined with least privilege and continuous verification.
Common mistakes
- MFA for users, not for admins and service paths: the most powerful accounts remain the weakest.
- Weak recovery: a strong second factor with a reset process that only requires an email.
- Remember-this-device forever: very long trust periods turn MFA into a one-time event.
- Legacy authentication left open: old protocols without MFA support offer a side door.
- No monitoring: nobody notices a wave of rejected push prompts or a newly registered authenticator.
Best practices
- Require MFA for all users, and phishing-resistant MFA for administrators and access to production.
- Centralise authentication through single sign-on, so MFA policies are enforced in one place.
- Use number matching for push and limit the number of prompts.
- Protect enrolment and recovery as strongly as sign-in itself.
- Disable legacy protocols and review service accounts and API keys separately.
- Log authentication events and alert on suspicious patterns.
The observability perspective
MFA produces valuable security signals. Authentication logs show failed second factors, rejected push prompts, sign-ins from new locations, registration of new authenticators and changes to MFA settings. A sequence such as many failed passwords, then a successful password, then many rejected push prompts is a typical sign of an account takeover attempt. Equally important is what is missing: a successful admin sign-in without an MFA event can point to a policy gap. These signals are only useful if the logs are collected centrally, correlated across systems and evaluated by rules.
{"event": "mfa.challenge", "user": "alice@example.com", "method": "push",
"result": "denied", "source_ip": "203.0.113.24", "count_last_10m": 14}
How Obseria helps
Obseria is not an identity provider or MFA service. For signing in to Obseria itself, access control and SSO provide roles, permissions and sign-in via your company login, so authentication policies stay with your identity provider. If you send authentication logs to Obseria, Cloud SIEM can evaluate them with detection rules, for example for many failed logins from one source, and the Security Investigator lets you search them freely to follow a suspicious account. The audit trail records who changed what in Obseria and when. Obseria detects; it does not block sign-ins.