The failed-login report looks fine. No account crossed the lockout threshold, the top of the chart is flat, and nobody has filed a ticket about being locked out of anything. In the same log file, one password was tried against four thousand accounts in under two hours, and a handful of them accepted it.
That's password spraying: an attacker takes one or a small list of common passwords and tries each one against a large set of usernames, rather than trying many passwords against a single account. The technique is designed to stay under per-account limits, which is exactly why the dashboards built around those limits stay quiet.
Microsoft's 2024 Digital Defense Report placed password spraying inside a broader password-based threat category that accounted for more than 99% of the identity attacks it observed in Microsoft Entra data, and reported blocking roughly 7,000 password attacks per second over the preceding year. Those figures cover breach replay, spraying and phishing together and come from one vendor's telemetry, so treat them as a scale indicator rather than a global count.
The defenses that hold up aren't per-account counters. They're correlation across accounts, coverage across every route that accepts a password, and a decision about what happens after a password is accepted.
How Password Spraying Works in Practice
Here is a synthetic example, built to show the mechanics and not drawn from any reported incident. An attacker collects 5,000 usernames from a public staff directory, a conference attendee list and an old marketing spreadsheet. Rather than guessing hundreds of passwords for one person, the attacker picks a single password, tries it once against all 5,000 accounts, waits thirty minutes, then repeats with a second password.
The shape of the attack is one key, many doors. That's what the image below shows, and it's the mental model worth keeping.
Think of a building with a thousand doors. A brute-force attacker carries a ring of keys and rattles one door until something opens. A sprayer cuts one key and tries it on every door in the building, one door at a time. No single door sees more than a couple of attempts, so the building's "three strikes and you're locked" rule never fires.
Reading the numbers in the example
Assume the first round lands on 40 accounts whose owner reused a work password that also appears in an old breach dump. Forty accounts out of five thousand is a thin slice of the directory, and it's a good day for the attacker. The second round catches a few more. The attacker then signs in to those accounts from addresses that differ from the ones used for the spray, opens mail, or reaches whatever the application exposes.
The lockout threshold of five failures in this example is an illustrative assumption, not an industry standard. Many systems allow ten or more, and some allow none at all because the vendor ships with lockout disabled.
What the defender actually sees
One failure per account. That's the whole problem. A per-user rule watching for repeated failures on a single login sees nothing worth alerting on, and an analyst scanning the top-failing accounts sees a list of people who mistyped once.
The signal lives in the aggregate: the same password failing across thousands of distinct accounts inside a short window, followed by successful sign-ins from a different set of addresses shortly afterwards. Search for that pattern, not for the loudest single account.
The tell isn't volume per account. It's breadth across accounts in a narrow window, plus a burst of successful sign-ins right behind the failures.
This isn't only criminal opportunism. A joint advisory from CISA, the FBI and the NSA published on 1 March 2022 described Russian state-sponsored actors using both brute-force guessing and password spraying, and told defenders to hunt for multiple failures distributed across numerous accounts rather than isolated ones.
The fuel is predictable credentials. People reuse passwords, pick seasonal words, and skip managers entirely, and the password manager adoption numbers from Statlyst show how large that gap still is. A sprayer only needs the weakest password in the directory to be in the list.
Password Spraying Versus Credential Stuffing Compared
Credential stuffing replays username and password pairs leaked from other breaches and depends on password reuse; password spraying guesses a small set of passwords and spreads them across many accounts. Both can end in account takeover, but takeover is an outcome, not a method, and conflating the two leads teams to buy the wrong control.
A third problem gets mixed in constantly. Session theft means an attacker holds a stolen cookie or token and acts without knowing any password at all, so no authentication event appears in the logs. Treat it as its own investigation, not a variant of login abuse.
If you want the mechanics of replaying leaked pairs, the guide to what credential stuffing is and how it differs from spraying walks through the traffic shape in detail.
| Factor | Password spraying | Credential stuffing |
|---|---|---|
| Input | A few guessed common passwords | Username and password pairs from earlier breaches |
| Attempts per account | Usually one per password, kept low on purpose | Usually one per pair |
| Traffic shape | One password across many accounts | Many pairs, often one per account |
| Depends on | Weak, common or shared passwords | Password reuse across services |
| Lockout interaction | Spreads attempts so each account sees few failures | Each account sees few attempts, so per-user counts rarely trigger |
| Main signal | Failures spread across many accounts in one window | Many distinct pairs tried from one or rotating sources |
| Primary defenses | MFA, per-source and cross-account limits, password blocklists, conditional access | The same controls, plus breached-password checks and browser verification on sign-in |
The verdict is short. Many accounts with one password points to spraying. Many pairs with roughly one attempt each points to stuffing. Valid sessions with no failed logins at all points to session theft, and that investigation starts with token issuance and revocation, not with password policy.
Detecting Spraying Across Accounts Instead of Per User
Per-user alerts fail because the evidence is spread across the population. Each account contributes one line, and the pattern only exists when you join those lines together. MITRE's entry on brute-force authentication makes the same point: monitor for many failed attempts across multiple accounts, and treat MFA, password policy, conditional access and account-use controls as the mitigations that follow detection.
Build the detection around four joins. Time window first, because a spray compresses thousands of failures into minutes. Source next, whether that's an address, a range, an autonomous system or a hosting provider. Distinct accounts targeted gives you the breadth number that per-user rules ignore. Then what happened after the failures, which is where the actual incident lives.
A Cyberfence review of recent spraying campaigns shows why the aggregate matters more than any single failure. One campaign produced more than 81 million Microsoft-account login attempts in two weeks and compromised 78 accounts across 64 organizations. Another generated 32,825 authentication events across 5,714 accounts in 28 Microsoft 365 tenants, compromising seven accounts, all of them functional accounts without enforced MFA.
Fields worth adding beyond raw failure counts: client protocol, account type (standard, shared or service), whether the source is new for that account, and what the account touched after sign-in. A spray that lands on a dormant service account is a different incident from one that lands on a finance mailbox.
| Signal | What it suggests | Check next |
|---|---|---|
| Same failure across many accounts in one window | One password tried broadly | Count distinct accounts per source per hour |
| Many usernames from one source | Spray from a single host or address range | Check network reputation and autonomous system |
| Few attempts per account from many sources | Distributed spray with rotating infrastructure | Look for shared client protocol and user agent |
| Successful sign-in after a failure pattern | One password worked | Review what the session accessed and reset the credential |
| Sign-ins over a legacy protocol to MFA accounts | Coverage gap in authentication policy | Confirm the protocol is blocked or monitored |
| Sign-ins from locations new to the account | Possible takeover after a spray | Compare with the account's usual sign-in history |
When a campaign is suspected, work the incident in this order:
- Identify every failed and successful sign-in from the campaign, starting with the successes. One accepted password is the moment a low-volume spray becomes an account takeover, so confirm it before anything else.
- Reset credentials for every targeted or compromised account, including the ones that only show a failure.
- Revoke active sessions and refresh tokens for compromised accounts. A password reset that leaves a live token behind doesn't end the intrusion.
- Keep monitoring for new source addresses. Blocking one address does nothing to a distributed spray, and the next wave usually arrives from different infrastructure.
No detection layer, MANDATE's included, can guarantee that all abuse will be detected or that every legitimate request will be accepted. Detection buys you evidence and time, and the response process has to exist independently of it.
Controls That Limit Spraying Without Locking Out Users
The instinct is to tighten account lockout. It's the wrong first move. Lockout caps guesses against one account, but an attacker who knows the threshold can deliberately lock hundreds of real users by spraying one bad password at each, which turns a login attack into a denial-of-service against your own staff. MITRE's mitigation guidance is explicit that lockout alone is unsafe as a primary defense, and recommends pairing it with MFA, conditional access, password protection and legacy-protocol shutdown.
The stronger stack is layered. MFA on externally facing sign-in makes a correct guessed password insufficient. Disabling legacy authentication removes paths that can't enforce modern controls. Password blocklists reject the common and breached strings sprayers typically try. Conditional access restricts risky sign-ins by device compliance, location and network reputation.
Then there's the formal limit. NIST's Digital Identity Guidelines require verifiers to rate-limit online guessing and state that consecutive failed attempts against one authenticator on one account must be capped at no more than 100 before that authenticator is disabled. That's an upper bound, not a target. Choose lower thresholds based on account sensitivity and how painful recovery is, and remember the requirement is account-focused, so it doesn't touch a spray spread across thousands of accounts. Pair it with per-source and cross-account limits.
| Control | What it limits | Trade-off |
|---|---|---|
| MFA on externally facing sign-in | A correct guessed password is not enough on its own | Recovery and support flows must be covered too |
| Per-account failure limits | Guesses against one account | Strict thresholds let attackers lock out users |
| Cross-account failure limits | Failures spread across many accounts from one source | Thresholds need tuning to real traffic patterns |
| Password blocklist | Common and breached passwords | The list needs regular updates to stay useful |
| Conditional access | Risky sign-ins by device, location or network reputation | Can block legitimate travelers and needs tuning |
| Legacy authentication shutdown | Paths that cannot enforce MFA | Breaks old clients and integrations, so inventory them first |
The gap that many organizations overlook is coverage rather than configuration. Reporting on the 155-fold growth in observed spraying activity during the first half of 2026 attributes the surge partly to legacy-authentication and MFA-enforcement gaps, where a password fails against a modern interactive login but succeeds through an older protocol or a forgotten recovery path (BleepingComputer). Enforcement that covers interactive browser logins but exempts a service account or an IMAP client isn't enforcement.
Practical rule: list every authentication path before you tune a single threshold. The spray lands on the route nobody owns.
For browser-originated flows, these identity controls should be complemented by server-side verification, rate limits and idempotency rather than replaced by them. Authentication, session management and recovery remain responsible for account security; the request layer is a separate question.
Where Browser Verification Fits Beside Authentication
A password can be correct and the action can still be scripted. That's the gap. Authentication answers who the credential belongs to. Browser verification adds server-side context on whether a browser-originated action on a protected route is consistent with the browser state the server currently holds, which is a different question from whether the login succeeded.
The routes where this matters are the ones an attacker monetizes after a spray succeeds: sign-in, account creation, account recovery, checkout, reservations and promotion redemption. Recovery deserves special attention, because it converts a valid password into a permanent takeover.
State the limits before the benefits. Browser verification does not prove human identity, does not guarantee that every automated request is detected, does not grant an account or permission, and does not replace MFA, session management, rate limits, transaction validation or idempotency. It's an additional signal on a route, not a substitute for the identity layer.
Here's a synthetic rollout example. A team protects its password recovery route. They run it in Observe mode for two weeks, review grouped evidence alongside the false positives, confirm a tested rollback path, then enforce on recovery only, leaving sign-in in Observe while they study the traffic. Nothing about that sequence requires a challenge in front of users, and it keeps the blast radius to one route.
The reasoning behind server-held state is worth reading in the MANDATE research on why browser proof needs server state, and the staged rollout pattern is described in the note on observing before enforcing.
| Control | Question it answers | What it leaves open |
|---|---|---|
| Password and MFA | Does the credential holder also hold the second factor? | Routes that skip MFA and requests made with valid credentials |
| Rate limits | How many failures has this account or source produced? | Low-volume spraying spread across many accounts and sources |
| CAPTCHA | Can the client pass a challenge most people pass? | Friction for legitimate users and challenges that determined attackers can solve |
| Browser verification | Is this action consistent with the browser state the server holds? | Human identity, account permissions and replayed requests |
| Replay protection | Has this exact request or token been used before? | Whether the credential itself is valid |
Keep replay separate from verification. A captured valid request can be reused unless the server enforces single-use tokens, nonces or idempotency keys, so confirm those controls on checkout and recovery independently rather than assuming browser verification covers them. The distinction between client-side and server-side enforcement matters here, and it's covered in the comparison of client-side and server-side controls.
CAPTCHA earns its place in the table because it's the most common alternative. It asks the client to pass a challenge, adds friction for every user on the route, and can still be solved by a determined attacker.
Audit Sign-In Coverage Before You Enforce Controls
Work through this list in order, before any blocking rule goes live. Skipping a step is how a well-intentioned control ends up locking out the support desk on a Friday.
- List every route that accepts a password or credential. Sign-in, sign-up, recovery, API clients, mail access and service accounts. A spray succeeds on the weakest route, not the busiest one.
- Confirm MFA or another risk-appropriate control covers each route, and record every exception with a named owner and an expiry date.
- Set per-account and per-source thresholds from account sensitivity and observed traffic, not from a product default.
- Run each protected route in Observe mode and measure false positives against real legitimate users before blocking anything.
- Decide what happens when verification is unavailable, how retries are handled, and who escalates a blocked support case.
- Confirm a tested rollback path for each route before enforcement.
- Name the support channel for suspected unauthorized access in your agreement or pilot terms.
Before planning a rollout, confirm the current availability and Observe status of any MANDATE feature you intend to use, and treat preview limits as binding. Start with one high-value browser route, such as account recovery or checkout, collect evidence in Observe mode, and enable enforcement on that route only after the review. Route policies and access decisions remain the customer's responsibility.
For a broader view of how to structure the audit itself, ISO Security's audit walkthrough covers the evidence-gathering discipline that makes a coverage review defensible.
MANDATE verifies the browser behind high-value actions such as sign-in, account recovery and checkout, without CAPTCHAs, and lets a team start in Observe mode before enforcing on a single route. If spraying keeps showing up in your logs while per-account thresholds stay silent, browser verification on the routes that matter is the next layer to test. Visit MANDATE to see how route-scoped browser verification works alongside the authentication controls you already run.
