Stuffing announces itself in proportions: the ratio of failed to successful logins bends, attempts per account and per address spread in patterns no human population produces, and successes, when they come, land on accounts that then do uncharacteristic things immediately. The individual request looks innocent. The distribution is the confession, which is why detection lives in aggregated logs over windows of hours, not in any single alert.
The ratio signals
Start with login success rate. A healthy consumer login converts a stable share of attempts; a stuffing run drags it down because most replayed pairs are wrong for your site. Pair that with attempts per username: humans mistype their own password a few times, while a list works through accounts at one or two tries each, so a surge in distinct usernames with exactly one failure is a list being tested. OWASP's bot management guidance formalizes the defensive version of the same view: separate rate buckets per username and per IP or ASN, because the attack is visible in both dimensions and invisible in either alone at low volume.
Geography and device add the next layer. A stuffing run's successes often arrive from addresses and device fingerprints the account has never used, at hours the account never keeps, followed within minutes by a password change, an email change, or a purchase. Log the sequence, not just the login: stuffing detection that stops at authentication misses the part where the money leaves.
What normal looks like, measured
None of these signals fire without a baseline, and most teams have never computed theirs. You need your ordinary login success rate by hour, your ordinary distribution of attempts per account, and your ordinary share of logins from new devices, before an attack week can be recognized as one. Build those from last quarter's logs now, while nothing is burning. The same baseline discipline applies to the queue side of the house, where abandonment and wait-estimate data only mean something against a normal drop's curve.
Turning signals into response
Detection without a rehearsed response is just documentation of the loss. Decide the ladder in advance: at the first threshold, step up challenges on the login path and tighten the per-username bucket; at the second, force password resets for accounts with successful logins from new devices during the window; at the third, notify affected customers with a specific message, not a vague security email. Each rung should name its owner and its false-positive cost, because the middle of an attack is the worst time to negotiate whether security may inconvenience marketing's login conversion metric. Afterward, feed every confirmed compromised account into your breached-password screening so the same pair never works twice.
Frequently asked questions
What is the earliest signal of a stuffing attack?
Usually a falling login success rate with rising attempt volume, before any compromise is confirmed. A single metric can wobble for innocent reasons, so alert on the combination: success rate down, distinct usernames attempted up, share of one-attempt accounts up.
Why do per-account lockouts miss stuffing?
Because stuffing tries few passwords per account, often one. Lockouts punish the tenth attempt; the list has moved on by then. Per-username velocity across the whole window and per-IP or per-ASN aggregation are what expose the pattern.
Should we tell customers their accounts were targeted?
Tell the ones whose accounts were actually accessed, specifically and promptly: what happened, what was changed, what you reset. For accounts merely attempted, forced resets plus screening are usually proportionate. Vague mass emails train customers to ignore the real ones.
What should we log to detect stuffing?
Timestamp, account identifier, source IP and ASN, device fingerprint, success or failure, and the first actions after any success: password or email change, new payment method, purchase. The post-login actions are where confirmation lives.