A common answer to "are we protected against credential stuffing?" is "yes, accounts lock after five failed attempts." It sounds reasonable. Lockout stops someone from guessing a password over and over, so it seems like it should stop automated login abuse in general. For credential stuffing, though, lockout almost never fires, and the first sign of the attack is often a user reporting that their account was taken over.
Why the lockout counter never reaches its limit
Lockout works by counting failures per account. Each username has a counter. When the counter passes a threshold within some window, the account is locked or slowed down. This design targets classic brute force, where one account receives many password guesses.
Credential stuffing does the opposite. As Palo Alto Networks describes it, a brute-force attack tries thousands of different passwords against a single account, while credential stuffing uses bots to test one known username and password pair against thousands or millions of different accounts. The attacker already has a list of leaked pairs from other breaches, often called a combo list. They are not guessing. They are checking whether your users reused a password somewhere else. If that background is new to you, this explanation of how combo lists work covers it.
So each account gets one attempt, maybe two if the list contains a couple of variants. With a threshold of five, the counter for each account goes from zero to one and stays there. Across the whole user base you might see a large number of failures in a day, but no single account comes close to locking. The lockout feature is working exactly as designed. It is just measuring the wrong thing.
Per-IP rate limiting has the same blind spot. Attackers spread requests across many source addresses, often proxies, so each IP also sends only a few requests. Every counter keyed on one dimension (one user, one IP) stays low while the total climbs.
What lockout does do, and where it can hurt
Lockout still has value. It blocks the naive attacker who hammers one admin account, and it limits the damage if someone targets a specific person. Keep it.
It is worth knowing the trade-off, though. Because lockout is keyed on the username, anyone who knows a username can lock that account by sending bad passwords on purpose. A strict threshold with a long lock period protects against guessing but makes it easier to lock real users out. Many setups use a short temporary lock or progressive delays instead of a permanent lock for this reason. Which balance fits depends on how much a locked account costs your users and your support team.
In support, this shows up as tickets that seem unrelated. A few users can't log in because they are locked. A few others say their account was used by someone else. Both can be traces of the same campaign, and nobody connects them because each ticket is about one account.
The signal is in the aggregate
If per-account counters can't see the attack, you have to look across accounts. Credential stuffing leaves patterns that only show up when you group failures by something other than the username:
- Many distinct usernames from one source. A real person fails on one or two accounts they own. A stuffing node fails on dozens or hundreds of different usernames.
- Clusters in the same network. Even when IPs rotate, they often come from the same /24 range, the same hosting provider, or the same ASN (autonomous system number, the ID of the network that announces those IP ranges on the internet). A burst of failures from a data center ASN against a consumer login page is unusual.
- Timing that doesn't match your users. Failures spike at hours when your real traffic is low, or arrive at a steady machine rhythm instead of the uneven pattern humans produce.
- Usernames that don't exist. Combo lists come from other services, so many attempted usernames were never registered with you. A rising share of failures on unknown usernames is a strong hint.
None of these is proof on its own. A university or a mobile carrier can put many real users behind one IP. That is why this works better as a regular review by a person than as an automatic block rule.
A weekly review you can actually run
You don't need a SIEM to start. You need failed login records that include the time, the source IP, and the attempted username. Where that data lives depends on your stack: an application log, a security plugin's table, the web server access log, or a reverse proxy. On some login pages the access log alone is not enough, because failed and successful logins return the same status code. In that case you need the application to log the outcome explicitly.
Once you can export failures to a simple CSV with timestamp,ip,username per line, standard shell tools are enough. Start by counting how many distinct usernames each IP and each /24 failed against:
# failures.csv: timestamp,ip,username (one row per failed login, IPv4)
# Distinct usernames per source IP, top 20
awk -F',' '{print 2","3}' failures.csv | sort -u | cut -d',' -f1 | sort | uniq -c | sort -rn | head -20
# Distinct usernames per /24 range, top 20
awk -F',' '{split(2,o,"."); print o[1]"."o[2]"."o[3]".0/24,"3}' failures.csv | sort -u | cut -d',' -f1 | sort | uniq -c | sort -rn | head -20
The first column is the number of different accounts that source failed on. Your normal baseline matters more than any fixed cutoff. As an illustrative example, if most IPs fail on one or two usernames a week and one range fails on several hundred, that range deserves a closer look.
Next, check timing. If timestamps are in ISO 8601 format (2026-11-30T12:36:53), the first 13 characters give you the hour, which is enough to see bursts:
# Failed logins per hour, in chronological order
cut -d',' -f1 failures.csv | cut -c1-13 | sort | uniq -c
Compare this against the same week's successful logins. A failure curve that rises when real usage is falling is the shape you are looking for.
Finally, map the top sources to their networks. Team Cymru runs a public IP-to-ASN whois service that is handy for spot checks:
# Look up the ASN and network name for one IP (read-only query)
whois -h whois.cymru.com ' -v 203.0.113.10'
If the top offenders sit in a handful of hosting or proxy ASNs, you have found the campaign's infrastructure, and you can decide whether to challenge or rate-limit that traffic. Be careful with broad ASN blocks. Residential proxy traffic comes from ordinary ISP ranges your real users also use, so blocking by ASN can lock out customers. A CAPTCHA or extra verification step for that traffic is usually a safer first response than an outright block.
The last check is the one that matters most: did any of those sources also produce a successful login? A success from an IP that failed against dozens of other usernames in the same week is very likely a compromised account. Force a password reset for that account and review its recent activity before the owner notices. For a deeper walk through reading auth logs for this pattern, see finding low-and-slow credential stuffing in auth logs.
Why weekly, and what to write down
Daily reviews tend to get skipped, and monthly reviews find campaigns after the takeovers have already happened. Weekly is a rule of thumb that fits most small and mid-size teams, and it is short enough to catch a slow campaign while it is still running. If your login page is a frequent target, move to a shorter interval or automate the first two queries as a report.
Keep a short note each week with the top sources, the ASNs, the failure peak hour, and any accounts you reset. After a few weeks you have a baseline, and an unusual week stands out without any guessing. That record also helps when a takeover ticket arrives. Support can check whether the account's bad login came from a source already on the list, which turns a confusing single-account complaint into a known pattern.
Keep account lockout for what it does well, but don't count it as your credential stuffing defense. The attack is built to stay under per-account limits, so the only way to see it is to group failures by source, network, and time. Set aside time each week to run those groupings, check whether any suspicious source also logged in successfully, and reset those accounts first.