# Authentication and MFA

> Learn how systems verify identity, why passwords alone fail, and which MFA methods actually resist phishing. Free notes, key concepts, resources and a mini...

Canonical: https://www.internhack.in/roadmaps/tracks/cybersecurity/authentication-mfa
Last updated: 2026-11-28

Learn how systems verify identity, why passwords alone fail, and which MFA methods actually resist phishing.

Beginner · about 4 hours · difficulty 2/5

Learn first: [Hashing and Password Storage](https://www.internhack.in/roadmaps/tracks/cybersecurity/hashing-passwords)

Most breaches involve stolen or weak credentials. Strong authentication is one of the highest-value controls an organization can deploy.

### Factors

- Something you **know** (password, PIN)
- Something you **have** (phone, hardware key)
- Something you **are** (fingerprint, face)

**MFA** combines two or more different factors. Two passwords are not MFA.

### MFA methods from weakest to strongest

1. **SMS codes**: better than nothing, but vulnerable to SIM swapping and phishing.
2. **TOTP apps** (Google Authenticator, Authy): better, still phishable by a fake login page that relays codes.
3. **Push notifications**: convenient, but attackers spam prompts until a tired user approves ("MFA fatigue"). Number matching helps.
4. **FIDO2 / WebAuthn / passkeys**: cryptographic, bound to the real site's origin, so a phishing site cannot use them. This is the gold standard.

### Password guidance that works

Modern NIST guidance favors long passphrases, checking against breached-password lists, and **not** forcing periodic changes without a reason. Password managers make unique passwords practical.

### Attacks to understand

Credential stuffing (reusing leaked passwords), password spraying (one common password across many accounts), phishing, adversary-in-the-middle kits that steal session cookies, and MFA fatigue. Defenses include MFA, rate limiting, lockouts, breached-password checks and anomaly detection.

### Pitfalls

- Protecting the login with MFA but leaving password reset or legacy protocols (like basic auth to email) without it.

Move on when you can compare MFA methods for a company and justify why admins should use hardware keys or passkeys.

## Key concepts

- **Authentication factors**
- **SMS, TOTP and push MFA**
- **FIDO2, WebAuthn and passkeys**
- **NIST password guidance**
- **Credential stuffing and spraying**
- **MFA fatigue and AiTM phishing**

## Mini project

Enable a passkey or hardware key on your own important accounts, then write a one-page policy recommending MFA methods for a 50-person startup.

## Check yourself

Why can a phishing page defeat TOTP codes but not a FIDO2 security key?

## Free resources

- [NIST SP 800-63 Digital Identity Guidelines](https://pages.nist.gov/800-63-4/) (NIST)
- [FIDO Alliance: Passkeys](https://fidoalliance.org/passkeys/) (FIDO Alliance)
- [OWASP Authentication Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html) (OWASP)

Previous: [Common Cryptography Mistakes](https://www.internhack.in/roadmaps/tracks/cybersecurity/crypto-mistakes) · Next: [Authorization and Least Privilege](https://www.internhack.in/roadmaps/tracks/cybersecurity/access-control-models)

## More in Identity and Access Management

- [Authentication and MFA](https://www.internhack.in/roadmaps/tracks/cybersecurity/authentication-mfa)
- [Authorization and Least Privilege](https://www.internhack.in/roadmaps/tracks/cybersecurity/access-control-models)
- [SSO, OAuth 2.0 and OpenID Connect](https://www.internhack.in/roadmaps/tracks/cybersecurity/federation-sso)
- [IAM Operations and Privileged Access](https://www.internhack.in/roadmaps/tracks/cybersecurity/iam-operations)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Cybersecurity Roadmap](https://www.internhack.in/roadmaps/tracks/cybersecurity)
