CPSA ยท Windows passwords, vulnerabilities and hardening
Password policy and account lockout: the trade-off
Complexity, length, lockout thresholds and the trade-off with lockout-based denial of service.
Key points
- Length and complexity make guesses harder.
- Lockout threshold: stops online guessing by locking an account after N failed sign-ins (0 means never lock).
- The catch: an attacker who knows account names can deliberately lock many accounts, a denial of service.
- Balance: moderate threshold (Microsoft baselines suggest 10), timed lockout duration, alerting on failures.
- Lockout never slows offline cracking of stolen hashes.
Practice questions
Which Windows policy setting directly limits online password guessing against an account?
- Account lockout threshold
- Enforce password history
- Minimum password age
- Store passwords using reversible encryption
Show answer
Answer: A. Account lockout threshold
The lockout threshold counts failed sign-ins and locks the account. Minimum length and history change what passwords are allowed, not how many guesses are possible.
Which measures help balance brute-force protection against lockout-based denial of service?
- A moderate threshold such as 10 failed sign-ins
- A lockout duration that expires on its own
- Alerting on bursts of failed sign-ins
- A threshold of 1 so attackers get no second try
- Turning off complexity so users forget passwords less
Show answer
Answer: A. A moderate threshold such as 10 failed sign-ins, B. A lockout duration that expires on its own, C. Alerting on bursts of failed sign-ins
A moderate threshold, a timed lockout and alerting keep guessing costly without letting a few attempts disable accounts forever. A threshold of 1 makes the DoS trivial, and dropping complexity weakens the other defence.
True or false: a strict account lockout threshold also protects against offline cracking of password hashes stolen from the SAM.
Show answer
Answer: False
False. Lockout is enforced by the authenticating system during logons. An attacker cracking hashes on their own hardware never triggers it; only strong passwords and good hashing help.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
