Sub topic 3
Authentication factors and multifactor authentication
This chapter assumes you know what a user account is, how a Windows sign-in works, and what a smartphone is. It builds on the security fundamentals chapter. The next chapters use these ideas for access control and Windows accounts.
Authentication, identification, and authorization
Three terms are easy to mix up on the exam.
- Identification is claiming who you are, such as typing a username.
- Authentication is proving the claim, such as entering a password.
- Authorization is deciding what the proven identity may do. That is the job of permissions, covered in later chapters.
Authentication supports the confidentiality part of the CIA triad. If an attacker can pass authentication as someone else, every later control treats the attacker as that person.
The authentication factors
A factor is a category of evidence. CompTIA groups factors by what kind of evidence they are.
| Factor | Category | Examples |
|---|---|---|
| Something you know | Knowledge | Password, PIN, security question answer |
| Something you have | Possession | Smart card, hardware token, phone running an authenticator app, key fob |
| Something you are | Inherence | Fingerprint, face, iris, voice |
| Somewhere you are | Location | IP address range, GPS position, Wi-Fi network |
| Something you do | Behavior | Typing rhythm, swipe pattern, gait |
The first three are the core factors. Location and behavior are usually treated as supporting signals. They are rarely accepted as the only proof of identity.
Something you know
Passwords are cheap and familiar, but they can be guessed, phished, reused, or stolen from a breached site. A PIN is also a knowledge factor. A Windows Hello PIN is tied to one device and is not sent over the network, so it is safer than a reused password even though it is shorter.
Security questions are weak. The answers (a mother's maiden name, a first school) are often public or guessable. Treat them as a poor recovery method, not as strong authentication.
Something you have
A possession factor is a physical or digital object that only the user should hold.
- Smart card: a card with an embedded chip that stores a certificate. The user inserts it or taps it, and usually enters a PIN.
- Hardware token: a small device that shows a code that changes, or a USB key that performs a cryptographic check. FIDO2 security keys are an example.
- Authenticator app: an app that generates a TOTP (time-based one-time password), a code that changes every 30 seconds or so. The code comes from a secret stored on the phone and the current time.
- SMS or voice code: a one-time code sent to a phone number. It counts as a possession factor, but it is the weakest kind. Attackers can take over a number with SIM swapping, or trick a carrier into moving it.
Something you are
Biometrics measure a body trait. Fingerprint and face recognition are the most common on laptops and phones. The main trade-offs:
- Biometrics are convenient and cannot be forgotten at home.
- You cannot change a fingerprint if the stored template leaks.
- Readers make two kinds of errors. A false rejection locks out a valid user. A false acceptance lets in the wrong person. Tuning the sensitivity lowers one error and raises the other.
Multifactor authentication
Multifactor authentication (MFA) requires proof from two or more different factor categories. Two factors is also called 2FA.
The word "different" matters. A password plus a PIN is two knowledge factors, so it is single-factor authentication, even though it asks for two secrets. A password plus a security-question answer is also single-factor. A bank card plus a PIN is true MFA, because it combines something you have with something you know.
Common MFA methods compared
| Method | Factor added | Strength | Typical weakness |
|---|---|---|---|
| SMS code | Have | Low to medium | SIM swap, message interception |
| Authenticator app (TOTP) | Have | Medium to high | Real-time phishing can relay the code |
| Push notification | Have | Medium | MFA fatigue (the user taps Approve to stop the prompts) |
| Hardware security key | Have | High | Can be lost, so a backup key is needed |
| Smart card plus PIN | Have and know | High | Needs readers and certificate management |
| Biometric plus PIN | Are and know | High | Template cannot be changed if stolen |
Common attacks on authentication
- Brute force: trying every possible password. Long passwords and lockout policies slow this down.
- Dictionary attack: trying common words and known leaked passwords.
- Credential stuffing: trying a leaked username and password pair on other sites. Password reuse makes this work.
- Phishing: tricking the user into entering credentials on a fake page.
- MFA fatigue: sending repeated push prompts until the user approves one.
MFA defeats most of these because a stolen password alone is no longer enough.
Related technologies the exam mentions
- Single sign-on (SSO): one login gives access to many services. It reduces password fatigue, but one compromised account reaches everything, so pair it with MFA.
- Kerberos: the ticket-based protocol Active Directory domains use for authentication.
- RADIUS and TACACS+: central authentication servers for network devices and wireless sign-in. TACACS+ separates authentication, authorization, and accounting.
- Just-in-time and conditional access: rules that ask for MFA only when risk is higher, such as a new location or an unmanaged device.
- Password manager: software that stores a unique, long password for each site, so one breach cannot be reused elsewhere.
Practical support work
When a user is locked out or MFA is failing, check these in order:
- Confirm the device clock is correct. TOTP codes depend on time, so a clock that is off by a minute or more makes valid codes fail.
- Confirm the user is entering the code for the right account in the authenticator app.
- Verify the user's identity by a trusted route before resetting any factor. A caller who says "I lost my phone" is a common social engineering pretext.
- Register a backup method, such as recovery codes or a second security key, and tell the user to store it safely.
- Remove lost devices from the account so a stolen phone cannot receive codes.
Choosing a method for a scenario
- A shared kiosk where users cannot carry phones: smart card or badge plus PIN.
- A remote employee reaching email: authenticator app or security key, not SMS if a stronger choice exists.
- A high-security server room: biometric plus badge, a combination of are and have.
- A home user who forgets passwords: a password manager plus an authenticator app.
Exercise
A company requires a username, a password, and the answer to a security question. Is this multifactor authentication? Which factor would you add to make it MFA?
Show answer
No. The password and the security answer are both "something you know", so this is single-factor authentication. Adding a possession factor, such as an authenticator app code or a smart card, or an inherence factor, such as a fingerprint, makes it MFA.
Exercise
A user says their authenticator app codes are always rejected, but the password works. The phone was recently restored from a backup. What should you check first?
Show answer
Check that the phone's date and time are set automatically and are correct, because TOTP codes depend on the clock. Then confirm the account is registered in the app, since a restore may not carry over the secret.