GRC Careers

HomeResourcesAccount Lockout

CS-031 · Passwords & Authentication

Account Lockout

Temporarily blocking access after repeated failed logins to slow guessing attacks.

Executive Summary

Account lockout temporarily blocks sign in attempts after a set number of consecutive failures, which slows password guessing against a single account. It is effective against straightforward brute force but carries a denial of service risk and does little against spraying. Modern practice favors gentle throttling, monitoring, and MFA alongside or instead of hard lockouts.

What It Is

Account lockout is a control that stops accepting login attempts for an account after too many failures within a window. The classic form locks the account for a fixed period or until an administrator or self service reset unlocks it. Its purpose is to make online password guessing impractical by capping how many tries an attacker gets per account. Lockout is one option among several throttling strategies. Others include progressive delays that add waiting time after each failure, and rate limiting that slows requests from a source. Each aims to raise the cost of guessing while trying not to punish legitimate users who simply mistype.

Why It Matters

Lockout directly limits the number of guesses an attacker can make against a live account, which is why it is a long standing defense against brute force. But it is a double edged control. Set too aggressively, it becomes a denial of service tool, because an attacker can lock out real users on purpose by deliberately failing their logins, and legitimate users get frustrated by minor typos. It also does little against password spraying, which is designed to stay under the threshold. For a professional, understanding the tradeoffs is key to tuning authentication defenses that stop attackers without harming users, and to knowing when throttling and MFA are the better answer.

How It Works

A lockout policy defines a threshold, a counting window, and a response. The system counts consecutive failed attempts for an account, and when the count crosses the threshold within the window, it blocks further attempts for a lockout duration or until reset. Softer variants apply exponential backoff, adding a growing delay after each failure so guessing slows dramatically without ever fully blocking a real user. Modern designs often combine lightweight throttling with anomaly detection and MFA rather than relying on hard lockout alone, and they distinguish suspicious sources from a genuine user, so the response is proportionate. The self service reset and recovery path must be secure, since it becomes the way locked out users get back in.

Architecture Diagram

Count consecutive failed loginsCross threshold within the windowApply lockout or progressive delaySecure reset restores access
Failed attempts are counted, and crossing the threshold triggers a temporary block or a growing delay.

Visual Workflow

Define a failure threshold, counting window, and response for the policy.The system counts consecutive failed logins for the account.When failures cross the threshold, apply a temporary lock or growing delay.Legitimate users regain access through a secure reset or after the duration.Anomaly detection distinguishes an attacker from a mistyping user.MFA and monitoring back up lockout for a proportionate overall defense.

Common Attacks

Common Mistakes

Best Practices

Quick Checklist

Recommended Tools

Rate limiting and throttling controls
Slow repeated attempts without fully blocking real users
Identity threat detection
Distinguishes attacker patterns from honest login mistakes
Authenticator app or security key
Adds a factor so guessing a password is not enough
Secure self service reset
Lets locked out users recover access without weakening security

Industry Standards

NIST SP 800-63B
Recommends throttling and rate limiting for online guessing rather than harsh lockout
OWASP Authentication Cheat Sheet
Guidance on lockout, throttling, and avoiding denial of service and enumeration
CIS Critical Security Controls
Account management practices that include controlling failed login handling

Career Relevance

Account lockout tuning is a daily concern for identity and access management engineers who balance security against user friction and help desk load. SOC analysts investigate lockout spikes that signal attacks or denial of service, security engineers design throttling and recovery flows, and GRC analysts verify that authentication controls meet framework expectations. Explaining the denial of service tradeoff and why throttling often beats hard lockout is a practical skill for the roles AI-Governance-Jobs.com serves.

Interview Questions

Related Certifications

CompTIA Security+ ISC2 Certified in Cybersecurity (CC) ISC2 SSCP

Further Reading

Key Takeaways

Download PDFDownload PNG

FAQ

Is account lockout still recommended?

It has a place, but modern guidance leans toward gentle throttling and progressive delays combined with MFA and monitoring. Hard permanent lockouts create denial of service risk and help desk burden, so temporary or delay based approaches are often preferred.

Why does lockout not stop password spraying?

Spraying is designed to try only one or two passwords per account, staying under the lockout threshold. Detecting it requires correlating failures across many accounts, not counting failures on a single one.

Can attackers use lockout against us?

Yes. By deliberately failing logins for known usernames, an attacker can lock legitimate users out as a denial of service. Temporary lockouts, throttling, and anomaly detection that spots the abuse reduce this risk.

Get all 116 reference sheets
The complete AGJ Cybersecurity Professional Reference Library, print-ready PDFs and PNGs.
Browse the library

Related Careers

Related certifications

CompTIA Security+ISC2 Certified in Cybersecurity (CC)ISC2 SSCP

Current openings

Live openings appear on the web version. Browse the job board for current GRC and security roles.
Browse all jobs

Suggested learning path

  1. Ground the basics with CS-001 Cybersecurity
  2. Study this sheet: Account Lockout
  3. Go deeper: Password Spraying
  4. Go deeper: Brute Force Attacks
  5. Validate it: work toward CompTIA Security+
  6. Find the role: browse current openings

Related sheets

More in Passwords & Authentication

Share this LinkedIn Facebook X Email