Skill · 6 hands-on labs

Brute Force and Password Spraying Detection

Practise detecting brute force and password spraying in Windows logs and packet captures: 4625 Sub Status codes, 4740 lockouts, FTP 530 replies and more.

What is Brute Force and Password Spraying Detection?

Brute force means guessing many passwords against one account. Password spraying turns it around: one or two common passwords against many accounts, slowly, so no account locks out. Both leave a trail of failed logons from the same source, and both are among the most common ways attackers get in when Remote Desktop, VPN or web logins face the internet.

How analysts do it

  1. Count failed logons and group them by source IP and by target account.
  2. Read the reason for each failure: Sub Status 0xC0000064 (no such user) means enumeration, 0xC000006A (wrong password) means guessing.
  3. Look at timing: a burst is brute force, rounds with long gaps are spraying.
  4. Find the first success from the same source. That is the account that fell.
  5. Check what the attacker did with it, then close the door they used.

What to look for

  • Dozens of 4625 events from one outside IP.
  • Many different user names in a short time from one source.
  • Event 4740 (account locked out), especially several in a row.
  • FTP 530 or HTTP 401 responses in a capture, followed by a success.
  • A success from the same IP right after a run of failures.

Practise it: 6 labs, easiest first

Every lab gives you real evidence to download and a set of questions. Guided labs tell you where to look, challenges do not.

Windows Event IDs you will use

Certifications that test this skill

Related skills

Questions people ask

What is the difference between brute force and password spraying?

Brute force tries many passwords against one account and usually triggers a lockout. Password spraying tries one common password against many accounts, then waits, so each account only sees one or two failures and never locks.

Which Windows Event ID shows a brute force attack?

Event ID 4625 (an account failed to log on), in large numbers from one source. Event ID 4740 shows that a lockout fired, and a 4624 from the same IP after the failures shows that the attacker got in.

Does account lockout stop brute force?

It protects the account being guessed, but attackers simply move to other accounts, and lockout can be abused to lock real users out. Strong unique passwords, MFA and not exposing RDP to the internet matter more.