Password spray is when someone tries the same weak password across many accounts instead of guessing many passwords on one account
A password spray attack works like this: an attacker gets a list of usernames or email addresses — often from a data breach or by scraping a company website — and then tries one common password (like "Password123" or "Welcome2024") against all of them at once. If even a small percentage of people use that password, the attacker gains access to real accounts. The attacker then moves to the next common password and repeats.
This is different from a brute-force attack, which hammers one account with thousands of password guesses until it breaks in. Password spray is slower but much harder to catch, because it spreads the attempts across so many accounts that security systems often miss it. A single failed login looks like a typo. Fifty failed logins from the same IP address in an hour looks like an attack. But fifty successful logins using the same password across fifty different accounts can look like normal traffic.
Key Takeaways
- Password spray attacks target many accounts with a few common passwords rather than targeting one account with many guesses.
- Attackers usually start with passwords found in previous breaches or passwords known to be widely used, like "123456" or "password".
- The attack succeeds only if people reuse weak passwords across multiple sites, which is why unique passwords matter for each account.
- Security systems can detect spray attacks by watching for multiple failed or successful logins from the same source in a short time window.
Why attackers choose spray over other methods
Spray attacks work because they exploit human behavior, not software weakness. Most people reuse passwords. Most people choose from a small pool of common passwords. An attacker doesn't need to crack encryption or find a zero-day vulnerability — they just need to know that thousands of people probably use "Qwerty123" or "Letmein" somewhere.
The attacker also avoids triggering account lockouts. Many systems lock an account after five or ten failed password attempts. But if you try one password across five thousand accounts, you never hit that limit on any single account. You might get locked out of fifty accounts, but you've gained access to dozens of others. The math works in the attacker's favor.
Where attackers get the username lists
Attackers build their target lists from several sources. The easiest is a previous data breach — when a company loses customer data, that information often includes usernames or email addresses. Websites like Have I Been Pwned track which breaches are public and searchable. An attacker can read a list of millions of email addresses from a single breach and use it as a starting point.
They also scrape usernames from public sources: LinkedIn profiles, company directory pages, GitHub accounts, or email addresses listed on websites. They can generate plausible email addresses by combining common first and last names with a company domain. They can also buy lists from other criminals who specialize in data collection.
The passwords attackers try first
Attackers don't guess randomly. They use lists of the most common passwords, ranked by how often they appear in breaches. The top passwords tried in spray attacks are almost always the same: "123456", "password", "12345678", "qwerty", "abc123", "monkey", "1234567", "letmein", "trustno1", "dragon". These appear in breach databases thousands of times.
Attackers also try passwords tied to the target company or industry. If they're spraying a bank, they might try "Banking2024" or "Finance123". If they're targeting a healthcare company, they might try "Hospital2024" or "Health123". They also try seasonal variations: "Summer2024", "Winter2024", "Spring2024". Each password is tried against thousands of accounts before moving to the next one.
How to recognize if your account was targeted
You usually won't see a spray attack happening in real time. But you might notice signs afterward. Check your email for login notifications from places you don't recognize or at times you weren't online. Most email providers and social media sites send alerts when someone logs in from a new device or location. If you see "Your account was accessed from Chrome on Windows in New York" and you live in California, that's a sign someone else got in.
Check your account's login history or active sessions if the service offers it. Gmail shows this under "Your Google Account" > "Security" > "Your devices". Microsoft shows it under "Account" > "Security" > "Recent activity". If you see sessions you don't recognize, change your password when ready and enable two-factor authentication if you haven't already.
Why two-factor authentication stops spray attacks cold
Two-factor authentication (2FA) is the single most effective defense against password spray. Even if an attacker guesses your password correctly, they can't log in without the second factor — usually a code from an authenticator app, a text message, or a security key. The attacker has your password but not your phone, so they're locked out.
This is why 2FA works even against weak passwords. A spray attacker might crack your password, but they can't crack your phone. They can't intercept your authenticator app. They can't use your security key remotely. 2FA turns a successful password guess into a failed login attempt. If you use 2FA on email, banking, social media, and work accounts, you've eliminated the main path spray attacks take.
What makes a password resistant to spray attacks
Length matters more than complexity for spray attacks. A 16-character password made of random words — "correct-horse-battery-staple" — is harder to guess than an 8-character password with numbers and symbols — "P@ssw0rd". Spray attackers try common passwords, not random ones. If your password isn't on their list, they move on.
Uniqueness matters most. If you use the same password on five sites and that password appears in a breach, an attacker will try it on your email, your bank, your work account, and your social media. If each account has a different password, the attacker gains access to one account and stops there. A password manager like Bitwarden, 1Password, or KeePass makes it practical to use a unique password everywhere without memorizing them.
Frequently Asked Questions
Can password spray attacks be traced back to the attacker?
Sometimes. Attackers usually route their traffic through VPNs, proxy servers, or compromised computers to hide their location. But security teams can log the IP addresses where attacks originated and share that information with law enforcement or internet service providers. Most spray attacks go untraced because they're low-priority compared to other crimes, but large-scale attacks on government or financial systems do get investigated.
If I use a strong password, am I safe from spray attacks?
A strong password helps, but only if it's unique to each account. If your strong password is the same on Gmail and your bank account, and that password appears in any breach, you're vulnerable. Spray attackers don't try weak passwords on strong-password users — they try common passwords on everyone. A unique password stops them even if it's not particularly complex.
Do companies get warned when spray attacks target their users?
Large companies with security teams usually detect spray attacks and may notify users or reset compromised accounts. Smaller companies often don't notice until after the fact. Email providers like Gmail and Outlook have automated systems that flag suspicious login patterns and prompt users to verify their identity. But you shouldn't wait for a company to warn you — enable 2FA on important accounts now.
Why don't services just block common passwords?
Many do. Gmail, Microsoft, and others maintain lists of breached passwords and prevent you from using them. But attackers constantly find new common passwords, especially ones that haven't appeared in public breaches yet. A password that's common in one country or language might not be on a global blocklist. Services also can't block every weak password without frustrating users who want straightforward passwords they can remember.