Multi-factor sign-in and passkeys

Unit 3 of 5 in Identity and access.

You will be able to compare password, code and passkey sign-in and say which resist phishing.

Lesson

What multi-factor means

CISA defines multi-factor authentication as a security control that requires a user to present a combination of two or more different authenticators to verify identity for login. The three kinds are something you know, something you have and something you are. A password is something you know. A phone or a hardware key is something you have. A fingerprint is something you are.

Two passwords are still one kind. The strength comes from the factors being different, so that stealing one does not give the attacker the other.

Not all second factors are equal

CISA says any form of MFA is better than no MFA, and it also says some forms can be defeated. Codes sent by text message can be intercepted: attackers exploit weaknesses in phone network protocols to obtain codes, or use SIM swapping, a form of social engineering where they convince a carrier to move your number to their SIM. App prompts can be abused by sending a flood of push requests until someone approves one, which CISA calls push bombing.

Phishing is the common thread. A fake sign-in page can collect a password and a one-time code and use both immediately. CISA's term for methods that stop this is phishing-resistant MFA, and it calls it the most secure form, listing FIDO and WebAuthn and public-key-infrastructure-based authentication.

Passkeys: the secret never leaves the device

WebAuthn is the web standard for strongly authenticating users with public key credentials. A credential is scoped to a given relying party, which means the website that registered it, and it is created by and bound to an authenticator. The standard says relying parties cannot detect properties, or even the existence, of credentials scoped to other relying parties.

Because the credential only works for the site it was made for, a fake site gets nothing it can reuse, and there is no shared secret on the server to steal. That is why NIST requires a phishing-resistant authenticator at its highest assurance level and requires that applications at the middle level offer a phishing-resistant option.

A sensible order for your accounts

Start with email, because email can reset everything else. Prefer a passkey or hardware key where offered, then an authenticator app, and use text messages only if nothing better is available. Keep recovery codes somewhere separate from your phone, the lesson of the previous unit.

Key points

Sources

Practice in the labs

Turn on strong sign-in for yourself, then see how defenders spot and stop approval flooding.

Knowledge check

  1. Which pair counts as two different factors? Answer: A password and a code from an app on your phone. Different kinds of factor are required: something you know plus something you have. Two knowledge items are still one kind.
  2. Why can a fake sign-in page defeat a text message code? Answer: It can collect the password and code and use both immediately. A relay page can pass what the victim types to the real site at once. CISA lists phishing-resistant methods such as FIDO and WebAuthn as the answer to this.
  3. Why can a passkey not be reused by a fake site? Answer: It is scoped to the website that registered it. In WebAuthn a public key credential is scoped to a given relying party, so a different site cannot use it.

Back to the syllabus or see all classes.

Related