Stuffing of Credentials?
Tags: codenewbie, security, infosec, cybersecurity
Published: 2020-01-28 00:02:11

Recently I heard about a cyberattack where hackers take credentials that have previously been exposed and use them to try and bruit force logins at different sites.

This method of attack is called 'credential stuffing'. I find the idea of it to be so simple and so preventable that it shouldn't be a thing, and yet so amazing that it's so effective.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/9agt2h0zadslaeisjtyn.png)



### Anatomy of the attack
A general credential stuffing attack will involve these major steps:

1. The attacker will acquire leaked usernames and passwords from a breach or credential dump site.
2. The attacker uses a botnet or script to test the stolen credentials against desired target websites (for instance, social media sites, banks, or online marketplaces).
3. The attacker drains stolen accounts of stored value, credit card numbers, and other personally identifiable information that can be sold or used.









### Why is it so effective?
Though successful logins, usually 0.1-0.2% of the total login attempts, allow the attacker to take over the account matching the stolen credentials it's easy to understand why it's so effective... people reuse login credentials. Think about it. How many accounts do you have and how many have you used the same username and/or password at?

Furthermore, the attacker can also use account information going forward for other malicious purposes, for example, to send spam or create further transactions, or try the attack again on other accounts that might be more valuable, like a bank.

According to a report by helpnetsecurity.com, __9,050,064,764 credentials were recovered in 2019 from 640 unique data breaches__. The credentials recovered showed that almost a third of internet users that were affected by data breaches last year had reused a password in some form. "94% of those who recycled passwords reused the exact same password, while the other 6% made minor changes such as capitalizing the first letter or adding numbers to the end of their typical password. These tactics are easily defeated by tools, which test for common, slight variations." (5)

![](https://img2.helpnetsecurity.com/posts2020/spycloud-022020-2.jpg)

This type of lackluster care for our credentials means that attackers can reuse credentials that have been exploited back in 2012!! 

### What can you do to prevent it?
This is pretty straight forward actually... 
 - Change your passwords
 - keep them all unique from each other
 - Don't use one password with minor changes across platforms
 - Use 2FA if it's available

According to McAfee survey in 2018, 
>"Consumers who responded to the survey have an average of 23 online accounts that require a password, but on average only use 13 unique passwords for those accounts. 31% only use two to three passwords for all their accounts so they can remember them more easily. And lists are far from dead, as the most common way to remember passwords is to keep a written or digital list of all passwords (52%)." (3)

I also recommend a password manager to help with this. Password managers are a great way to make sure you have unique passwords across all credentials and don't have to worry about memorizing 100 passwords for all the random sites we sign up for. 

And remember, don't use common passwords![](https://media.giphy.com/media/sEpurG1FbxdBe/giphy.gif)






<hr>

Happy Hacking
![](https://media.giphy.com/media/l3vRmVv5P01I5NDAA/giphy.gif)

#### References 
1. https://auth0.com/blog/the-disney-credential-stuffing-attack-could-happen-to-you/#How-Disney--Accounts-Were-Compromised
2. https://en.wikipedia.org/wiki/Credential_stuffing
3. https://www.mcafee.com/blogs/consumer/consumer-threat-notices/security-world-password-day/
4. https://owasp.org/www-community/attacks/Credential_stuffing
5. https://www.helpnetsecurity.com/2020/02/12/credential-exposure-report/
6. [NIST’s Password Guidelines](https://pages.nist.gov/800-63-3/sp800-63b.html)


###### Please Note that I am still learning. If something that I have stated is incorrect please let me know. I would love to learn more about what I may not understand fully.