What is Brute Force Attack?
Types, Examples and Prevention

A brute force attack is a way of breaking into an account by guessing its password again and again until one guess works. Attackers use software and bots to try thousands of passwords fast. Long passphrases, account lockouts and a second sign-in step stop most of these attacks.

Short Answer A brute force attack is a way of breaking into an account by guessing its password again and again until one guess works. Attackers can also guess an encryption key the same way. Attackers use software and bots to make thousands of guesses quickly. For example, a bot may try every common password on a company’s email sign-in page until it finds a match.

What is a Brute Force Attack?

In cybersecurity, a brute force attack is a guessing attack. The attacker simply tries one password after another, like a thief trying every key on a big key ring until the lock opens. No trick or clever flaw is needed.

In simple terms, the method is slow for a person but fast for a computer. A person might try ten passwords in a minute. However, software can try far more, and a botnet, a network of hijacked computers, can spread the guesses across thousands of machines at once.

The target is usually a sign-in page. Examples are email, a VPN (the secure tunnel staff use to connect from home) and Remote Desktop, a Windows tool for using an office computer from far away. Attackers also aim at stolen files that hold scrambled passwords or locked data. Once a guess works, the attacker can read email, steal data or plant harmful software.

Key Words to Know

  • Credentials: the details you use to sign in, usually a username and a password.
  • Passphrase: a long password made of several words, such as “monsoon tea train window”.
  • Bot: a program that does a task by itself, again and again, without a person.
  • Account lockout: a rule that blocks sign-in for a while after too many wrong passwords.
  • Rate limiting: a rule that slows or blocks anyone who sends too many requests in a short time.
  • Encryption key: the secret value that locks and unlocks scrambled data.

How Does a Brute Force Attack Work?

Most attacks follow the same basic pattern. The tools change, but the idea stays the same. The attacker guesses, checks the result and tries again.

  1. Pick a target: the attacker finds a sign-in page or service open to the internet, such as webmail or Remote Desktop.
  2. Gather usernames: they guess or collect usernames. Office email addresses often follow a pattern, such as firstname.lastname, so they are easy to guess.
  3. Prepare guesses: they build a list of passwords to try. It may hold every possible combination, common words or passwords leaked in older breaches.
  4. Automate the guessing: software and bots send the guesses one after another, often from many internet addresses so no single address looks busy.
  5. Use the account: when one guess works, the attacker signs in. Then they read data, send fake emails or move deeper into the network.
Seven-step flow of bots guessing passwords until one works, with lockout and MFA as stop points
Attackers repeat the guessing step until a password works, so lockouts, rate limits and MFA break the loop.

Why Short Passwords Fall Fast

The number of possible passwords decides how long guessing takes. A 4-digit PIN has only 10,000 possible combinations, so a computer can try them all very quickly. Each extra character multiplies the total. For example, every added lowercase letter makes the list 26 times longer.

So length matters more than odd symbols. A short password such as “Rahul@12” looks complex, but it is short and follows a common pattern. In contrast, a long passphrase of four random words has far more possible combinations. That is why NIST, the US standards agency, now asks for long passwords instead of complex rules.

Lockouts can slow guessing on a live sign-in page. However, if attackers steal a file of scrambled passwords, they can guess against it on their own computers, with no lockout. So systems should store passwords with strong, slow scrambling, and long passphrases still matter.

Types of Brute Force Attacks

Attackers mix and change their methods, but most attacks fit one of six types. The short table below shows each one in plain words.

Type What the Attacker Does
Simple brute force Tries every possible combination of letters, numbers and symbols for one account
Dictionary attack Tries a list of common words and popular passwords, such as “password123”
Hybrid attack Mixes common words with small changes, such as “Mumbai2026!” or “Welc0me”
Reverse brute force Starts with one known password and tries it against many usernames
Password spraying Tries a few very common passwords on many accounts, slowly, to avoid lockouts
Credential stuffing Uses real username and password pairs leaked from another website

Password spraying and reverse brute force work in a similar way. Both spread guesses across many accounts. As a result, no single account sees enough wrong passwords to lock.

Brute Force Attack Examples

A real example rarely makes the news by name, because companies seldom share details. However, the two patterns below happen in offices every day. The companies here are made up, but the methods are real.

Example 1: A Remote Desktop Server in Chennai

A small accounts firm in Chennai lets staff work from home. To keep it simple, the IT person opens Remote Desktop (RDP) on an office server straight to the internet. Within days, bots find the open Remote Desktop connection and start guessing passwords for the “administrator” account. One weekend, they guess “Admin@123”. The attacker signs in, turns off the antivirus and plants ransomware on the shared drive. No one notices until Monday.

Example 2: Email Sign-In at a Mumbai Trading Company

Next, think of a trading company in Mumbai with 300 staff on cloud email. An attacker collects staff names from the company website and guesses their email addresses. Then they try “Diwali@2026” on every account, just once each. Three accounts use that password, so the attacker gets in. From one inbox, they send a fake invoice to a client. This is password spraying, and it often leads to account takeover.

Brute Force vs Dictionary Attack, Password Spraying and Credential Stuffing

People often ask how these attacks differ. In fact, all four are types of guessing, but they guess in different ways. The main differences are where the guesses come from and how many accounts the attacker aims at.

Question Simple Brute Force Dictionary Attack Password Spraying Credential Stuffing
Source of guesses Every possible combination Common words and passwords A handful of the most common passwords Real leaked username and password pairs
Accounts aimed at One, with many guesses One or a few Many, with few guesses each Many, one try each
Works because Passwords are short People pick common words Some staff use weak passwords People reuse passwords on many sites
Best defense Long passwords and lockouts Banned password lists Banned lists and MFA MFA and unique passwords

So a dictionary attack is a faster, smarter brute force. Rather than trying every combination, it tries the ones people are most likely to choose.

Grid comparing four password guessing methods by accounts targeted and source of guesses
The four methods differ in where the guesses come from and how many accounts they hit, and MFA weakens all of them.
Talk to an ExpertAre your sign-in pages open to password guessing? Talk to our team about stopping brute force attacks.

Signs of a Brute Force Attack

Guessing attacks make many sign-in attempts, so they leave clues in sign-in logs. Watch for these signs:

  • Many failed sign-ins: a sudden jump in wrong passwords on one account, or on many accounts at once.
  • Odd places and times: sign-in attempts from countries where you have no staff, or at 3 a.m.
  • Locked accounts: several staff call the help desk because their accounts are locked, though they did nothing wrong.
  • One address, many usernames: the same internet address tries dozens of different accounts.
  • A success after many failures: a correct password right after a long run of wrong ones is a serious warning.

A SIEM (security information and event management) system collects logs from many systems in one place. It can then raise an alert when it sees these patterns, so the security team can act quickly.

How to Prevent a Brute Force Attack

No single step stops every attack. Instead, the best protection uses several layers, so a guessed password alone is not enough to get in. Here is how to prevent it.

Strong Passphrases and Banned Password Lists

First, make passwords long. The latest NIST password guidance (SP 800-63B-4) says a password used on its own must have at least 15 characters. It also says systems should not force odd symbol rules or regular password changes. Instead, they should block passwords found on lists of common or leaked passwords.

Microsoft Entra Password Protection does this for Microsoft Entra ID, Microsoft’s cloud sign-in service. It stops staff from choosing known weak passwords, and their small variations, when they set or change a password. You can also add your own banned words, such as your company name or city.

MFA and Passwordless Sign-In

Multi-factor authentication (MFA) asks for a second proof, such as a code or an app approval, after the password. So even a guessed password does not open the account. Passwordless sign-in goes further, because it removes the password altogether. Staff sign in with a fingerprint, a face scan or an approval in a phone app instead. If there is no password, there is nothing for the attacker to guess.

Lockouts, Rate Limits and Closed Doors

Next, slow the guessing down. Account lockout blocks sign-in after a set number of wrong passwords. Rate limits block any source that sends too many requests. A CAPTCHA, a small puzzle that bots find hard, can add one more hurdle on public sign-in pages.

Also, never open Remote Desktop straight to the internet. For office servers, put it behind a VPN. For servers that run in Azure, use Azure Bastion, a managed Microsoft service that lets staff reach Remote Desktop without opening it to the internet.

Protection on Microsoft Entra ID and AWS

Both Microsoft and AWS offer built-in tools against guessing attacks:

  • Microsoft Entra Smart Lockout: it is always on. By default, it locks an account for one minute after 10 failed attempts for most organizations, and the lockout grows longer if guessing continues. It also tells familiar sign-in locations apart from unfamiliar ones, so attackers get locked out while real staff can usually keep working.
  • Microsoft Entra Password Protection: a global banned password list applies to all users automatically whenever they change or reset a password, and you can add a custom list.
  • AWS WAF rate-based rules: a web application firewall filters web traffic. AWS WAF rate-based rules count requests from each source over a set window of 1, 2, 5 or 10 minutes. When a source goes over your limit, the rule can block it. You can also narrow a rule to a login page only.

These tools work best together with MFA. A lockout slows attackers, but MFA stops a guessed password from being useful.

Brute Force Attack in Cryptography

In cryptography, the science of scrambling data, a brute force attack means guessing the encryption key. If attackers steal a locked file, they can try every possible key until the file opens. The main defense is a key so long, and so random, that trying every option is impossible in practice.

That is why modern data encryption uses long keys. AES-256, a widely used standard, has a key made of 256 bits, the 1s and 0s computers use. That gives about 2 to the power of 256 possible keys, a number with 78 digits. Therefore, experts treat guessing every possible key as out of reach in practice. Attackers instead look for weak passwords that protect the key, so strong passwords still matter.

Frequently Asked Questions About Brute Force Attack

What is a brute force attack in network security?

In network security, a brute force attack targets services that face the internet, such as VPN gateways, Remote Desktop, email and admin panels. Bots keep guessing passwords until one works. The attacker then has a way into the company network. Good defenses include MFA, account lockouts, rate limits and keeping risky services, such as Remote Desktop, away from the open internet.

What is a brute force attack in hacking?

In hacking, a brute force attack is the simplest way to break in. The attacker does not need a software flaw or a clever trick. They just keep guessing a password or key until one works. Because it relies on weak passwords, it often succeeds against old accounts, shared logins and admin accounts that skip a second sign-in step.

What is brute force attack software?

Brute force attack software is a program that sends password guesses automatically, far faster than a person could type. It can work from a list of words, every possible combination or leaked passwords. Attackers often run it on many hijacked computers at once. Defenders do not need to study these programs, because lockouts, rate limits and MFA work against all of them.

What is a brute force attack in computing?

In computing, brute force means solving a problem by trying every possible answer, one by one, instead of using a shortcut. A brute force attack applies that idea to security: it tries every password or key until one fits. The same idea also appears in normal programming, for example when a simple search checks every item in a list.

What is a brute force attack in simple words?

In simple words, a brute force attack is a computer guessing your password over and over until it gets it right. Think of a thief trying every key on a huge key ring. A short or common password falls quickly. In contrast, a long passphrase plus a second sign-in step, such as a phone approval, makes the guessing useless.

Can a brute force attack crack any password?

In theory, guessing can find any password if it runs long enough. In practice, a long, unique passphrase has so many combinations that guessing it takes far too long to be worth trying. Also, account lockouts and rate limits stop most online guessing early. With MFA turned on, even a guessed password is not enough to sign in.
Use CaseReduce Password Risk with Multi-Factor Authentication

References

  1. Smart Lockout defaults and behavior: Microsoft Learn, Prevent Attacks Using Smart Lockout
  2. Rate-based rules: AWS, Rate-Based Rule High-Level Settings in AWS WAF
  3. Password length and blocklists: NIST, SP 800-63B-4 Digital Identity Guidelines: Authentication and Authenticator Management
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.