Sub topic 12
MFA and Access Controls as Countermeasures
This chapter assumes you know the password attacks from the previous chapter (brute force, dictionary, spraying, credential stuffing). It also assumes you can use Windows Settings, Control Panel and local user management. The goal is to match each attack to the control that blunts it, and to recognize the wording CompTIA uses on the 220-1102 exam.
Why passwords alone fail
A password is one piece of knowledge. Anyone who learns it can use it from anywhere. Phishing, credential stuffing, shoulder surfing and keyloggers all end the same way: the attacker holds a valid password. Stronger passwords help against guessing attacks, but they do nothing once the password has been stolen or reused.
Two kinds of countermeasure close that gap:
- Authentication controls make the stolen password insufficient by requiring something more.
- Access controls limit what a valid account can do, so one stolen account does less damage.
Multifactor authentication
Multifactor authentication (MFA) requires two or more different categories of proof. The categories are called factors.
| Factor | Meaning | Examples |
|---|---|---|
| Something you know | Knowledge | Password, PIN, security question |
| Something you have | Possession | Smart card, hardware token, phone app, SMS code |
| Something you are | Inherence | Fingerprint, face, iris |
| Somewhere you are | Location | Geofencing, IP-based rules |
The key phrase is different categories. A password plus a PIN is two items but one factor, because both are knowledge. That is single-factor authentication, and the exam likes to test this. A password plus a fingerprint is true MFA.
Common MFA methods
- Authenticator app. An app on a phone generates a time-based one-time password (TOTP), usually a six-digit code that changes every 30 seconds. It also supports push approval, where you tap Approve on a prompt.
- Hardware token or security key. A physical device, such as a USB key or key fob, that generates a code or signs a login challenge.
- Smart card. A card with an embedded chip, often paired with a PIN. Common in government and enterprise settings.
- SMS or voice code. A code sent to a phone number. It is better than no MFA but the weakest common method, because attackers can use SIM swapping or intercept messages.
- Biometrics. Fingerprint or facial recognition, such as Windows Hello. These are often used as a convenient unlock for a device-bound credential.
What MFA does and does not stop
| Attack | Does MFA help? | Reason |
|---|---|---|
| Brute force, dictionary, spraying | Yes | A correct guess still lacks the second factor |
| Credential stuffing | Yes | Reused passwords from a breach fail at the second step |
| Shoulder surfing | Yes | A watched password alone is not enough |
| Phishing | Partly | Real-time phishing pages can capture a code as it is typed |
| MFA fatigue (prompt bombing) | No | The attacker floods the user with prompts until one is approved |
| Malware on the endpoint | Partly | Malware can steal a session after login |
Related authentication concepts
- Single sign-on (SSO). One login grants access to several applications. It reduces password fatigue and the habit of reusing passwords, but a compromised SSO account exposes everything behind it. Pair SSO with MFA.
- Password manager. Stores a unique, long password for every site. This directly defeats credential stuffing, because no password is reused.
- Account lockout. Locks an account after a set number of failed attempts. It stops brute force and dictionary attacks against one account, but password spraying tries one password across many accounts and may stay under the threshold.
- Password policy. Rules for length, complexity, history and expiration. Current guidance favors length and screening against known-breached passwords over frequent forced changes.
- Login time and location restrictions. Deny logins outside work hours or from unexpected places.
Access control principles
Access controls decide what an authenticated user may do. Three ideas appear repeatedly on the exam.
- Principle of least privilege. Give each user only the permissions needed for the job, and nothing more. A stolen low-privilege account then causes limited harm. This is also a main defense against insider threats and malware, since malware runs with the permissions of the logged-in user.
- Role-based access control (RBAC). Permissions attach to roles such as Accounting or Helpdesk, and users are assigned to roles. Changing a person's job means changing their role, not editing dozens of individual permissions.
- Separation of duties. No single person controls a whole sensitive process. The person who requests a payment is not the person who approves it.
Other models you may see named are mandatory access control (MAC), where the system enforces labels such as Secret or Confidential, and discretionary access control (DAC), where the owner of a resource decides who can access it. Windows file sharing is mostly DAC.
Practical Windows controls
- Standard user accounts for daily work. Reserve administrator accounts for administrative tasks. User Account Control (UAC) prompts before elevation.
- Disable or rename default accounts. Disable the built-in Guest account and the default Administrator account where possible.
- Group membership. Use groups, such as Users, Administrators and Remote Desktop Users, instead of assigning permissions to individuals.
- NTFS permissions and share permissions. NTFS permissions apply locally and over the network. Share permissions apply only over the network. When both apply, the most restrictive effective result wins.
- Screen lock and timeout. Require a password after a short idle time to counter an unattended workstation.
- Disable AutoRun. Prevents a malicious USB drive from running automatically when inserted.
- BitLocker. Encrypts the drive so a stolen laptop does not expose data. It supports data-at-rest protection rather than login protection.
You can check who belongs to the local Administrators group from an elevated PowerShell window:
Get-LocalGroupMember -Group "Administrators"Review the output against least privilege. Any account that does not need administrator rights should be removed.
Matching attacks to countermeasures
Exam approach
Exam questions describe a situation and ask for the best control. Work through them in order:
- Identify the attack from the symptoms (for example, many accounts failing with one common password means spraying).
- Ask whether the problem is proving identity or limiting permissions.
- Pick the control that targets the specific weakness, not the most general one.
A few patterns recur:
- Attacker reuses breached passwords: MFA, and unique passwords through a password manager.
- A user has more access than the job needs: least privilege.
- Staff leave workstations unlocked: screen lock with a timeout.
- Many failed logins on one account: account lockout.
- A terminated employee still has access: disable the account promptly as part of offboarding.
Common mistakes
- Counting two knowledge items, such as a password and a security question, as MFA.
- Treating lockout as a complete defense, which ignores spraying.
- Giving every technician domain administrator rights for convenience.
- Leaving default credentials on routers and IoT devices. Change them at setup.
- Assuming MFA makes a phishing report unnecessary. Users should still report suspicious messages.
Exercise
A company requires a password and a answer to a security question to sign in to its VPN. Attackers keep using passwords from a public breach and succeed on some accounts. Is this MFA, and what change would fix the problem?
Show answer
No. Both items are "something you know", so this is single-factor authentication. Add a factor from a different category, such as an authenticator app code or a hardware token. Encouraging unique passwords through a password manager also helps, because breached passwords would no longer match.
Exercise
An attacker tries the password "Summer2026!" once against 400 accounts and avoids triggering lockout. Name the attack and one control that helps even though lockout does not.
Show answer
This is password spraying. MFA helps because a correct guessed password still lacks the second factor. Screening passwords against known-weak lists and monitoring for the same password failing across many accounts also help.
Exercise
A helpdesk technician needs to reset passwords but currently belongs to the Domain Admins group. Which principle is being violated, and how would you fix it?
Show answer
This violates least privilege. Create a Helpdesk role, following RBAC, with only the permission to reset passwords for user accounts, and move the technician out of Domain Admins.