Security
Credential stuffing: when attackers automatically try leaked passwords
A password leaked from an online shop often also opens the company mailbox. Attackers test leaked combinations automatically on many services. This article explains how it works and which measures really help.
In short
- In credential stuffing, attackers automatically try leaked combinations of username and password on many other services.
- It works because people reuse passwords. A leak at an unimportant service becomes the key to the company account.
- The best protection is a unique password per service, multi-factor sign-in, checks against leak lists and detection of automated sign-in attempts.
What it is about
The special issue on the data leak covers around two billion credentials. Many are old, many duplicated. They are dangerous nonetheless, because attackers use them for credential stuffing: they automatically try the combinations of username and password on other services.
This article explains how this works, why it succeeds so often and how companies protect themselves.
How it works
The process is simple and fully automated:
- Obtain data. Attackers buy or collect lists of credentials from data leaks and from infostealers.
- Choose targets. They pick services many people use: email, cloud storage, online shops, remote access.
- Test automatically. Programs try thousands of combinations per minute, often spread across many IP addresses so it is less noticeable.
- Exploit hits. Working logins are resold or used directly, for example for fraud, fake invoices or as an entry point into the company network.
According to OWASP, the success rate per attempt is small. With millions of attempts, however, that is enough for many hits. And no software vulnerability is needed, just a password that is reused.
Where it goes wrong
Passwords are reused. Anyone who uses the same password for the company mailbox as for a private online shop turns someone else's leak into a company risk.
No multi-factor sign-in. Older systems, remote access or test environments in particular often still run with a password only.
Attacks go unnoticed. Because the attempts are spread across many addresses, simple per-IP blocks do not work. Without evaluating sign-ins, the attack remains invisible.
Old accounts. Accounts of former employees or forgotten service accounts are popular targets because nobody watches them.
Own web applications without protection. Customer portals or shops without limits on sign-in attempts become targets themselves, and then your customers are affected.
How to proceed
1. A unique password per service. A password manager makes this easy in everyday use. 2. Multi-factor sign-in wherever possible. First for email, cloud, remote access and admin accounts. Even better: passkeys or security keys. 3. Check new passwords. As NIST requires in SP 800-63B-4: against lists of known leaked passwords. 4. Monitor sign-ins. Have many failed attempts, unusual countries or times reported. 5. Disable old accounts. Regularly check which accounts are still needed. 6. Monitor the domain. A data leak check tells you when addresses of your company appear in new leaks.
How Airnite helps
In a penetration test, Airnite checks whether your sign-ins are protected against automated attempts and whether any access is still open with a password only. We advise on introducing a password manager and multi-factor sign-in, and in our training courses we explain to your team why one password per service matters so much.
Checklist
Sources
Every fact in this article is based on the following publications. Primary sources are marked.
Matching services
Read on
Data leak check: how companies find out whether their credentials are circulating online
After every major data leak the same question comes up: are we affected? There are simple checking services for individual addresses. Companies, however, should keep an eye on the entire domain and know what a match means and what it does not.Security5 minIntroducing a password manager in your company: selection, rules and emergency access
A password manager is quickly bought. Whether it really increases security is decided during the rollout: who sees which vaults, who can get to the credentials in an emergency, and what happens when someone leaves the company?Security3 minPasswords, MFA and passkeys: what actually applies today
A new password with symbols every 90 days? That rule is officially dead. What counts instead is length, a second factor and, ideally, no password at all.Security3 minInfostealers: how malware steals passwords and sessions from the browser
Many large data leaks are not caused by an attack on a company but by malware on individual computers. Infostealers quietly collect everything stored in the browser for sign-ins and sell it on.Current incidents and warnings are covered in the Zero Day magazine. Go to the magazine