PracticeISCFree practice exam

ISC · Security and Confidentiality and Privacy · 9 practice questions

Password Spraying vs Credential Stuffing: Distinguishing Signs

Password spraying tests a few common passwords across many accounts; credential stuffing tests previously exposed username-password pairs. Below, sort one company portal’s login patterns by the credentials attackers test.

The rulePassword spraying tries a small set of common passwords across many accounts, keeping attempts per account low to avoid lockouts. Credential stuffing tests matched username-password pairs exposed in another breach.

Try one first

A company's cloud email logs show that, over a 25-minute period, a single foreign IP attempted sign-ins for 4,200 valid employee usernames. For each username, the attacker tried only two very common passwords and then stopped, apparently to avoid lockout thresholds. A small number of accounts were successfully accessed, and mailbox forwarding rules were then created. Management also knows that some employees' credentials had appeared in a consumer-site breach the prior year, but the logs do not show username-specific password pairs being tested. Assuming the sign-in logs are complete, which attack type is best supported by these facts?
Hint

Focus on the attacker’s login pattern: many accounts with very few common-password attempts each is different from using known credential pairs or hammering one account repeatedly.

Sort it

Password spraying

Does the attacker spread a few common password guesses across many usernames?

Credential stuffing

Does the attacker test matched username-password pairs exposed in another breach?

ItemGoes to
At one company's portal, an attacker tries Welcome1! against 100 usernames, then Spring2026! against those same usernames.Password sprayingThe usernames change while the same two common guesses repeat across accounts.
The portal receives one attempt for each of 100 accounts. Every attempted pair exactly matches an unrelated site's breach list.Credential stuffingThe attacker tests exposed matched pairs, even with only one attempt per account.
Hundreds of rotating IP addresses each submit Welcome1! against different portal users. No user-specific breached pairs are tested.Password sprayingThe same common guess spreads across users. Rotating IPs do not change that pattern.
One IP address tests 100 portal usernames with their corresponding passwords from an external breach.Credential stuffingExposed matched pairs define stuffing. A single source IP does not make it spraying.
Some employees appeared in an earlier breach, but portal attempts use only two common guesses that do not match their exposed pairs.Password sprayingThe tested credentials show broad common-password guessing. The earlier breach is a distraction.
Several portal accounts accept Welcome1!. Each had received only that common guess, also tried against many other accounts.Password sprayingThe same common password was guessed across accounts; successful guesses do not establish use of breached pairs.
The portal locks accounts after five failures. An attacker tries two common passwords against each of 100 users.Password sprayingThe two common guesses spread across users identify spraying; staying below the five-failure threshold explains why lockouts are not triggered.
Portal accounts receive one or two attempts each. The tested passwords vary by username and match exposed pairs from another site.Credential stuffingThe exposed username-specific pairs identify stuffing despite the low attempt counts.
An attacker tries Welcome1! across 100 portal users. Two successful users also used that password on a breached consumer site.Password sprayingThe observed method spreads one common guess across users. Incidental password reuse does not establish replay of breached pairs.
Rotating residential IPs submit user-specific pairs from an external breach to the portal, often succeeding on the first attempt.Credential stuffingReusing exposed matched pairs identifies credential stuffing.
The attacker has employee usernames and uniquely salted hashes from another site's breach, but submits only two common guesses across portal accounts.Password sprayingThe actual attempts spread common guesses across users. Possessing hashes does not establish testing of usable breached password pairs.
The portal accepts passwords from exposed matched pairs, but MFA prevents the attacker from completing those logins.Credential stuffingTesting exposed matched pairs identifies credential stuffing even when MFA prevents completed logins.

Key points

  • Remember: Common guesses spread across users mean spraying; exposed matched pairs mean stuffing.
  • Few attempts per account and rotating source IPs can occur in either attack.
  • A prior breach alone does not establish stuffing; identify the credentials actually tested.

How the exam traps you

  • Calling every low-attempt, many-account attack password spraying. Check whether the attacker tests common guesses or exposed matched pairs.
  • Choosing credential stuffing just because employees appeared in a prior breach. The tested pairs must support credential reuse; unrelated breach history does not override a common-password pattern.
  • Letting rotating IP addresses determine the classification. Source rotation describes delivery, not whether passwords were guessed or reused from exposed pairs.

8 more, each from a different angle

0 of 8 answered · 0 correct

Question 2

A company's web login portal has seen a sustained surge in authentication attempts. Logs show thousands of attempts using username/password lists taken from multiple unrelated third‑party breaches; the attempts originate from many different IP addresses across multiple countries, and only accounts where users had reused breached passwords were successfully accessed. Which of the following is the most appropriate combination of immediate containment and longer-term preventive measures to address this threat?
Hint

Focus on defenses that remain effective when attackers present valid, stolen credentials and that mitigate distributed, automated login attempts.

Question 3

A company notices repeated failed VPN login attempts affecting many employee accounts. The security team confirms that the attacker is using real username-password combinations obtained from an unrelated external data breach. The attacker is not guessing passwords and did not contact employees directly. Which type of attack is this?
Hint

Focus on how the attacker obtained or used the passwords: guessed them, reused stolen ones, or tricked users into giving them up.

Question 4

A company's employee payroll portal experienced 27 unauthorized direct-deposit changes over a two-day period. The security team found that: (1) each affected account showed a successful login from a different IP address, often with only one failed attempt or none, (2) affected usernames match employees' corporate email addresses, (3) no malware or unusual outbound traffic was found on affected employees' devices, and (4) employees already enrolled in MFA for the portal were not affected. Assume the portal must remain available during the investigation and the company can quickly enforce one control change. Based on the most likely attack pattern, what is the best action?
Hint

Focus on what the login pattern says about the attacker’s method: many IPs, very few failed attempts, no endpoint malware evidence, and a clear difference between MFA and non-MFA users.

Question 5

Year 1: TechCo's security operations team investigated a month-long incident with these facts: (1) a targeted phishing campaign delivered credential‑harvesting links and at least one employee submitted corporate credentials; (2) SOC logs show repeated failed remote‑VPN login attempts from many IP addresses over several days (a credential‑stuffing pattern); (3) shortly afterward, there was a successful VPN login from an unusual geographic location using the compromised employee's account, followed by access to internal file shares and a large archive of personal data uploaded to an unmanaged public cloud account. TechCo's remote access currently uses password‑only authentication (no MFA). Which of the following is the most appropriate immediate control to implement to reduce the risk of this type of compromise going forward?
Hint

Focus on a control that prevents access even when an attacker already knows valid usernames and passwords and can be applied promptly to remote logins.

Question 6

A company detects 1,500 failed sign-in attempts in one hour. The investigation shows that the attacker tried the same commonly used password against hundreds of different user accounts, with only a few attempts per account to reduce the chance of account lockouts. Which factor most strongly supports classifying this activity as a password-spraying attack?
Hint

Focus on what changes from attempt to attempt: the password, the user account, or the delivery method.

Question 7

A company's security team is reviewing authentication logs for its cloud email system. Which activity pattern should most directly trigger concern that a password spraying attack is underway?
Hint

Focus on the login pattern attackers use when they want to guess passwords without causing many account lockouts.

Question 8

A company detects 18,000 failed login attempts against its customer portal over 6 hours. The traffic comes from a rotating set of IP addresses, and most accounts are tried only once or twice to avoid lockout thresholds. Forensic review shows that nearly every attempt uses a complete username-password pair, and those exact pairs match credentials exposed in an unrelated third-party breach. Assume there is no evidence of phishing, malware on customer devices, or MFA-session theft. For incident-classification purposes, what is the most appropriate treatment of this activity?
Hint

Focus on what the attacker already has: unknown passwords to guess, a few common passwords to reuse broadly, or matched username-password pairs from another breach.

Question 9

Assume no endpoint compromise, phishing, or insider assistance. A company's legacy VPN portal uses employee email addresses as usernames, locks an account for 30 minutes after 5 failed attempts on that same account, and does not require MFA on that portal. An attacker can enumerate employee email addresses and has obtained from an unrelated consumer-site breach a file containing some employees' email addresses and uniquely salted password hashes, but no plaintext passwords. The attacker wants the fastest practical path to initial VPN access while minimizing lockouts. Which attack is most viable under these limiting conditions?
Hint

Focus on what inputs each attack requires and which attack is least constrained by a lockout that is measured per account rather than across the whole system.

Drill all 139 Threats and attacks questionsMixed across every rule in the topic, so you have to spot which one applies. That is how the exam does it.

Common questions

What is the difference between password spraying and credential stuffing?

Spraying spreads a few common password guesses across many usernames. Stuffing tests matched username-password pairs exposed in another breach.

Can credential stuffing use only one or two attempts per account?

Yes. Low attempt counts do not make it spraying when the attacker is testing exposed matched pairs.

Is it still credential stuffing if MFA blocks the login?

Yes. Testing exposed matched pairs identifies credential stuffing even when MFA prevents completed logins.

Watch it solved

A full CPA ISC task-based simulation on Threats and attacks, worked step by step.

SIEM Attack Identification | CPA ISC Simulation (TBS) on YouTube

Practice ISC like the real exam

The free ChatCPA simulator: real exam layout, timed testlets, starting with a question on this topic. No account needed to start.

Open the free simulator →

More on Threats and attacks

All Threats and attacks practice →

Questions from the ChatCPA bank of 17,658 CPA exam questions, each with a written reason for every wrong answer. ChatCPA is built by Nicholas Miller, CPA (Oregon #14907). How these pages are made. Spot an error? Tell us.