Authentication Factors & MFA
The four kinds of proof a system can ask for, their strengths and weaknesses, and why combining two kinds beats one.
1What authentication is
Authentication mechanisms are technical controls that verify a user's identity, so only authorized users get into a system. The proof a user provides is called a factor. There are four common kinds.
2The four factors
| Factor | Examples | Strength | Weakness |
|---|---|---|---|
| Knowledge (something you know) | Password, PIN, challenge-question answer | Easy to set up and change | Can be guessed, phished, or leaked; hard-to-guess ones are hard to remember |
| Possession (something you have) | Access card, bank card, phone, token | The adversary needs the physical object | Can be lost, stolen, or copied |
| Biometric (something you are) | Fingerprint, face, iris, voice | Unique to a person; hard to duplicate | Cannot be changed if copied; can sometimes be imitated |
| Location (somewhere you are) | Wi-Fi, GPS, time zone, IP address | Can block logins from unexpected places | Location data can be faked or inaccurate |
3Knowledge factors
Passwords, PINs, and answers to preselected challenge questions. To work, a knowledge factor must be something an adversary cannot easily guess. The catch: things that are hard for an adversary to figure out are often hard for the user to remember too. And answers to challenge questions (first pet, birth city) are often findable online.
4Possession factors
An object the user has that is unique to them: an access card, a bank card, a cell phone receiving codes, or an authentication token (a small device or app that generates one-time codes, or a security key you plug in or tap). The harder it is for an adversary to get the object, or a copy of it, the more secure the factor. A code sent by text message is weaker than a hardware security key, because a phone number can sometimes be hijacked.
5Biometric factors
Biometric factors measure features of the human body: fingerprints, palm prints, facial recognition, iris or retina scans, voice identification. They are difficult for an adversary to duplicate because they are unique to an individual. One drawback: you cannot change your fingerprint if a copy of it is ever stolen, the way you can change a password.
6Location factors
Location factors use information such as Wi-Fi signals, GPS data, time zone settings, and IP address to judge where a user is. Rules can allow or deny access based on location: allow payroll logins only from inside the office network, or deny logins from countries where the organization has no staff.
7Multifactor authentication
Multifactor authentication (MFA) is when a system requires more than one factor to authenticate a user. It is more secure than single-factor authentication because the user must provide at least two separate factors: an adversary who steals a password still lacks the phone; one who steals the phone still lacks the PIN.
The factors must be different kinds. A password plus a security question is two knowledge factors: still single-factor authentication, because both could be stolen the same way.
Know, have, are, where. MFA combines at least two different categories, so stealing one kind of proof is not enough.
8Worked examples
Six proofs
Name the factor type: (a) a 6-digit PIN; (b) a code from an authenticator app on your phone; (c) a face scan; (d) a rule that blocks logins from outside the country; (e) a building badge; (f) the answer to “What was your first car?”
- 1(a) Something you know: knowledge.
- 2(b) Proves you have the phone: possession.
- 3(c) Something you are: biometric.
- 4(d) Somewhere you are: location.
- 5(e) An object you have: possession.
- 6(f) Something you know: knowledge.
Three login designs
Which of these is multifactor? (a) Password, then a security question. (b) Badge tap, then a PIN. (c) Fingerprint, then a code from a hardware token.
- 1(a) Password and security question are both knowledge factors: one category, so not MFA.
- 2(b) Badge (possession) and PIN (knowledge): two categories, so MFA.
- 3(c) Fingerprint (biometric) and token code (possession): two categories, so MFA.
The phished password
An employee types their password into a phishing page. Their account requires a password plus a code from a hardware token on their keychain. What can the attacker do?
- 1The attacker has the knowledge factor (password).
- 2Logging in also requires the possession factor, which is on the employee's keychain.
- 3Without the token, the login fails.
Securing the payroll system
A company wants payroll logins to require strong authentication that is also practical. Recommend a combination and justify it.
- 1Knowledge: a strong password, which employees already use.
- 2Possession: a code from an authenticator app or a hardware security key, harder to steal remotely than a password.
- 3Location: allow payroll logins only from the office network or company VPN, as an extra rule.
9Common mistakes
MFA needs different categories of factor. Two knowledge factors are still single-factor authentication.
A code sent to your phone proves you have the phone: a possession factor.
They are hard to duplicate, but cannot be changed if copied. They work best combined with another factor.
“The login uses multifactor authentication: a password (knowledge factor) and a code from a hardware token (possession factor). An adversary who phishes the password still cannot log in without physically having the token.”
Name each factor and its category, and explain what an attacker would need to defeat both.