Your account lockout policy works. Your rate limiter works. Your WAF works. And none of them fired during a credential stuffing campaign that tested stolen passwords against thousands of your user accounts. That is the problem with distributed stuffing: attackers try one or two passwords per account, stay under every per-account threshold, and move on. No single account looks abnormal. The attack only becomes visible when you look at the population.
This article walks through the investigation pattern as a post-mortem: what the initial signals looked like, how to query auth logs to surface the campaign, what the critical discovery was, and what to do about it both short-term and long-term.
Initial impact: nothing looked wrong
Credential stuffing uses username-password pairs leaked from breaches at other companies. Attackers feed these "combo lists" into automated tools — OpenBullet, Sentry MBA, or custom scripts — and test each pair against your login endpoint. Unlike brute force, which hammers one account with many passwords, stuffing tries one password per account across your entire user base.
The result: every individual account sees maybe one failed login attempt. Account lockout (typically triggered after five or ten failures) never kicks in. Per-IP rate limiting might not trigger either, because the attacker rotates source IPs. Your monitoring dashboard shows a normal failure rate. Nobody pages anyone.
The campaign only surfaces later, when a handful of users report unauthorized access, or when someone notices a subtle uptick in total failed logins across the platform.
Investigation: querying auth logs for population-level patterns
The first instinct is to look at individual accounts that reported compromise. Their logs show a single successful login from an unfamiliar IP. That tells you almost nothing on its own. The real signal is in the aggregate.
What you need to answer: "Did a large number of accounts each receive a small number of login attempts within a short window, from IPs that don't normally appear in our logs?"
For a Linux system using a standard auth log (like /var/log/auth.log on Debian/Ubuntu or /var/log/secure on CentOS/RHEL), SSH-level stuffing shows up as scattered Failed password entries. For web application logins, you need your application's authentication log — the exact format depends on your stack.
Here is a starting point for SSH auth logs. This counts how many distinct accounts each source IP attempted within a time window:
# Count distinct usernames attempted per source IP in auth.log
grep 'Failed password' /var/log/auth.log \\
| awk '{for(i=1;i<=NF;i++){if(i=="from"){ip=(i+1)}; if(i=="for"&&(i+1)!="invalid"){user=(i+1)}; if(i=="invalid"){user=$(i+2)}}} {print ip, user}' \\
| sort | uniq \\
| awk '{count[$1]++} END {for(ip in count) if(count[ip]>20) print count[ip], ip}' \\
| sort -rn | head -30
Illustrative output format:
847 203.0.113.42
612 198.51.100.77
445 192.0.2.15
An IP that attempted logins against hundreds of distinct usernames — but only once or twice per username — is a strong stuffing indicator. Normal users mistype their own password a few times. They do not mistype it on 800 different accounts.
For web application auth logs (say, a JSON-structured log from your app or a WordPress plugin that logs failed logins), the same logic applies: group by source IP, count distinct target usernames, and look for IPs that touched many accounts with few attempts each.
Critical discovery: the combo-list fingerprint
Here is where the investigation typically turns. When you extract the list of targeted usernames from the suspicious IPs, you notice something: the usernames are not random. They are real email addresses, many of which are not publicly visible on your platform. Some belong to accounts that were created years ago and rarely used.
This is the combo-list fingerprint. The attacker is not guessing usernames. They have a pre-compiled list of email-password pairs from a breach at a different service. They are testing whether your users reused those passwords on your platform.
You can confirm this by checking whether the targeted usernames correlate with known breach datasets. Services like Have I Been Pwned allow you to check individual addresses. If a high percentage of the targeted accounts appear in known breaches, you are almost certainly looking at a stuffing campaign driven by a specific combo list.
Another fingerprint: timing distribution. Legitimate failed logins are spread unevenly throughout the day, clustered around business hours. Stuffing campaigns driven by automated tools tend to produce a steady, mechanical cadence — one attempt every few seconds, evenly spaced, often running through the night.
For more detail on how tools like OpenBullet structure these requests and evade WAF detection, see How OpenBullet Credential Stuffing Bypasses WAF and What Logs Actually Reveal.
Temporary mitigation: slow the bleeding
Once you confirm a stuffing campaign is active or recently concluded, immediate steps:
Force password resets on compromised accounts. Any account that had a successful login from one of the identified attacker IPs needs an immediate password reset and session invalidation. Do not wait for users to report it.
Block the identified IP ranges. This buys time but is not a lasting fix — attackers rotate IPs cheaply. If you are using fail2ban, you can create a custom jail that triggers on the population-level pattern (many distinct usernames from one IP) rather than the per-account pattern. The exact jail configuration depends on your fail2ban version and log format, but the concept is: set maxretry low and use a filter that matches failed login lines regardless of username, so one IP accumulating failures across different accounts gets banned quickly.
Enable CAPTCHA or proof-of-work on login. Even a basic CAPTCHA raises the cost for automated tools significantly. This is a fast temporary measure while you work on the architectural fix.
Notify affected users. Users whose credentials were tested (even unsuccessfully) should be told their email-password combination from another breach is being used in attacks. Encourage them to change passwords everywhere, not only on your platform.
Architectural fix: detect the pattern before it succeeds
Temporary blocks and CAPTCHAs are reactive. The architectural fix is building detection that fires on the population-level pattern, not just per-account anomalies.
Aggregate failed-login monitoring. Your alerting system needs a rule that watches total failed logins across all accounts within a sliding window. A sudden increase in unique-accounts-with-failures — even if each account only has one failure — is the signal. The threshold depends on your baseline; you need to measure your normal rate first, then alert on deviations.
IP reputation scoring at login. Before processing a login attempt, check the source IP against reputation feeds or your own internal blocklist. IPs that have already failed against multiple distinct accounts in the past hour get challenged with a CAPTCHA or delayed response.
Credential-breach correlation. Some organizations periodically hash their users' passwords (using the same algorithm) and compare against known breach datasets to proactively identify users with compromised credentials. This is a sensitive operation — it must be done carefully to avoid creating new exposure — but it eliminates the attacker's advantage before they even try.
Multi-factor authentication. MFA is the most effective architectural defense against credential stuffing. Even if the attacker has the correct password, they cannot complete authentication without the second factor. Enforcing MFA for all users is the single change that makes combo lists nearly useless against your platform.
For a broader look at scheduling regular combo-list checks in your logs as an ongoing practice, this piece on weekly log checks covers the operational side.
What to take away
Credential stuffing does not look like an attack when you examine any single account. It looks like an attack when you step back and look at the population: hundreds or thousands of accounts, each with one or two failures, from IPs that touched many accounts in a short window, targeting usernames that match known breach data. Your per-account lockout and per-IP rate limiter are not broken — they are just solving a different problem. Build detection that watches the aggregate, force resets on anything that was touched, and push MFA adoption as hard as you can. The combo lists are not going away.