Security operations

Types of Brute Force Attack: 7 Methods, How They Work and How to Stop Them

A brute force attack is automated password guessing, but the label covers seven different methods. Here is how each one works, what it targets, and how to stop it.

Cysoro Security TeamPublished · 9 min read
[email protected] password123✕ Summer2025!✕ correct-horse-9✓ Attempt 11,042 of millions… Guessing, automated, relentless. LOCKED OUT SECURITY OPERATIONS Brute force attacks 7 methods. One weak password.
Quick answer

A brute force attack is an automated attempt to guess a password, PIN or encryption key by trying many possible values until one works. The main types are simple brute force, dictionary, hybrid, reverse brute force, password spraying, credential stuffing and offline password cracking, and MITRE ATT&CK groups most of them under technique T1110.

Key takeaways

  • Brute force is a family of attacks, not one method: each type dodges a different defense, so one control is never enough.
  • Password spraying and credential stuffing are the most common in practice because they stay under lockout thresholds and reuse real leaked passwords.
  • Multi-factor authentication, rate limiting, breached-password screening and long unique passwords together stop nearly all of these attacks.

Every login page is a door, and a brute force attack is someone trying every key on the ring until one turns. The attacker needs no clever exploit — just automation, patience and a password that is weaker than the defenses around it.

What is a brute force attack?

A brute force attack is an automated attempt to discover a password, PIN or encryption key by systematically trying possible values until one is accepted. It targets the login process itself, not a software vulnerability.

The attack works because computers can make thousands of guesses per second, and because people choose predictable passwords. The attacker feeds a list of guesses — or generates combinations on the fly — into a login form, a VPN gateway, a remote desktop service or an SSH server, and watches for the one that succeeds.

MITRE ATT&CK, the framework security teams use to classify attacker behavior, catalogs brute forcing as technique T1110: Brute Force, with four sub-techniques: password guessing, password cracking, password spraying and credential stuffing. OWASP describes the same family in its Credential Stuffing Prevention Cheat Sheet.

How does a brute force attack work?

A brute force attack follows four steps: pick a target login page, generate or load a list of guesses, submit them automatically, and act on the first success. The whole process is run by software, not by hand.

How a brute force attack runs 1 Pick a target login page, VPN, RDP or SSH 2 Build guesses wordlist, leaked passwords, patterns 3 Submit fast automated scripts, many IPs at once 4 Use the win log in, steal data, spread further One success is enough — the attacker only needs a single account to get inside.
The four steps of a brute force attack. Illustration by Cysoro.

Attackers spread guesses across many IP addresses and botnets so that no single address looks abusive. They also slow down or pause when they hit a lockout, then resume later. Modern tooling makes the whole thing cheap: a rented botnet can try millions of combinations for a few dollars.

Speed matters. An online attack is limited by how fast the target answers, which is why rate limiting helps. An offline attack against a stolen password hash has no such limit — the attacker can try billions of guesses per second on graphics cards.

What are the 7 types of brute force attack?

The seven main types are simple brute force, dictionary, hybrid, reverse brute force, password spraying, credential stuffing and offline password cracking. They differ in what is guessed, how many accounts are targeted and whether the guesses happen online or offline.

TypeWhat is guessedTargetBest defense
Simple brute forceEvery possible combinationOne accountLong passwords, lockout
DictionaryWords and leaked passwordsOne accountBreached-password screening
HybridDictionary words with numbers and symbols addedOne accountLong passphrases
Reverse brute forceOne common passwordMany accountsLockout, MFA
Password sprayingA few common passwordsMany accountsMFA, anomaly detection
Credential stuffingReal leaked login pairsMany accountsMFA, breached-password screening
Offline crackingGuesses against a stolen hashStolen databaseStrong hashing, long passwords

The rest of this article explains each type in turn, with the signs to watch for and the defense that stops it.

What is a simple brute force attack?

A simple brute force attack tries every possible character combination in order — aaaa, aaab, aaac — until the right one appears. It needs no knowledge about the victim and will eventually succeed against any password, given enough time.

In practice it is the slowest method, because the number of combinations grows exponentially with length. A 6-character password made of lowercase letters has about 309 million combinations; add uppercase, digits and symbols and an 8-character password has trillions. That is why length is the single most important property of a password.

Simple brute force is most dangerous against short PINs and codes. A 4-digit PIN has only 10,000 combinations, and a 6-digit code only one million — both trivial for automated guessing if the system does not limit attempts.

What is a dictionary attack?

A dictionary attack guesses from a prepared list of likely passwords: common words, names, keyboard patterns and passwords leaked in earlier breaches. It is far faster than pure brute force because people choose predictable passwords.

The lists attackers use are enormous and public. They contain millions of real passwords from breaches, plus variations such as capitalizing the first letter or adding a year. If your password is a common word, a name or a leaked password, a dictionary attack will find it quickly.

The defense is to check new passwords against breached-password lists and to ban the most common choices. You can test whether a password already appears in known breaches with our pwned password checker.

What is a hybrid brute force attack?

A hybrid attack combines a dictionary word with brute-forced additions, such as appending numbers or symbols: summer, summer2025, Summer2025!. It targets the tricks people use to satisfy complexity rules.

This is why "Password1!" is not a strong password. It passes most complexity checkers — uppercase, lowercase, digit, symbol — yet it sits near the top of every attacker's list, because millions of people made the same predictable choice.

The fix is length and randomness, not complexity theater. A passphrase of four or five random words, such as "correct horse battery staple" style phrases you invent yourself, is both easier to remember and far harder to guess than a short password with symbols bolted on. Generate one with our passphrase generator.

What is a reverse brute force attack?

A reverse brute force attack starts with one common password and tries it against many usernames. It flips the usual approach: instead of many passwords for one account, it is one password for many accounts.

This works because a surprising number of accounts share the same weak password. Attackers harvest usernames from company websites, LinkedIn and breach data, then test a handful of likely passwords against the whole list. Any account using one of those passwords falls.

Password spraying, covered next, is the modern version of this idea, and it is the variant defenders see most often today.

What is password spraying?

Password spraying tries a small number of common passwords against a large number of accounts, one password at a time. Because each account only sees one or two failed logins, per-account lockout thresholds never trigger.

A typical spray uses seasonal passwords — Winter2026, Spring2026 — or the company name plus a year. The attacker may try just two or three passwords across thousands of accounts, wait a day, then try three more. Slow and patient spraying can run for weeks without tripping simple alarms.

OWASP's guidance is clear: the defenses that work here are MFA, monitoring for many failed logins spread across accounts, and blocking commonly used passwords. Lockouts alone do not help, because the attacker deliberately stays under the limit. See the OWASP Credential Stuffing Prevention Cheat Sheet for the full list.

What is credential stuffing?

Credential stuffing replays real username and password pairs stolen from other breaches, betting that the victim reused the same password elsewhere. Nothing is guessed — the attacker already holds valid credentials.

This is the most effective variant in practice, because the passwords being replayed may be long and complex; password strength rules cannot stop them. Breach data is cheap and plentiful: billions of credentials circulate in leaked databases, and password reuse is common.

The defenses are MFA, breached-password screening at login and registration, and device or behavior checks that flag logins from new devices or unusual locations. Unique passwords per site — stored in a password manager — remove the reuse that makes stuffing possible.

What is offline password cracking?

Offline password cracking happens after an attacker steals a database of password hashes. They then guess passwords on their own hardware, comparing each guess to the stolen hashes, with no login page to slow them down.

Attackers use precomputed tables called rainbow tables to reverse unsalted hashes quickly, and graphics cards to try billions of guesses per second against weakly hashed passwords. The only real defenses are strong, slow hashing with a unique salt per password on the server side, and long passwords on the user side.

For users, the lesson is the same: a breach of a service you use can expose your password hash, so a unique password per site limits the damage to that one service. For teams, this is why storing passwords in a vault with a strong master password matters — see our guide to spear phishing for how stolen credentials are used after a breach.

How do you detect a brute force attack?

Detect a brute force attack by watching for bursts of failed logins, lockouts, and logins from unfamiliar places. The pattern is usually obvious in logs, even when individual attempts look normal.

  • Many failed logins in a short time against one account, or a few failures against many accounts.
  • Accounts locking out repeatedly, or users reporting lockouts they did not cause.
  • Login attempts from new countries, IPs or devices, especially at odd hours.
  • Spikes in password-reset requests or CAPTCHA challenges.
  • Successful logins right after a burst of failures — the most serious sign of all.

Log these events centrally and alert on them. OWASP recommends generating volume metrics for each defense, so you can see both detected and mitigated attack volume and spot failures early.

How do you prevent brute force attacks?

Prevent brute force attacks with layered defenses: MFA first, then rate limiting and lockouts, breached-password screening, and long unique passwords. No single control covers every variant, so the layers must work together.

Five layers that stop brute force attacks 1 Multi-factor authenticationa guessed password alone is not enough — passkeys are strongest 2 Rate limiting and lockoutscap failed attempts — NIST SP 800-63B-4 caps them at 100 per account 3 Breached-password screeningreject passwords already seen in breaches at signup and login 4 Long, unique passwords15+ characters, different for every site, kept in a password manager 5 Monitoring and alertingalert on login bursts and lockouts, and investigate successes fast
Defense in depth against brute force attacks. Illustration by Cysoro.

For individuals: use a password manager, turn on MFA everywhere — especially email, banking and cloud accounts — and never reuse a password. Check the strength of your current passwords with our password strength checker.

For teams and developers: enforce MFA for admins first, then everyone. Limit consecutive failed attempts — NIST SP 800-63B-4 requires the verifier to disable an authenticator after no more than 100 consecutive failures. Add CAPTCHA or step-up authentication for suspicious logins, screen passwords against breach data, and use slow, salted hashing such as Argon2 or bcrypt for stored passwords.

Do not rely on lockouts aloneLockouts stop simple brute force but invite denial-of-service attacks against real users, and they do nothing against spraying or stuffing. Pair them with MFA and monitoring instead.

What should you do if your account was brute forced?

If an account was brute forced, change the password immediately from a trusted device, turn on MFA, and review sessions and activity. Speed matters: the attacker may already be inside.

  1. Change the password to a long, unique one, and change it anywhere else you reused it.
  2. Turn on MFA, preferably a passkey or authenticator app rather than SMS.
  3. Sign out of all sessions and check for unknown devices, forwarding rules and changed recovery details.
  4. Check for damage: sent emails, changed settings, new API keys or forwarding rules.
  5. Tell your IT or security team and report the incident so they can check other accounts.

The bottom line

Brute force attacks succeed when passwords are short, predictable or reused, and when login pages allow unlimited guessing. The seven types differ in technique, but they share the same weakness: they depend on the password being the only thing standing between the attacker and your account.

Make the password long and unique, add a second factor, and limit and monitor failed logins. You can start in minutes with the free password generator and a check of your existing passwords against known breaches.

Frequently asked questions

What is a brute force attack in simple terms?

It is an automated attack that guesses passwords one after another until one works. Instead of exploiting a software bug, the attacker exploits weak, short or reused passwords and login pages that allow unlimited guesses.

What is the difference between a dictionary attack and a brute force attack?

A dictionary attack is a type of brute force attack. Pure brute force tries every possible character combination, while a dictionary attack tries words and leaked passwords from a prepared list, which is far faster against human-chosen passwords.

Is credential stuffing a brute force attack?

Strictly, no. Credential stuffing replays real username and password pairs stolen from other breaches, so nothing is guessed. MITRE ATT&CK still lists it as a sub-technique of brute force (T1110.004) because it is the same kind of automated login abuse.

How long does a brute force attack take?

It depends on the password and the defenses. A short password against a login page with no rate limiting can fall in minutes, while a long random passphrase can take centuries. Offline cracking of a stolen hash is limited only by the attacker's computing power.

Can multi-factor authentication stop brute force attacks?

Yes, in almost all cases. Even if the attacker guesses the password, they still need the second factor. OWASP calls MFA by far the best defense against most password attacks, and phishing-resistant MFA such as passkeys is the strongest form.

What is password spraying?

Password spraying tries one or two common passwords, such as Winter2026, against many different accounts. Because each account only sees one or two failed logins, per-account lockouts never trigger, which is why it is so effective.

How can I tell if my account was hit by a brute force attack?

Look for repeated failed login alerts, unexpected lockouts, login notifications from unfamiliar locations or devices, and password-reset emails you did not request. If you see any of these, change the password and check for unknown sessions and devices.

Sources

  1. OWASP — Credential Stuffing Prevention Cheat Sheet
  2. MITRE ATT&CK — Technique T1110: Brute Force
  3. F5 — What Is a Brute Force Attack?
  4. NIST — SP 800-63B-4, Digital Identity Guidelines: Authentication and Lifecycle Management
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against OWASP's Credential Stuffing Prevention Cheat Sheet, MITRE ATT&CK T1110 and NIST SP 800-63B-4.

How we write and fact-check →

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free