What is Credential Stuffing?
How It Works, Signs and Prevention

Credential stuffing is a cyber attack where criminals take usernames and passwords leaked from one website and try them on many other sites. It works because people reuse passwords, so one leak can open shopping, email and work accounts. A second sign-in check and unique passwords stop most of it.

Short Answer Credential stuffing is a cyber attack where criminals take usernames and passwords leaked from one website and try them on many other websites. It works because many people use the same password in more than one place. For example, a password stolen from an old travel booking site can open the same person’s work email.

What is Credential Stuffing?

“Credentials” simply means your login details, such as an email address and a password. Attackers collect these details when a website loses them in a data breach. Then they “stuff” the same email and password combinations into the login pages of other websites and apps, such as banks, shops, email services and company portals.

In cyber security, credential stuffing counts as an identity attack, which means it goes after login details instead of breaking into computers. The attacker does not break any code or guess anything. Instead, they use a real username and a real password that already worked somewhere else. So to the website, the login can look like a normal customer signing in.

Think of a person who uses one key for their home, their office and their car. If a thief copies that key at the gym, every door opens. Credential stuffing works the same way, because a reused password acts like that one key.

Key Words to Know

  • Credentials: another word for login details, as explained above.
  • Leaked password list: a large file of usernames and passwords stolen from a website and shared or sold by criminals.
  • Password reuse: using the same password on two or more accounts.
  • Bot: a computer program that does a task again and again without a person, such as trying logins.
  • Rate limit: a rule that allows only a set number of tries from one source in a set time.
  • MFA: a second sign-in check, such as a code or an app prompt on your phone, on top of the password. Each kind of check is one of the authentication factors.

How a Credential Stuffing Attack Works

A credential stuffing attack follows a simple pattern. Defenders should know it, because each step leaves clues that a company can spot and block.

  1. Get leaked logins: the attacker buys or downloads a list of usernames and passwords from an old breach at some other website.
  2. Pick targets: next, they choose websites where an account has value, such as shops with saved reward points, payment apps or work email.
  3. Try logins at speed: bots then try thousands of username and password pairs on the login page. Attackers often spread the tries across a botnet, a large group of infected computers, so the traffic comes from many different internet addresses.
  4. Keep the few that work: most tries fail. However, a small share succeeds, because those people reused their password.
  5. Misuse the accounts: finally, the attacker signs in to the working accounts and takes control. This step is called account takeover. They may spend reward points, order goods, read private emails or change the password to lock out the real owner.
Bots try leaked logins on a shop's login page at night until a bot rule and a one-time code block them
A few reused passwords are enough for an attacker, so the shop blocks the bots and asks for a second check.

An Example From a Mysuru Sweets Shop

For example, an online sweets shop in Mysuru sells gift boxes across India. Its customers earn reward points with every order. One Monday morning, the team sees thousands of failed logins from the night before, mostly between 1 a.m. and 4 a.m. A few dozen logins also succeeded, and some of those accounts held large reward point balances.

The shop acts fast. First, it turns on a bot rule and a rate limit on its login page, so the flood of tries stops. Then it signs out the affected customers, resets their passwords and asks them for a one-time code on their next login. As a result, the attacker cannot spend the points. The shop also adds MFA as an option for every customer.

Credential Stuffing Example: One Reused Password

Here is a second, smaller story from the same shop. Years ago, the shop’s manager signed up for an old travel booking website with his work email and a favorite password. Later, that travel website suffered a breach, and his login details ended up on a leaked list.

The manager never used that travel site again, so he forgot about it. However, he still used the same password for his work email. One night, a bot tried his email and password on the shop’s email service. It worked on the first try. The next morning, a supplier received an email from his account asking for payment to a “new” bank account.

This story shows that one reused password is enough. The attacker did not need to guess, and nobody hacked the shop’s own systems. The weak spot was one password used in two places.

Credential Stuffing vs Brute Force Attack and Password Spraying

People often mix up these three attacks, because all of them target passwords. The difference lies in what the attacker already knows. A brute force attack guesses many passwords for one account until one works. Password spraying tries a few very common passwords, such as “Welcome@123”, on many accounts. In contrast, credential stuffing uses real pairs that already worked somewhere else.

Question Credential Stuffing Brute Force Attack Password Spraying
What the attacker starts with Real leaked usernames and passwords One username, no password A list of usernames and a few common passwords
Tries per account Usually one or two Very many A few
Main weakness used Password reuse Short or simple passwords Common, easy passwords
Does account lockout help? Not much, few tries per account Yes, it stops repeated guesses Not much, tries stay low

So a strong, long password stops brute force guessing. But it does not stop credential stuffing if you use that same strong password on another site that later leaks it.

Signs of an Attack on Your Login Page

Credential stuffing often shows up first in the login records. Watch for these signs:

  • A sudden rise in failed logins: far more failures than on a normal day, often for many different accounts.
  • Logins from new places or devices: many sign-ins from countries, networks or browsers your users never use.
  • Logins at odd hours: heavy login traffic late at night, when your real customers sleep.
  • Many locked accounts: a wave of lockouts or password reset requests on the same day.
  • Customer complaints: people report orders, address changes or point spends they did not make.

Larger companies also use identity threat detection and response tools, which watch sign-in activity and raise alerts when a login looks risky.

Talk to an ExpertCould leaked passwords open your company’s accounts? Talk to our team about credential stuffing.

Ways to Prevent Credential Stuffing

No single step stops every attack. Instead, the best defense uses layers, so an attacker who gets past one layer meets the next. Some steps belong to each user, and others belong to the company that runs the login page.

Steps for Every User

  • Turn on MFA: multi-factor authentication asks for a second proof, such as an app prompt. So a leaked password alone is not enough to sign in.
  • Use a different password for each account: then a leak at one site cannot open any other account.
  • Use a password manager: it creates and remembers long, unique passwords, so you do not need to.
  • Change a password after a leak: if a site tells you about a breach, change that password, and change it anywhere else you used it.

Steps for the Company Login Page

  • Block bots and set rate limits: a web application firewall sits in front of the website and filters traffic. It can block known bots, slow down repeated tries and ask suspicious visitors to prove they are human, for example with a short puzzle.
  • Check logins against leaked credentials: some services compare login details with lists of stolen ones and flag or block a match.
  • Use risk-based sign-in: the system looks at each login, such as the place, device and time. If a login looks risky, it asks for MFA or blocks it.
  • Block weak passwords: stop staff and customers from choosing common or easy passwords in the first place.
  • Move toward passwordless sign-in: passkeys and phone app sign-ins remove the password, so there is nothing to leak or reuse.
  • Use one company login: single sign-on lets staff use one protected company login for many apps. As a result, the company can apply MFA and risk checks in one place.
Three layers of defense, at the user, the login page and the company, block reused passwords before an account opens
Each layer stops some attempts, so an attacker who passes one layer still meets the next.

Protection on AWS and Azure

Both AWS and Microsoft offer several services that help against credential stuffing:

  • AWS WAF Bot Control: a ready-made set of firewall rules from AWS that spots bots. You can block them, slow them down or ask them to prove they are human.
  • AWS WAF Fraud Control account takeover prevention (ATP): it watches login requests to your login page. It also checks email and password pairs against a stolen credential database that AWS updates often. In addition, when the site runs behind Amazon CloudFront, it can block sources with too many failed logins for a while.
  • Azure Web Application Firewall: it runs with Azure Application Gateway and Azure Front Door. It offers rate limit rules and a bot protection rule set that sorts traffic into good, bad and unknown bots.
  • Microsoft Entra ID Protection: it flags risky sign-ins and users. Its “leaked credentials” check warns you when a user’s valid password shows up in a known breach. Its sign-in rules, called Conditional Access, can then ask a risky user for MFA or a password change.
  • Microsoft Entra Password Protection: it blocks known weak passwords and close variants when users change or reset a password. Microsoft builds this list from its own security data on real attacks, not from leaked password lists. So pair it with the leaked credentials check above.

These services help, but only when someone sets them up, tests them and watches the alerts.

Credential Stuffing and the Law in India

A successful credential stuffing attack can expose customers’ personal data, such as names, addresses and order history. In India, the Digital Personal Data Protection Act, 2023 requires companies to keep personal data safe with reasonable security safeguards. It also requires them to tell the Data Protection Board of India, the government body that enforces this law, and the affected people about a personal data breach. The government notified the DPDP Rules on 14 November 2025, with an eighteen-month period for companies to get ready. So most of these duties, including breach reporting, start only after that eighteen-month period ends. The CERT-In rule below already applies today.

Separately, CERT-In (the Indian Computer Emergency Response Team) is the national agency for cyber incidents. Its directions of 28 April 2022 cover companies, service providers and government bodies. They must report certain incidents within 6 hours of noticing them. The list includes unauthorized access of IT systems or data, data breaches and attacks on applications such as e-commerce sites.

This section gives general information only, not legal advice. So check your own duties with a legal expert.

Frequently Asked Questions About Credential Stuffing

What is a credential stuffing attack in cyber security?

In cyber security, a credential stuffing attack is an identity attack on login pages. Criminals use bots to try usernames and passwords leaked from other websites. Because the details are real, each login can look like a normal user signing in. Security teams treat it as a serious risk, because it can hit thousands of accounts in one night.

What are credential stuffing lists?

These are large files of usernames and passwords that criminals stole in past breaches at other websites. Attackers share, buy or sell them, then feed them to bots. Old lists still work, because many people never change a reused password. If a website tells you your details leaked, change that password everywhere you used it.

What can largely prevent credential stuffing?

Multi-factor authentication can largely prevent it. With a second check, such as an app prompt or a one-time code, a leaked password alone cannot open the account. Unique passwords for every site, bot blocking on login pages and risk-based sign-in add more layers. Passwordless sign-in goes further, because it leaves no password to reuse or leak.

What is the difference between credential stuffing and password spraying?

Credential stuffing uses real username and password pairs leaked from another site, often with one try per account. Password spraying instead tries a few very common passwords, such as “Password@123”, across many accounts. So stuffing takes advantage of reused passwords, while spraying takes advantage of weak, popular ones. Blocking weak passwords helps against spraying, and MFA helps against both.

Does a strong password stop this attack?

Not on its own. A long, complex password stops guessing, but credential stuffing does not guess. If you use the same strong password on two sites and one leaks it, attackers can still sign in to the other. So the password must be strong and also unique. Adding a second sign-in check, such as an app prompt or a one-time code, closes the gap.

What does this attack mean for a customer?

For a customer, it means a stranger signs in to their account using the customer’s own leaked password. The attacker can spend reward points or saved wallet money, place orders, read messages or change the address and password. Often the customer learns about it only from an alert or a strange order. A quick password change and MFA usually stop further harm.
Use CaseReduce Password Risk with Multi-Factor Authentication

References

  1. Stolen credential checks on login pages: AWS, AWS WAF Fraud Control account takeover prevention (ATP)
  2. Leaked credentials detection: Microsoft Learn, What are risk detections? (Microsoft Entra ID Protection)
  3. CERT-In 6-hour reporting rule: CERT-In, Directions under section 70B(6) of the IT Act, 2000 (28 April 2022)
Stay Updated

Get the Latest Terms & Insights.

New encyclopedia terms, threat intelligence, and architecture decisions, by email.

Book a Consultation

A practice principal will contact you within 1 business day.

Thank you! A Signisys principal will be in touch within 1 business day.