An attacker doesn’t need your best password. They need one weak one. Password spraying finds it by trying a handful of common passwords, such as “Winter2026!” or the company name plus “123”, against every account in a business, a few tries at a time, so nothing gets locked out and nobody notices.
This post explains how a password spray works, why it still succeeds against Microsoft 365 and Google Workspace, how to spot one, and what stops it.
What password spraying is
Password spraying is the opposite of a classic guessing attack.
- Brute force tries thousands of passwords against one account. It trips the lockout fast.
- A password spray tries one or two likely passwords against many accounts, then waits and tries again later. Each account sees only a failed sign-in or two, below the lockout limit.
The attacker only needs one account where the password is weak and there’s no multi-factor authentication (MFA). One is enough to start reading mail, sending invoices from a real address, or moving deeper.
Why it still works
- Most identity attacks are still password attacks. 97% of identity attacks are simple password attacks, and MFA stops over 99% of them. (Microsoft Digital Defense Report 2025) Password spraying is one of the main ones.
- Some accounts never got MFA. Shared mailboxes, old service accounts, test accounts and the reception login are the usual gaps.
- Old sign-in methods skip MFA. Legacy protocols such as basic authentication for older mail apps can accept a password with no second factor if they’re still switched on.
- People pick predictable passwords. Seasons, years, sports teams and the company name, with a capital letter and ”!” added to meet the rules.
- Attackers hide where the tries come from. Sprays often come through residential proxy networks, so each attempt looks like an ordinary home internet connection.
A real example
In January 2024, Microsoft disclosed that a nation-state group got into its corporate environment through a password spray. The way in was a legacy, non-production test account that did not have MFA turned on. The attackers kept the number of tries low to avoid detection, used residential proxies, and then used an old test app with high access to reach mailboxes, including some senior leaders’ email (Microsoft Security Response Center, January 2024).
If a forgotten test account can do that at Microsoft, the forgotten shared mailbox at a 40-person firm can do it too.
How to spot a password spray
In your Microsoft Entra ID or Google Workspace sign-in logs, look for:
- Failed sign-ins across many different accounts in a short window, often with the same error (wrong password)
- Many accounts tried from the same IP range, country or hosting network, or from a spread of residential addresses at the same time
- Sign-ins to accounts that rarely sign in: shared mailboxes, service accounts, former staff
- Attempts over legacy protocols in a tenant that should only use modern sign-in
- One success among many failures. That one account is the one to act on now
Each account on its own looks fine. The pattern only shows up when you look across all of them at once.
How to stop it
- Turn on MFA for every account, including admins, shared mailboxes you sign in to and service accounts where possible. If you have no Entra ID P1 licences, turn on Microsoft’s security defaults. Use phishing-resistant MFA (passkeys, security keys) for admins.
- Block legacy authentication. It’s the side door that skips MFA.
- Ban common passwords. Use Microsoft Entra Password Protection’s banned-password list and add your company name, town and products.
- Clean up accounts nobody uses. Disable former staff, old test accounts and shared mailboxes that don’t need to sign in.
- Keep smart lockout on, so repeated tries from the same place get slowed down.
- Watch sign-ins across the whole tenant, so a spray is seen as one attack, not fifty separate failed logins.
What to do if a spray worked
If one account signed in successfully in the middle of a spray:
- End every session for that account and reset the password.
- Turn on MFA for it now, and check its sign-in methods for anything the person doesn’t recognise.
- Look for what the attacker did: new inbox rules, forwarding, app consents, sent mail and file downloads.
- Check the other accounts in the spray for the same weak password, and force resets where needed.
- Find out why that account had no MFA, and close that gap for every account like it.
A worked example
A 40-person engineering firm on Microsoft 365.
- Tuesday, 2:10 am: 180 failed sign-ins hit 38 accounts over three hours, from addresses across a residential proxy network. Each account sees one or two failures. Nothing locks out.
- Tuesday, 4:52 am: The shared “projects@” mailbox signs in successfully with “Summer2026!”. It has no MFA, because it was set up years ago for a scanner.
- Tuesday, 4:58 am: The attacker starts reading project threads with clients and suppliers.
- What stops it: a sign-in watch sees the failures across 38 accounts as one spray, notices the single success, ends that mailbox’s sessions and resets its sign-in. The MSP reviews the morning summary, sets MFA on the mailbox and two other old accounts, and blocks legacy authentication tenant-wide.
The example is illustrative.
Checklist: password spray defences
- MFA on every account, including shared mailboxes and service accounts that sign in
- Phishing-resistant MFA for admins
- Legacy authentication blocked
- Banned-password list with your company name, town and products
- Old test accounts, former staff and unused shared mailboxes disabled
- Smart lockout on
- Alerts on failed sign-ins across many accounts at once
- A plan to end every session for an account in under five minutes
Where Centeye fits
Centeye Gatewatch watches every sign-in across Microsoft 365 and Google Workspace. It spots password sprays across many accounts, points to the account that let the attacker in and the accounts that still need MFA, and on the rules you set ends sessions, resets sign-in and removes what the attacker added. It also catches what usually comes next: stolen sessions, MFA fatigue, hidden inbox rules and risky app consent.
New to identity threat detection? Start with what ITDR is.
FAQ
What is password spraying? An attack that tries a few common passwords against many accounts, slowly, to avoid lockouts. It looks for the one account with a weak password and no MFA.
How is password spraying different from brute force? Brute force tries many passwords on one account and triggers a lockout. Spraying tries one or two passwords on many accounts, so each account only sees a failure or two.
Does MFA stop password spraying? Almost always. Microsoft says MFA stops over 99% of password attacks. Sprays succeed against accounts that don’t have MFA, or through old sign-in methods that skip it.
How do I know if my business was hit by a password spray? Look in your sign-in logs for failed sign-ins across many accounts in a short time, from the same network or a spread of home internet addresses. Pay most attention to any successful sign-in among them.
Does account lockout stop password spraying? Not on its own. Sprays are designed to stay under the lockout limit. MFA, blocking legacy authentication and watching sign-ins across all accounts are what stop it.
Figures from the Microsoft Digital Defense Report 2025. Incident details from the Microsoft Security Response Center’s January 2024 disclosures and public reporting. The worked example is illustrative. Microsoft 365 and Microsoft Entra are trademarks of the Microsoft group of companies. Google Workspace is a trademark of Google LLC.