Join our Newsletter — 33% off our NHI Course

What does Event ID 4771 reveal about Active Directory spraying?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20230
Topic starter  

TL;DR: Semperis's analysis of password spraying in Active Directory finds lockout counts alone can miss distributed guessing that stays below obvious thresholds and uses Kerberos pre-authentication paths. Detection has to follow timing, account breadth, and protocol-specific failures to catch quieter activity earlier.

Editorial analysis by NHI Mgmt Group, based on content published by Semperis: “Password Spraying Detection in Active Directory”.

Key questions

Q: Why do Kerberos pre-authentication failures matter for password spraying detection?

A: They matter because the attack can move away from standard failed logon events and into a different log signal.

Q: How should security teams detect password spray attacks without overwhelming analysts with false positives?

A: Security teams should combine authentication event analysis with baseline-aware detection that looks for repeated, distributed login failures across multiple accounts and systems.

Q: What breaks when password spraying is not detected early in Windows environments?

A: A single successful spray can convert many weak attempts into one valid session, and that session often becomes the foothold for privilege escalation, remote tooling, and lateral movement.

Practitioner guidance

  • Harden password policy enforcement Use default domain policy or fine-grained password policies to reduce acceptance of weak passwords across Active Directory accounts.
  • Expand detection beyond standard failed logons Include Kerberos pre-authentication failures, especially Event ID 4771 with 0x18, in your alerting and hunting logic.
  • Correlate timing across multiple accounts Look for distributed failures that occur at irregular intervals across many users, rather than only bursts against a single account.

Bottom line: Password spraying exploits the gap between per-account lockout rules and distributed credential guessing across many identities.

Glossary terms: Password Spraying, Kerberos Pre-authentication, Account Lockout Threshold

What's in the full article

Semperis' full blog post covers the operational detail this post intentionally leaves for the source:

  • Example Security event log patterns that distinguish noisy spraying from normal authentication churn
  • Screenshots and event-by-event comparisons of standard failures versus Kerberos pre-authentication failures
  • Detection output from Lightning IRP showing targeted accounts and confidence scores
  • Additional defensive recommendations and linked Microsoft guidance for Active Directory hardening

👉 Read Semperis' analysis of password spraying detection in Active Directory →

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 3 weeks ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 7 months ago
Posts: 20718
 

Active Directory password spraying is a detection design problem, not a simple authentication failure problem: the attack works because most monitoring still assumes repeated guesses against one account. That assumption breaks when guesses are spread across many identities and time windows. Practitioners should treat breadth, timing, and event type as first-class detection inputs, not edge cases.

A question worth separating out:

Q: What breaks when organisations rely only on account lockout and threat detection to stop password spraying?

A: Account lockout and detection alone leave a timing gap that attackers can exploit. AI-assisted spraying can pace attempts just under lockout thresholds, rotate infrastructure, and spread activity across accounts. By the time an alert fires, the password has already been tested. That means the control fails at the point of credential validation, where prevention is most effective.

👉 Read our full editorial: Active Directory spray detection needs timing and protocol signals


This post was modified 3 weeks ago by NHI Mgmt Group

   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.