Brute Force

Brute force is a trial-and-error method that repeatedly tests passwords, encryption keys, access codes, or other possible values until it finds one that works. In cybersecurity, unauthorized use of this method is known as a brute force attack.

What Is Meant by Brute Force?

Brute force means solving a problem by systematically trying possible answers instead of relying on a shortcut or known solution.

In cybersecurity, the term usually describes repeated attempts to discover valid login credentials or crack a password hash.

An attacker may try many passwords against one account, test a small group of common passwords against many accounts, or compare guesses with stolen password hashes offline.

Success depends on:

  • Password length
  • Password predictability
  • Available computing power
  • Authentication controls
  • Password-hashing methods
  • The number of attempts permitted

Brute force is not limited to passwords. The same trial-and-error approach can target:

  • Personal identification numbers
  • Encryption keys
  • One-time codes
  • Hidden web directories
  • API tokens
  • Answers to account recovery questions

The defining feature is repeated guessing until a valid value or accessible resource is found.

How Does Brute Force Work?

Brute force begins with a target, such as a login page, remote-access service, encrypted file, or stolen password database.

An automated process then submits or evaluates possible values until it finds a match or reaches a defined stopping point.

There are two broad environments for password attacks:

  • Online attacks: Guesses are submitted directly to a website, VPN, remote desktop service, cloud application, or other authentication system. Rate limits, account lockouts, MFA, and monitoring can interfere with the attack.
  • Offline attacks: Guesses are tested against password hashes or encrypted data already obtained by an attacker. The legitimate service cannot see or rate-limit these attempts, so password strength and secure password hashing become especially important.

MITRE ATT&CK classifies brute force as Technique T1110 and includes password guessing, password cracking, password spraying, and credential stuffing as related sub-techniques.

What Are the Main Types of Brute Force Attacks?

The different types of brute force attack vary based on how password guesses are selected, generated, and distributed.

Simple Brute Force

A simple brute force attack systematically tries possible character combinations.

It does not depend on personal information or a prepared password list. Long, unique passwords make this method increasingly expensive because the number of possible combinations grows rapidly.

Dictionary Attack

A dictionary attack uses a prepared list of likely passwords instead of testing every possible combination.

The list may contain:

  • Common passwords
  • Words and phrases
  • Keyboard patterns
  • Names
  • Dates
  • Predictable substitutions
  • Previously exposed passwords

Dictionary attacks are often faster than simple brute force because they prioritize passwords that people are more likely to choose.

Hybrid Brute Force Attack

A hybrid attack combines dictionary terms with systematic variations.

It may add numbers, dates, capitalization changes, or symbols to likely base words. For example, a common word may be tested with several predictable endings.

Password Spraying

Password spraying tests a small number of common passwords against many accounts.

Spreading the attempts across accounts can help an attacker avoid controls that lock one account after repeated failures.

Credential Stuffing

Credential stuffing tests username and password combinations exposed in previous data breaches.

It succeeds when people reuse credentials across websites and applications. Although the attacker is not guessing every password, MITRE includes credential stuffing within the broader brute force technique family.

Reverse Brute Force

A reverse brute force attack starts with one known or common password and searches for an account that uses it.

This resembles password spraying but may also involve testing the password against usernames gathered from public or breached data.

Password Cracking

Password cracking usually happens offline after password hashes have been obtained.

An attacker generates candidate passwords, hashes them using the relevant method, and compares the results. Slow, salted password-hashing methods make each guess more expensive.

What Is an AI Brute Force Attack?

An AI brute force attack uses machine learning or generative models to improve how guesses are selected, ordered, or adapted.

Instead of testing combinations in a fixed sequence, an AI-assisted system may prioritize candidates based on patterns found in exposed passwords, language, naming conventions, or information associated with a target.

AI may help an attacker:

  • Generate more realistic password candidates
  • Rank guesses by estimated likelihood
  • Adapt candidate lists based on failed attempts
  • Identify patterns across exposed credential data
  • Vary attack timing or sources to reduce obvious repetition

AI does not make every password instantly breakable.

Long, unique passwords, phishing-resistant MFA, rate controls, breached-password screening, and secure password hashing still raise the cost of an attack. These controls can also prevent a guessed password from being sufficient to access an account.

Organizations should treat AI as an improvement in attack efficiency rather than a separate authentication threat requiring an entirely different security program.

How Does Brute Force Password Detection Work?

Brute force password detection looks for authentication patterns that indicate repeated guessing.

A single failed login is common and usually harmless. Detection becomes more useful when events are correlated across accounts, source addresses, devices, locations, applications, and time periods.

Common warning signs include:

  • Many failed logins against one account
  • A small set of passwords attempted across many accounts
  • Authentication attempts from unusual locations or infrastructure
  • Repeated failures followed by a successful login
  • Activity against dormant or rarely used accounts
  • Logins outside the account’s established behavior
  • Attempts distributed across several IP addresses
  • Unusual activity after successful authentication

Account-level thresholds alone may miss password spraying because each account receives only a few attempts.

SIEM, UEBA, identity-provider, and endpoint data can help security teams identify the broader pattern.

Detection should continue after login. A successful attempt may be followed by:

  • Mailbox access
  • Privilege discovery
  • MFA registration changes
  • Large data downloads
  • New forwarding rules
  • Movement to other systems

Sennovate’s Managed Detection and Response services combine identity, endpoint, cloud, and network signals to support continuous threat detection and investigation.

What Is the Difference Between Brute Force and DDoS Attacks?

Brute force and distributed denial-of-service attacks may both generate large numbers of requests, but their goals are different.

AreaBrute ForceDDoS Attack
Primary goalDiscover valid credentials, keys, or protected resourcesMake a service unavailable or reduce its performance
Typical targetLogin page, VPN, remote access, encrypted data, or APIWebsite, application, network, DNS service, or infrastructure
Request patternRepeated authentication or value-testing attemptsHigh-volume or resource-intensive traffic
Sign of successA valid login or value is foundLegitimate users cannot access the service reliably
Main defensesMFA, rate limits, password controls, identity monitoring, and secure hashingTraffic filtering, DDoS protection, resilient architecture, and content delivery networks

A brute force campaign can create additional system load, but disruption is usually not its primary purpose.

A DDoS attack does not need to discover a password to succeed.

Is Brute Force Illegal?

Brute force is a method, so its legality depends on authorization, intent, jurisdiction, and what the activity targets.

Using brute force techniques against accounts, systems, or data without permission is generally illegal.

In the United States, the Computer Fraud and Abuse Act addresses intentional access to protected computers without authorization or beyond authorized access. Other countries have their own computer misuse and cybercrime laws.

Brute force testing may be lawful when performed within an explicitly authorized:

  • Security assessment
  • Penetration test
  • Research environment
  • Training lab
  • Account or data recovery process

Written authorization should define the systems, accounts, techniques, schedule, and safety limits covered by the test.

Owning a user account or finding a public login page does not automatically grant permission to test other accounts or bypass access controls.

Organizations and researchers should obtain legal guidance when the permitted scope is uncertain.

This section provides general information and is not legal advice.

What Is a Real-Life Example of Brute Force?

In 2018, US and UK authorities warned that malicious actors were using password spraying against organizations.

The attackers tested commonly used passwords across many accounts. When they found accounts that accepted those passwords, they attempted to access cloud services and single sign-on systems.

This campaign is a useful real-life example because it did not rely on testing thousands of passwords against one user.

The attackers distributed a small number of guesses across a large account population, reducing the chance of triggering account lockouts.

CISA’s alert on brute force attacks conducted by cyber actors recommended reviewing authentication logs, strengthening password policies, and using multi-factor authentication.

The example shows why defenders must correlate failures across the entire identity environment instead of monitoring each account separately.

Frequently Asked Questions About Brute Force

What Is a Brute Force Algorithm?

A brute force algorithm tests every possible candidate until it finds a valid answer.

In computer science, this can be a legitimate problem-solving method. In cybersecurity, the same approach becomes an attack when used without authorization to discover credentials, keys, or protected resources.

Are Free Brute Force Password Checkers Safe?

No password checker can guarantee that a password will resist every attack.

Free tools often estimate strength by evaluating:

  • Password length
  • Character variety
  • Predictable patterns
  • Repeated characters
  • Common words
  • Previously exposed passwords

Do not enter an active password into an unfamiliar website.

Use a trusted password manager’s built-in strength checker or a reputable breached-password service. A safer approach is to test a similar example that is not used for a real account.

How Long Does Brute Force Take?

The time can range from almost immediate to computationally impractical.

It depends on password length, randomness, hashing method, available hardware, online rate limits, and whether the attacker has useful information about the target.

Does MFA Stop Brute Force?

MFA can prevent a guessed password from being enough to access an account.

Phishing-resistant methods such as FIDO2 security keys and passkeys offer stronger protection than methods that can be intercepted, redirected, or approved through prompt fatigue.

How Can Organizations Prevent Brute Force Attacks?

Effective brute force attack prevention combines authentication controls, secure password storage, monitoring, and rapid response.

Organizations should:

  • Require phishing-resistant MFA for privileged and high-risk access.
  • Support long passwords and block commonly used or breached passwords.
  • Store passwords with a modern, salted, computationally expensive hashing method.
  • Apply rate limits, progressive delays, and risk-based challenges.
  • Design account lockouts carefully to avoid creating a denial-of-service opportunity.
  • Use generic authentication errors that do not reveal whether an account exists.
  • Disable default, dormant, and unnecessary accounts.
  • Restrict remote administration interfaces and monitor exposed services.
  • Correlate failed logins across users, applications, IP addresses, and devices.
  • Investigate successful logins that follow suspicious failures.
  • Rotate exposed credentials and revoke active sessions during incident response.

The OWASP Authentication Cheat Sheet provides guidance on authentication responses, password controls, MFA, and protection against automated attacks.

Sennovate’s Identity and Access Management services help organizations strengthen authentication, identity governance, privileged access, and lifecycle controls across cloud and on-premises systems.

Brute force succeeds when repeated guesses meet weak credentials or insufficient security controls. Strong authentication can prevent unauthorized access, while identity-aware monitoring can detect distributed and low-volume attacks that basic thresholds may miss.