Skip to content

Password spray

noun · also Password spraying · MITRE ATT&CK T1110.003

An attack that tries a few common passwords against many accounts, staying under lockout limits that per-account guessing would trigger.

A classic brute-force attack hammers one account with thousands of passwords and quickly hits account lockout. Password spraying turns this around: the attacker picks one or two likely passwords, such as Spring2026! or the company name followed by a year, and tries them once against hundreds or thousands of accounts. Each account sees only one failure, so lockout never triggers, but in a large organization someone is usually using that password.

MITRE ATT&CK tracks it as T1110.003, a sub-technique of Brute Force under the Credential Access tactic.

How it works

  1. Build a user list from the company website, professional networks, old breaches and predictable formats such as first.last@company.com.
  2. Choose a few passwords: seasons and years, the company name with numbers, the most common passwords from breach dumps.
  3. Spray slowly, one attempt per account per round, often from many IP addresses at hosting providers or proxies, to stay under per-account and per-IP limits.
  4. Use what works. A valid password leads to a sign-in, or to an MFA prompt the attacker may try to get past with phishing or MFA fatigue.

It is different from brute force (many passwords, one account) and from credential stuffing (exact username and password pairs leaked from other sites).

Example

Sign-in logs show the same IP address failing to authenticate as 400 different users over 30 minutes, each with error code 50126 (invalid username or password), followed by one success and two sign-ins interrupted by MFA. Three passwords are now known to the attacker; one account is fully compromised.

How it shows up in Entra ID

  • Smart lockout locks an account for 60 seconds after 10 failed attempts by default in commercial tenants, and keeps separate counters for familiar and unfamiliar locations. A careful spray stays below that.
  • Error codes in SigninLogs: 50126 (wrong username or password) dominates. MFA-required codes such as 50076, or 53003 (blocked by Conditional Access), mean the password was correct.
  • Entra ID Protection (P2) has a Password spray risk detection, which fires only when the attacker successfully validates a password.

Microsoft's playbook distinguishes a password compromise (the password was guessed but MFA or Conditional Access blocked access) from an account compromise (the attacker got in). Both need action.

Detection and response

  • Aggregate by source: many distinct users failing from one IP, autonomous system or user agent in a short window.
  • Look for the hits: successful or interrupted sign-ins from the spraying addresses. Those accounts come first.
  • Respond per account: reset the password, revoke sessions, review MFA methods, devices, inbox rules and activity after the sign-in.
  • Fix the cause: MFA for everyone, blocked legacy authentication, Entra Password Protection with a custom banned list, and risk-based Conditional Access where licensed.

The Sentinel analytics rule tutorial turns this detection into a scheduled rule, and the suspicious sign-in investigation covers what to check on each compromised account.

Common mistakes

  • Waiting for lockouts, which a careful spray never causes.
  • Treating MFA prompts as failures: the password worked.
  • Only blocking the IP address: attackers rotate infrastructure, and the guessed passwords stay valid until reset.

Why it matters for a SOC analyst

Spraying is noisy across accounts but quiet per account, so detection means aggregating by source: many distinct users failing from the same IP, ASN or user agent in a short time. A successful sign-in at the end of a spray deserves the same treatment as a confirmed credential compromise, even if MFA stopped the attacker for now.

Articles that use this term

  • Brute force

    Gaining access by systematically trying passwords or keys until one works, either online against a login or offline against stolen hashes.

  • Credential stuffing

    Automated sign-in attempts using username and password pairs leaked from other breaches, betting that people reuse the same password.

  • MFA fatigue

    An attack that floods a user with MFA push prompts, using a stolen password, until the user approves one out of confusion or annoyance.

  • Conditional Access

    Microsoft Entra ID's policy engine that decides, at each sign-in, whether to allow access, require MFA or another control, or block.

  • SIEM

    A platform that collects logs from across an organization, correlates them and raises alerts, giving the SOC one place to investigate.