Black Friday sale: an extra 40% off every course until Monday, November 30.New Year sale: an extra 30% off every course until Friday, January 1.Memorial Day sale: an extra 25% off every course until Monday, May 31.SysAdmin Day sale: an extra 25% off every course until Sunday, August 1.Back to School sale: an extra 25% off every course until Sunday, August 22.Labor Day sale: an extra 25% off every course until Monday, September 6.Black Friday sale: an extra 40% off every course until Monday, November 29.New Year sale: an extra 30% off every course until Saturday, January 1.Choose your certification →

Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

5.6.4. Multifactor Authentication (MFA)

💡 First Principle: MFA requires two or more different types of authentication factors. Recall from Phase 1: something you know, something you have, something you are, and somewhere you are. MFA defeats credential theft because an attacker who steals your password still can't log in without your physical token or biometric.

MFA implementations:
  • Hardware token — a physical device (YubiKey, RSA SecurID) that generates one-time codes or serves as a FIDO2 authentication device. Most phishing-resistant.
  • Software token / Authenticator app — an app (Google Authenticator, Microsoft Authenticator) generating time-based one-time passwords (TOTP). More convenient than hardware tokens, vulnerable to sophisticated phishing.
  • SMS/phone-based — one-time codes sent via text message or voice call. Least secure MFA method due to SIM swapping, SS7 attacks, and social engineering of carriers. Better than no MFA, but worse than other methods.
  • Push notification — user receives a push to their registered device and approves/denies the login. Vulnerable to MFA fatigue attacks (bombarding the user with push requests until they approve one out of frustration). Modern implementations add number matching — the user must enter a number displayed on the login screen into their authenticator app, defeating fatigue attacks because the attacker doesn't see the number.
  • Biometrics — fingerprint, facial recognition, iris scan. Something you are. Convenient but cannot be changed if compromised (you can't get new fingerprints). Biometric data requires especially careful storage — if a password database is breached, you change passwords; if biometric templates are breached, the factor is permanently compromised.

Passwordless authentication — replaces passwords entirely with stronger factors (biometrics + device certificate, FIDO2 hardware key). Eliminates the weakest factor (passwords) from the equation.

One-time passwords (OTP) come in two forms. HOTP (HMAC-based) advances a counter for each code, and a code stays valid until it is used; TOTP (time-based) derives the code from the current time, so each code expires after about 30 seconds. Either can live in a hard token (a physical key fob) or a soft token (an authenticator app), and either can still be phished in real time, because a user can type the code into a fake site that relays it to the real one.

Backup codes — single-use recovery codes issued when MFA is set up, for when the token or phone is lost. Each code works once. They are effectively a second, printed factor, so store them as carefully as a password (in a password manager or a safe, never in an email to yourself), and regenerate the set once any code is used or exposed.

Passkeys — FIDO2/WebAuthn credentials that replace the password. The device creates a separate key pair for each site: the private key stays on the device (or syncs, encrypted, through the user's passkey provider, such as the platform keychain or a password manager), and the site stores only the public key. At login the site sends a challenge, the user unlocks the passkey locally with a biometric or PIN, and the device signs the challenge. Passkeys are phishing-resistant because the browser binds each passkey to the site's domain: a look-alike phishing domain cannot get a signature for the real site, and there is nothing for the user to type into a fake page. A breach of the site's database exposes only public keys. Synced passkeys can be restored on a new device; device-bound passkeys (on a hardware security key) never leave that key, which some high-assurance environments require.

⚠️ Exam Trap: Two passwords is NOT MFA — both are "something you know" (same factor category). A password + security question is also not MFA. True MFA requires different factor categories: password (know) + token (have), or fingerprint (are) + PIN (know).

See how it connects
Alvin Varughese
Written byAlvin Varughese
Founder•26 professional certifications earned