Use this when attackers try many passwords against one account or service.
Brute Force
1. Brute force: many guesses against one account.
2. Lockout or throttling.
3. MFA.
4. Detect high failure counts.
5. Block abusive sources.
guesses → one account → lockout/alert
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Detection Verify boundary
Step 2 Common mistakes Narrow the fault
- No lockout or rate limiting on internet-facing logins.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Get-WinEvent -FilterHashtable @{LogName='Security';Id=4625} | group {$_.Properties[5].Value} | sort Count -Desc | select -First 5— failed logons per accountjournalctl -u sshd | grep Failed | awk '{print $(NF-3)}' | sort | uniq -c | sort -rn | head— SSH failures per IP- Lockout/rate limit settings — controls
ReferenceWhy it matters1 section · depth on demand
Defences
- MFA (makes a guessed password insufficient).
- Account lockout or smart lockout, with alerting.
- Rate limiting and CAPTCHA on web logins.
- No exposed RDP/SSH with password authentication (use VPN, keys, MFA).
- Detect many failed logins (4625, SSH
Failed password) per account or source.
Offline brute force against stolen hashes is defeated by slow password hashing and long passwords.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Brute-force attacks try many passwords or keys until one works. Variants include password spraying (a few common passwords against many accounts, avoiding lockouts) and credential stuffing (username/password pairs leaked from other sites).
| Variant | Defence |
|---|---|
| Online brute force | Rate limiting, lockout/smart lockout, CAPTCHA |
| Password spraying | Banned common passwords, MFA, detection across accounts |
| Credential stuffing | MFA, breached-password checks, bot protection |
| Offline cracking of stolen hashes | Strong password hashing, long passwords |
| SSH/RDP brute force | No internet exposure, key/MFA authentication |
Detection: many failures across many accounts from one IP (spraying) or for one account from many IPs (distributed brute force); success after many failures deserves immediate review.
Lockout settings
| Setting | Typical value |
|---|---|
| Lockout threshold | 10 failed attempts |
| Lockout duration | 15 minutes |
| Reset counter after | 15 minutes |
Too low a threshold lets attackers lock out users deliberately; Entra Smart Lockout and Windows LAPS/MFA reduce the need for aggressive lockouts.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Common Attacks → Brute Force. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://attack.mitre.org/techniques/enterprise/ · confidence 94%