Bitzu

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.

Source: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/account-lockout-threshold

Practice questions

Single choice

Which Windows policy setting directly limits online password guessing against an account?

  1. Account lockout threshold
  2. Enforce password history
  3. Minimum password age
  4. 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.

Select all that apply

Which measures help balance brute-force protection against lockout-based denial of service?

  1. A moderate threshold such as 10 failed sign-ins
  2. A lockout duration that expires on its own
  3. Alerting on bursts of failed sign-ins
  4. A threshold of 1 so attackers get no second try
  5. 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

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.

Download on the App StoreGet it on Google Play

More CPSA topics in this module