Privacy note: We capture your IP address to provide customised and focused services. See our Privacy Policy.

Cybersecurity Essentials — Alpha School

Lesson 7: Authentication Beyond Passwords: MFA and Passkeys

A password is one factor of authentication, something you know, and a single factor is a single point of failure: if it is guessed, phished or leaked, the account is open. Multi-factor authentication, or MFA, adds a second check from a different category, something you have, such as your phone, or something you are, such as your fingerprint, so that stealing the password alone is no longer enough. This lesson explains the three factors, compares the kinds of second factor from weakest to strongest, and introduces passkeys, the newer approach that may eventually replace passwords altogether, so that you can turn on the strongest protection available for the accounts that matter most.

The three factors

Authentication factors come in three kinds. Something you know includes passwords, PINs and the answers to security questions. Something you have includes your phone, a hardware key you plug in, or a code sent to a device you own. Something you are includes fingerprints, face recognition and other biometrics. MFA means combining factors from different categories, so a password plus a code from your phone is two-factor authentication, while a password plus a second password is not, because both are things you know and both can be phished together. The principle is that an attacker must defeat two different kinds of defence at once, which is much harder than defeating one twice, and that is why turning on MFA is the single most effective step most people can take.

Codes, apps and hardware keys

The most common second factor is a six-digit code, and not all codes are equal. A code sent by text message is the weakest, because phone numbers can be stolen through a trick called SIM swapping, where an attacker convinces a phone company to move your number to their SIM card, and because text messages can be intercepted, so use it only when nothing better is offered. An authenticator app is stronger: it generates a new code every thirty seconds from a secret shared with the service, works without a phone signal, and cannot be intercepted in transit, and free apps for this are available from several providers. Strongest of all is a hardware security key, a small device you plug in or tap, which checks that you are on the real site before it answers, so it cannot be phished at all. Use the strongest method each service offers, and keep backup codes, the one-time codes a service gives you when you turn MFA on, printed and stored somewhere safe, because losing your second factor can lock you out of your own account.

Passkeys: the password's replacement

Passkeys are a newer way to sign in that replaces passwords with a pair of cryptographic keys, which you will understand fully after Lesson 11. The private key stays on your device, locked behind your fingerprint or PIN, and the public key is stored by the service, and when you sign in, your device proves it holds the private key without ever sending it, so there is no password to phish, leak or reuse. Passkeys are now offered by the major platforms and many large services, and they are the most phishing-resistant option available to ordinary users. They are not yet everywhere, and you should still keep MFA on accounts that offer it, but when a service offers a passkey, take it, and make sure you have a way to recover your account, such as a second device or a printed recovery code, before you delete the password.

What to protect first

You do not need to turn on MFA everywhere on the same day. Start with the accounts that unlock other accounts: your email first, because it guards password resets, then your password manager, then your bank, your main social media accounts, and any account that holds your schoolwork or your money. For each one, choose the strongest second factor it offers, save the backup codes, and test signing in once, so you know the process works before you need it. Then help someone else do the same, because an account is often only as safe as the people around it: a family member's hacked email can be used to impersonate them to you. Turning on MFA takes a few minutes per account, and it is the highest-value security habit in this entire course.

Key Terms

Multi-factor authentication (MFA)
Requiring checks from two different categories, such as something you know and something you have.
Authenticator app
An app that generates a new login code every thirty seconds from a secret shared with the service.
Hardware security key
A small physical device you plug in or tap to prove who you are; it cannot be phished.
SIM swapping
Tricking a phone company into moving your number to an attacker's SIM card, so they receive your texts.
Passkey
A sign-in method using a pair of cryptographic keys, with no password to phish, leak or reuse.
Backup codes
One-time codes a service gives you when you turn on MFA, for use if you lose your second factor.
Biometrics
Authentication using something you are, such as a fingerprint or face recognition.

Discussion Questions

  1. Why is a password plus a second password not multi-factor authentication?
  2. A code by text message is weaker than an authenticator app. What are the risks of text messages, and when would you still use them?
  3. Passkeys have no password to steal. What new problems might they create, such as losing your device?

Practice Questions

  1. What are the three categories of authentication factor?
  2. Why is an authenticator app stronger than a text message code?
  3. What is a hardware security key, and why is it the strongest second factor?
  4. What is a passkey, in one sentence?
  5. Which account should you protect with MFA first, and why?
Show answers
  1. Something you know, something you have, and something you are. Passwords, phones and fingerprints are examples of each.
  2. Because its codes are generated on your device and cannot be intercepted. Text messages can be stolen by SIM swapping or interception, while app codes never travel over the network.
  3. It is a physical device you plug in or tap to sign in. It checks you are on the real site before answering, so it cannot be tricked by a fake login page.
  4. It is a sign-in method using a pair of cryptographic keys, with no password to phish, leak or reuse. The private key stays on your device and is never sent.
  5. Your email. It guards password resets for other accounts, so whoever controls it can take over much more.
Keep reading to complete this lesson