Spraying, short for password spraying, is an attack that tries a few common passwords against many accounts instead of many passwords against one, avoiding per-account lockouts. Defenders look for failed logins spread across many usernames, block known weak passwords, enforce MFA and monitor authentication endpoints, including legacy protocols that skip MFA.
How spraying works
Password spraying is a low-and-slow authentication attack that tests a small set of common passwords across many accounts. That pattern is designed to avoid per-account lockouts while still finding users who rely on weak or reused secrets. It is effective because defenders often tune controls to stop repeated failures on a single username, not distributed guessing across a tenant or directory.
The attack usually starts with a short password list and a broad username list, then cycles through them with timing that stays below alert thresholds. Because each account sees only one or a few failures, the activity can look like ordinary user error unless monitoring is tuned for cross-account correlation and repeated use of the same bad password.
Why spraying is dangerous
Spraying turns weak password hygiene into a scalable compromise path. One successful guess can expose email, VPN, SSO, admin consoles or SaaS apps, especially where the same password works across multiple services. Legacy authentication paths are especially risky because they may not enforce modern protections consistently, which makes them a common bypass route after phishing-resistant methods are introduced elsewhere.
Once an account is cracked, the attacker can pivot from initial access into session theft, mailbox search, password reset abuse or privilege escalation. If the compromised account has access to shared tooling, cloud consoles or help desk functions, the blast radius can quickly exceed the original login event.
How defenders detect exposure
Detection depends on seeing the pattern across accounts rather than within one account. The useful signals are failed logins spread across many usernames, repeated failures from one source or botnet, and attempts against authentication endpoints that should be rare in normal use. High-value environments also need visibility into legacy protocols, because those paths may not produce the same MFA or conditional-access signals as modern web sign-ins.
Spraying is easier to miss when authentication logs are fragmented across directories, SaaS tenants and remote access systems. That is why a complete asset and authentication inventory matters: defenders need to know which services accept password-based logins, which ones still allow older protocols, and where lockout, rate-limiting and MFA enforcement actually apply.
Why remediation is more than password resets
Stopping spraying is not only about resetting passwords after the fact. The real control objective is to reduce the value of password guessing in the first place by removing weak passwords, enforcing MFA, and shrinking the number of endpoints that can be reached with only a password. Where legacy protocols remain necessary, compensating controls such as tighter monitoring, conditional access and restricted source networks help reduce exposure.
Because spraying is often opportunistic rather than targeted, remediation should also include reviewing whether the account was merely tested or actually accessed. If there is evidence of successful compromise, the response should extend to session invalidation, token review, password changes and any downstream account or application access that the username could reach.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | IA-2 — Identification and Authentication (Organizational Users) | Spraying targets user authentication and weak password-based access controls. |
| IA-5 — Authenticator Management | Spraying succeeds against weak, reused or unmanaged passwords and other authenticators. | |
| AU-6 — Audit Record Review, Analysis, and Reporting | Spraying is detected by correlating repeated login failures across accounts and endpoints. | |
| Recommendation — Enforce strong authentication and reduce password-only access paths for organizational users. Harden authenticator lifecycle, strengthen passwords, and monitor for repeated guessing. Correlate authentication failures across users and services to surface spraying patterns. | ||
| CIS Controls v8 | CIS-5 — Account Management | Spraying is reduced by controlling account lifecycle, weak credentials and dormant access. |
| Recommendation — Remove unnecessary accounts and tighten authentication requirements for active accounts. | ||
Practitioner Guidance
What to watch for: Treat distributed authentication failures as a detection problem, not just a user support problem. A spike of one or two failures per account can still be a real intrusion attempt when it repeats across many usernames or across multiple authentication surfaces.
Governance implication: Spraying often exposes inconsistent control ownership, especially where modern identity policies and legacy authentication paths are managed by different teams. Clarify who owns password policy, MFA enforcement, protocol retirement and log review so that weak paths do not survive because they fall between operational boundaries.
Related resources from NHI Mgmt Group
- Guide: Okta System Log Detection Guide
- What is the difference between password spraying and brute-force attacks?
- How should security teams detect password spraying in Active Directory?
- Why do password spraying attacks evade common lockout controls?
- When does password spraying become a high-risk identity issue?
Deepen Your Knowledge
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.
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org