Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Brute Force

Direct answer

A brute-force attack tries many passwords or keys until one works. Account lockout, rate limiting, MFA, long passwords and blocking exposed services like RDP and SSH defend against it.

When to use this

Use this when attackers try many passwords against one account or service.

First 30 seconds

1. Brute force: many guesses against one account.

2. Lockout or throttling.

3. MFA.

4. Detect high failure counts.

5. Block abusive sources.

Operational verification

guesses → one account → lockout/alert

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Incident response and forensics
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformIncident response and forensics
Scope / prerequisiteUse this when attackers try many passwords against one account or service.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Detection Verify boundary
  • Windows: many 4625 events for one account; 4740 lockouts.
  • Linux: journalctl -u ssh | grep 'Failed password'; lastb.
  • Azure/Entra: sign-in logs with error 50126 from one IP.

Use fail2ban, account lockout with a sensible threshold, and MFA. Do not expose RDP or SSH directly to the internet.

Step 2 Common mistakes Narrow the fault
  • No lockout or rate limiting on internet-facing logins.
Evidence references

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.

observation · 1
Key points
  • Lockout and rate limiting slow attacks.
  • MFA stops most brute force.
  • Exposed RDP and SSH attract constant attempts.
Key checks
  • Get-WinEvent -FilterHashtable @{LogName='Security';Id=4625} | group {$_.Properties[5].Value} | sort Count -Desc | select -First 5 — failed logons per account
  • journalctl -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).

VariantDefence
Online brute forceRate limiting, lockout/smart lockout, CAPTCHA
Password sprayingBanned common passwords, MFA, detection across accounts
Credential stuffingMFA, breached-password checks, bot protection
Offline cracking of stolen hashesStrong password hashing, long passwords
SSH/RDP brute forceNo 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

SettingTypical value
Lockout threshold10 failed attempts
Lockout duration15 minutes
Reset counter after15 minutes

Too low a threshold lets attackers lock out users deliberately; Entra Smart Lockout and Windows LAPS/MFA reduce the need for aggressive lockouts.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docIncident response and forensics current

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%
Confirmation

Confirm action

Continue?