Security operations

Password Spraying vs Credential Stuffing: How They Differ and How to Stop Both

Two login attacks look identical in a single failed sign-in, but they start from different stolen goods and need different defenses. Here is how to tell them apart and stop both.

Cysoro Security TeamPublished · 8 min read
SECURITY OPERATIONS Spraying vs Stuffing Two login attacks, two different defenses. SPRAYING 1 password × 5,000 accounts STUFFING Stolen pairs, tried once each Both fail against MFA. CYSORO
Quick answer

Password spraying tries one or a few common passwords against many accounts, exploiting weak passwords while staying under per-account lockout limits. Credential stuffing replays username and password pairs stolen in another breach, exploiting password reuse. Spraying needs a list of account names; stuffing needs leaked pairs. Both are stopped by phishing-resistant MFA, breached-password checks, and detection that looks across accounts, not one at a time.

Key takeaways

  • Password spraying guesses common passwords across many accounts; credential stuffing replays real pairs stolen in a breach.
  • Per-account lockouts stop brute force but barely slow either attack, because each account sees only one or two failed attempts.
  • MFA, banned-password lists, breached-password screening and cross-account detection are the defenses that work against both.

A failed login looks the same whatever caused it. But behind that single failure sit two very different attacks: one guesses passwords nobody has stolen, and the other replays passwords stolen from somewhere else. Confuse them and you will deploy the wrong defense.

What is the difference between password spraying and credential stuffing?

Password spraying tries one or a few common passwords against many accounts. Credential stuffing tries real username and password pairs stolen in a breach against a different service. Spraying exploits weak passwords; stuffing exploits password reuse.

MITRE ATT&CK lists both as sub-techniques of Brute Force (T1110). Password spraying is T1110.003: adversaries use a single or small list of commonly used passwords against many different accounts to avoid the lockouts that brute forcing one account would trigger.

Credential stuffing is T1110.004: adversaries use credentials obtained from breach dumps of unrelated accounts, taking advantage of the tendency to reuse the same passwords across personal and business accounts.

The practical difference is the input. A sprayer starts with a list of account names — often harvested from a company website, LinkedIn, or predictable email formats — and a handful of passwords such as Password01, Welcome2026! or a seasonal password. A stuffer starts with a breach dump: millions of real pairs, and automation that tries each pair once against your login page.

Password spraying vs credential stuffing vs brute force

All three attacks end in an unauthorized sign-in, but they start from different inputs, leave different signals in your logs, and are stopped by different controls. This table is the fastest way to tell them apart.

Brute forcePassword sprayingCredential stuffing
What the attacker hasOne account name and a wordlistMany account names, a few common passwordsLeaked username and password pairs
What they tryMany passwords against one accountOne password against many accountsEach pair once, on a different service
Weakness exploitedNo attempt limitCommon, predictable passwordsPassword reuse across sites
Per-account failuresHundreds, trips lockout fastOne or two per roundUsually one
Log signalBurst of failures on one accountSame password failing across many accountsMany accounts, low success ratio, some first-try successes
Best defenseLockout and rate limitsBanned-password lists, MFABreached-password checks, MFA, bot defenses

You cannot tell spraying from stuffing by looking at one event. Count failures per account and per source over an hour, and the pattern appears: spraying shows one password failing everywhere, stuffing shows many different passwords with a few succeeding on the first try.

How does password spraying work?

Password spraying works by inverting brute force. Instead of hammering one account, the attacker tries one password against every account, waits, then tries the next password. Each account sees so few failures that lockouts never trigger.

Password spraying: few passwords, many accounts Round 1 Password: Winter2026! Tried on 5,000 accounts Each account: 1 failure 3 accounts log in No lockouts triggered Round 2 — hours later Password: Company123 Tried on the same accounts Each account: 2nd failure More accounts fall Still under lockout limits Round 3 — next day Password: Password01 Same accounts again Slow, throttled pace Attacker now inside Uses the accounts quietly Low and slow: the attack succeeds because no single account ever looks attacked.
Password spraying spreads a few guesses across many accounts so lockouts never fire. Illustration by Cysoro.

Attackers throttle the pace deliberately. MITRE notes that adversaries may slow spraying attempts to avoid triggering security alerts, and may use LDAP and Kerberos authentication, which are less likely to produce the high-visibility Windows logon-failure events that failed SMB attempts generate.

The targets are usually the services that face the internet: email and single sign-on, VPNs, remote desktop, SSH, and cloud apps with federated sign-in. In a large organization, the math favors the attacker: if even 1% of accounts use a password from the attacker's short list, a 5,000-account spray yields 50 working logins.

Once inside, the attacker rarely makes noise. A sprayed account becomes a foothold for reading email, setting up forwarding rules, or launching the next stage — often a targeted phishing message sent from a genuine mailbox, as described in our guide to what spear phishing is.

How does credential stuffing work?

Credential stuffing works by replaying stolen pairs. The attacker takes a breach dump — usernames and passwords leaked from one site — and feeds them automatically into the login form of another site, betting that some people reused the same password.

The automation matters. Tools feed thousands of pairs per minute through botnets and proxy lists, rotating IP addresses so per-IP rate limits never bite. Each account is usually tried once: if the pair works, the account is taken over; if not, the bot moves on.

That makes stuffing hard to spot from failure counts alone, because the loudest signal is a falling login success ratio — far more attempts than usual, with a small share succeeding.

Stuffing is also a validation business. Stolen pairs are first checked against many services to see which still work; the working ones are then sold, or used for fraud, spam, and further phishing. A pair stolen from a forgotten shopping site can open a work email account if the password is the same.

The scale is enormous because breaches are enormous. The FBI's 2025 IC3 report recorded 191,561 phishing and spoofing complaints in 2025 alone, and total reported cybercrime losses of about $20.9 billion — a reminder that the credential dumps feeding stuffing attacks come from a constant stream of compromises.

Real cases: spraying and stuffing in the wild

Both attacks have caused headline incidents. Password spraying has been a favored technique against Microsoft 365 and other cloud email, because a single compromised mailbox gives an attacker a trusted platform for further phishing. CISA and Microsoft have repeatedly warned that spraying against externally facing email and single sign-on is one of the most common ways attackers gain an initial foothold.

Credential stuffing has hit streaming services, retailers, airlines and banks. In the best-known pattern, attackers stuff millions of pairs against a consumer login page, take over the accounts that reuse passwords, then drain stored payment methods, loyalty points or gift cards. The victims often learn about it only when their account is used to buy something.

The two attacks also combine. An attacker may spray to find accounts with weak passwords, then use those accounts to harvest more credentials, which are stuffed elsewhere. Defenders should treat them as one problem — password-only authentication — with two different shapes.

How do you detect password spraying and credential stuffing?

Detect across accounts, not per account. Per-account alerts catch brute force; spraying and stuffing only show up when you aggregate.

  • Many accounts, one password: a high volume of failures using a single password, or a small set, across many accounts in a defined window is the classic spraying signal MITRE describes for T1110.003.
  • Many accounts, one source: one IP address or a small set of related addresses touching hundreds of usernames, each with one or two failures.
  • Success-ratio drop: total login attempts spike while the share that succeeds falls — the signature of a stuffing run.
  • First-try successes from new locations: accounts logging in successfully on the first attempt from an unusual country, device or network, shortly after a wave of failures.
  • Impossible travel and new MFA devices: a login from two distant places in minutes, or a new authenticator enrolled right after a successful sign-in.
  • Unusual user agents and automation fingerprints: headless browsers, missing cookies, and perfectly regular timing between attempts.

Set alerts on these aggregates, not just on lockouts. A spray that never locks an account will never appear in a lockout report — and that is exactly the point of the attack.

How do you stop password spraying and credential stuffing?

No single control stops both attacks. The goal is layers, so that when one fails, the next catches the attempt.

Five defenses that stop both attacks 1 Phishing-resistant MFApasskeys or security keys: a guessed or stolen password is not enough 2 Banned-password listsblock common, seasonal and company-name passwords at creation 3 Breached-password screeningcheck new and existing passwords against known breach data 4 Smart lockout and throttlingslow down sources and passwords, not just individual accounts 5 Cross-account detectionalert on one password or one source failing across many accounts
Defense in depth against credential attacks — each layer catches what the one above misses. Illustration by Cysoro.

Use phishing-resistant MFA

This is the single most effective control. Joint CISA, NSA and FBI guidance recommends phishing-resistant MFA — passkeys and FIDO2 security keys — because a stolen or guessed password cannot be used on its own. One-time codes are better than nothing, but relay kits can capture them, so treat them as a stepping stone, not the destination.

Ban common passwords and screen for breached ones

Spraying only works because people pick passwords from a short, predictable list. Block the most common passwords, seasonal passwords, and passwords containing your company name at creation time.

Separately, screen passwords against breach data: if a password has appeared in a known breach, force a change. You can check a password safely with our pwned password checker.

Test new passwords before rolling them out with the password strength checker.

Lock out smartly, not just per account

Keep per-account lockouts for brute force, but add controls that spraying and stuffing actually feel: throttle by source IP, add CAPTCHA or delays after repeated failures from one source, and block or slow a single password that fails across many accounts. Microsoft Entra's smart lockout, which distinguishes familiar sign-in patterns from attack traffic, is the model to copy if you run your own identity platform.

Block legacy authentication

Old protocols such as basic authentication and IMAP/POP logins bypass modern MFA and conditional access. Disabling them closes one of the easiest doors for both attacks, because sprayed and stuffed credentials are often tried against these endpoints first.

Stop password reuse at the source

Stuffing dies when every password is unique. Give staff a password manager, require unique passwords for work accounts, and make it easy to report a suspected compromise. For a wider starting point, our small business cybersecurity checklist covers these controls alongside backups and device security.

What should you do if an account was compromised?

Act within minutes: change the password, sign out everywhere, and check what the attacker did while they were in.

  1. Change the password from a trusted device, and change it everywhere else the same password was reused.
  2. Sign out of all sessions and remove unknown devices, app passwords and MFA methods the attacker may have added.
  3. Check for mail rules and forwarding the attacker may have set up to hide their activity or intercept password resets.
  4. Review sent mail, purchases and settings for anything the attacker changed, then tell your IT team so they can check for wider access.
  5. Report it to your security team, and in the US to the FBI's IC3 if money was lost.
One password, one siteReuse is what makes credential stuffing possible. If a password you used at work also unlocks your personal email, a breach anywhere becomes a breach at work.

The bottom line

Password spraying guesses weak passwords; credential stuffing replays stolen ones. The first is beaten by banning common passwords, the second by never reusing them — and both are beaten by phishing-resistant MFA and detection that looks across accounts.

Start with the two checks that cost nothing: test whether your passwords appear in known breaches with the free pwned password checker, and turn on passkeys or security keys wherever they are offered.

Frequently asked questions

What is the difference between password spraying and credential stuffing?

Password spraying tries one or a few common passwords against many accounts, guessing passwords nobody stole. Credential stuffing replays username and password pairs taken from a real breach against a different service, relying on people reusing the same password.

Is password spraying the same as brute force?

No. Brute force tries many passwords against one account, which quickly trips lockouts. Password spraying flips that around: few passwords against many accounts, so each account sees only one or two failed attempts and never locks.

Can credential stuffing succeed on the first try?

Yes. If the stolen pair is still valid on the target service, the first attempt logs the attacker in. That is why stuffing often shows almost no failed attempts before a successful sign-in.

Why do account lockouts not stop password spraying?

Lockouts count failures per account, and spraying deliberately keeps each account to one or two failures per round. The attack only becomes visible when you count failures across many accounts from the same source or with the same password.

Does MFA stop both attacks?

Yes, when it is phishing-resistant. Passkeys and FIDO2 security keys stop both, because a stolen or guessed password alone is not enough. One-time codes help against spraying and stuffing, but can be phished by relay kits.

What should I do if my account was hit by credential stuffing?

Change the password immediately from a trusted device, check for new forwarding rules and unknown devices or sessions, and change the same password everywhere else you reused it. Check whether the password appears in known breaches with a free checker.

How can a small business detect password spraying?

Alert on many different accounts failing from one source or with one password in a short window, and on a sudden rise in failed sign-ins overall. Per-account alerts alone will miss it.

Sources

  1. MITRE ATT&CK — Brute Force: Password Spraying (T1110.003)
  2. MITRE ATT&CK — Brute Force: Credential Stuffing (T1110.004)
  3. CISA, NSA, FBI, MS-ISAC — Phishing Guidance: Stopping the Attack Cycle at Phase One
  4. FBI Internet Crime Complaint Center — 2025 IC3 Annual Report
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against MITRE ATT&CK sub-techniques T1110.003 and T1110.004 and joint CISA/NSA/FBI phishing guidance.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free