Credential stuffing attack
Goal
Detect Account Take Over (ATO) through credential stuffing attack.
A credential stuffing attack is used to gain initial access by compromising user accounts.
The attacker obtains a list of compromised usernames and passwords from a previous user database breach, phishing attempt, or other means. Then, they use the list of username and passwords to attempt to login to accounts on your application.
It is common for an attacker to use multiple IP addresses to target your application in order to distribute the attack load for load balancing purposes, to make it more difficult to detect, or make it more difficult to block.
Strategy
To determine a successful attempt: Detect a high number of failed logins from at least 25 unique users and at least one successful login for a user within a period of time from the same IP address.
To determine an unsuccessful attempt: Detect a high number of failed logins from at least ten unique users within a period of time from the same IP address.
Triage and response
Use this Datadog runbook to assist in your investigation.
- Determine if it is a legitimate attack or a false positive
- Determine compromised users
- Remediate compromised user accounts