- Joined
- 31.10.19
- Messages
- 378
- Reaction score
- 833
- Points
- 93
Every year, millions of accounts are compromised through credential stuffing attacks. This method has become so widespread that back in 2022, according to one authentication provider, there was an average of one credential stuffing attempt for every two legitimate account logins. And over the past couple of years, the situation has likely not improved. In this post we will discuss in more detail how credential stuffing works, what data attackers use and how to protect from such attacks.
What is Credential Stuffing?
Credential stuffing is one of the most effective types of account attacks. These attacks use vast databases of pre-obtained usernames and passwords from accounts on various platforms. Attackers then mass-inject these usernames and passwords into other online services, hoping that some of them will work. The attack is based on the unfortunate fact that many people use the same password across multiple services or even use a single password everywhere. Thus, the attacker's expectations are inevitably met and they successfully hijack accounts using passwords set by victims on other platforms. Where do such databases come from? There are three main sources:
- Passwords stolen through mass phishing campaigns and phishing websites;
- Passwords intercepted by malware specifically designed to steal passwords;
- Passwords leaked as a result of online service hacks.
Nevertheless, if attackers really need your password even the most secure combination in the world will eventually be decrypted, sooner or later (in the case of a hash leak, most likely sooner). Therefore, no matter how secure a password is - it should not be used across multiple services!
Databases of stolen passwords are constantly growing, being filled with new data. This results in really large archives, the number of records in which far exceeds the population of the Earth. In January 2024, the largest known password database was discovered, containing 26 billion records.
How to protect against Credential Stuffing Attacks?
I recommend implementing the following protective measures:
- Encourage the use of password managers to generate and store secure and unique character combinations. Such applications can also help monitor leaks and recommend changing passwords if they have been found in known databases.
- Always enable two-factor authentication wherever possible. This is the most effective way to protect against not only credential stuffing with previously stolen credentials but also any other account attacks.
- To mitigate the consequences of a successful credential stuffing attack in advance, the principle of least privilege should be applied and robust protection should be used on all devices.
Last edited: