AP Cybersecurity · Study guide

Authentication Factors & MFA

AP® Cybersecurity · Unit 4 · Device Security, Malware & Authentication

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.

Figure 1. Multifactor authentication combines proofs from at least two of these categories.

2The four factors

FactorExamplesStrengthWeakness
Knowledge (something you know)Password, PIN, challenge-question answerEasy to set up and changeCan be guessed, phished, or leaked; hard-to-guess ones are hard to remember
Possession (something you have)Access card, bank card, phone, tokenThe adversary needs the physical objectCan be lost, stolen, or copied
Biometric (something you are)Fingerprint, face, iris, voiceUnique to a person; hard to duplicateCannot be changed if copied; can sometimes be imitated
Location (somewhere you are)Wi-Fi, GPS, time zone, IP addressCan block logins from unexpected placesLocation 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.

The key idea

Know, have, are, where. MFA combines at least two different categories, so stealing one kind of proof is not enough.

8Worked examples

Worked Example 1 Name the factor

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. 1
    (a) Something you know: knowledge.
  2. 2
    (b) Proves you have the phone: possession.
  3. 3
    (c) Something you are: biometric.
  4. 4
    (d) Somewhere you are: location.
  5. 5
    (e) An object you have: possession.
  6. 6
    (f) Something you know: knowledge.
Answer: (a) knowledge, (b) possession, (c) biometric, (d) location, (e) possession, (f) knowledge.
Worked Example 2 Is it MFA?

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. 1
    (a) Password and security question are both knowledge factors: one category, so not MFA.
  2. 2
    (b) Badge (possession) and PIN (knowledge): two categories, so MFA.
  3. 3
    (c) Fingerprint (biometric) and token code (possession): two categories, so MFA.
Answer: (b) and (c) are MFA; (a) is not, because both proofs are things you know.
Worked Example 3 Why MFA works

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?

  1. 1
    The attacker has the knowledge factor (password).
  2. 2
    Logging in also requires the possession factor, which is on the employee's keychain.
  3. 3
    Without the token, the login fails.
Answer: Not much. MFA means one stolen factor is not enough. The employee should still change the password.
Worked Example 4 Choose factors

Securing the payroll system

A company wants payroll logins to require strong authentication that is also practical. Recommend a combination and justify it.

  1. 1
    Knowledge: a strong password, which employees already use.
  2. 2
    Possession: a code from an authenticator app or a hardware security key, harder to steal remotely than a password.
  3. 3
    Location: allow payroll logins only from the office network or company VPN, as an extra rule.
Answer: Password plus a possession factor (MFA), with a location rule on top. Each blocks a different way an attacker might get in.

9Common mistakes

Common Mistake 1 · Counting two passwords as MFA

MFA needs different categories of factor. Two knowledge factors are still single-factor authentication.

Common Mistake 2 · Treating a phone as a knowledge factor

A code sent to your phone proves you have the phone: a possession factor.

Common Mistake 3 · Thinking biometrics are perfect

They are hard to duplicate, but cannot be changed if copied. They work best combined with another factor.

Explain MFA like this

“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.