Home › Cybersecurity wiki › What is a brute force attack?

Wiki

What is a brute force attack?

A brute force attack tries possible secrets or keys until one of them fits.
It relies on volume and repetition, not on a single fault in the program.
Where checking one attempt is cheap, the attack becomes attractive for automation.

Understanding Brute Force Attacks

Brute force means systematic guessing against a check that answers only yes or no.
The target is usually a password, an API key, a one-time code, or an encrypted file.
The attacker needs no software fault, only a reachable check and enough attempts.

Types of Brute Force Attacks

Simple brute force walks the whole search space, while dictionary attacks use likely and already leaked values.
Credential stuffing tests known username and password pairs against further services.
Password spraying tests a few common passwords against many accounts to avoid locking a single account.

How Brute Force Attacks Work

The attacker sends attempts to sign-in, to an API, or to a local check and evaluates the answer.
Attempts are spread across many origins, and the rate per account is kept low when a lockout threatens.
Success is an accepted attempt, followed by takeover or decryption.

Preventing Brute Force Attacks

Prevention makes every attempt more expensive and limits the number of checks per account, per source, and per period.
Long secrets that are not reused enlarge the search space so far that blind guessing fails.
A second, independent check remains effective even if the password falls.

Use of CAPTCHA

A classic puzzle CAPTCHA is meant to interrupt automatic series of attempts, but it is itself automated or outsourced.
CDPCaptcha instead has the browser solve a small computational task that people hardly notice and that becomes expensive for bots at scale.
Without cookies and without fingerprinting, the task slows exactly the many repetitions that brute force depends on.

Two-Factor Authentication

Two-factor authentication requires a second proof besides the password, such as a device or a short-lived code.
A guessed password is then no longer enough to sign in.
The second factor must include recovery and changes of the contact address, or the attacker shifts there.

Impact of Brute Force Attacks

If the attack succeeds, account takeovers, data loss, and actions in the owners' names follow.
Even unsuccessful waves load the sign-in, fill logs, and can lock out legitimate users.
The effect is therefore not only the single hit, but also the load of the attempts.

Case Studies of Brute Force Attacks

A case study examines a concrete sequence of entry, attempt pattern, the control that was hit, and the resulting harm.
Useful questions are which secret was checked, how the rate was limited, and where the takeover became visible.
What transfers is the gap in one's own flow, not a foreign story with no link to one's own sign-in.

Future of Brute Force Attacks

Brute force does not disappear as long as checks are reachable and leaked passwords remain valid.
Automation and rented bot capacity make large volumes of attempts available to clients without their own infrastructure.
What remains effective is anything that makes a single attempt expensive and does not let a guessed secret be sufficient on its own.

Conclusion

A brute force attack is volume work against a check that answers too cheaply.
Rate, search space, and a second factor decide whether the volume succeeds.
A computational task in the browser makes automation expensive without putting the same effort on the person.