Security Explained7 min read30 September 2026

What Is a Brute Force Attack? How Hackers Break Into Websites

A brute force attack is when hackers systematically try thousands of password combinations to break into accounts or websites. Learn how they work and how to stop them.

By Yrzo AI — UK cybersecurity specialists

Brute Force Attacks: The Attack That Never Goes Out of Style

In 2024, a brute force attack was the initial access vector in over 30% of web application breaches globally. Not sophisticated zero-days. Not nation-state tooling. Just a script hammering a login page until something gives. The technique is forty years old and it still works — because most websites still do not stop it.

This piece explains exactly how brute force attacks work, what variants you actually need to worry about, and the specific defences that break them.

What Is a Brute Force Attack?

At its core, a brute force attack is the computational equivalent of trying every key on a keyring until one opens the lock. The attacker submits credential combinations — username/password pairs — against a login endpoint repeatedly until they hit a valid combination.

What makes it dangerous is scale. A modern GPU cluster can attempt billions of combinations per second against an offline hash. Even against a live web application — where network latency slows things down — tools like Hydra, Medusa, or a custom script can attempt thousands of login attempts per minute. Against a login page with no rate limiting, that is more than enough.

The Four Attack Variants That Actually Matter

**Pure brute force** is the naive version — try every character combination from "a" to "zzzzzzzzz". For anything beyond a six-character password, this is practically infeasible against a live system. Where it remains relevant: offline hash cracking. If an attacker has stolen your database's password hashes, they run the brute force locally with no rate limiting at all.

**Dictionary attacks** are far more efficient. Instead of every combination, the attacker uses a wordlist: the RockYou2021 list contains 8.4 billion unique passwords compiled from real breaches. "Summer2024!", "qwerty123", "Liverpool1", your company name plus a number — all of these are in the list. A dictionary attack against an unprotected login page tests the entire top million passwords in under two minutes.

**Credential stuffing** is not guessing at all — it is using your actual credentials. When a third-party service you use (LinkedIn, Adobe, a forum, a delivery app) suffers a breach, your email/password combination ends up in a dump file. Attackers run automated tools that try those exact pairs against high-value targets: Microsoft 365, banking portals, your company's admin panel. If you reused that password, they are in.

Credential stuffing is why password reuse is so dangerous. The attack success rate against reused credentials is dramatically higher than against random guessing — it is not brute force in the traditional sense, it is enumeration of known valid pairs.

**Password spraying** is the lockout-evader. Rather than hammering one account with many passwords (which triggers lockouts), the attacker picks one common password — "Password1!" is a perennial favourite because it satisfies most complexity requirements — and tries it against every account in an organisation. Account A does not lock out. Account B does not lock out. Eventually, one of five hundred accounts has that password. They are in.

What Gets Targeted

**WordPress admin pages** — /wp-admin and /wp-login.php are publicly accessible on virtually every WordPress site in the world. Automated scanners probe them continuously. Without a rate limiting plugin or Cloudflare in front, a WordPress site receives hundreds of brute force attempts daily.

**SSH on port 22** — if your server has SSH exposed to the public internet, it is receiving brute force attempts right now. Check your auth logs: `grep "Failed password" /var/log/auth.log | tail -20`. Automated tools scan the entire IPv4 address space for open port 22 and immediately begin attacking anything they find.

**API authentication endpoints** — /api/login, /api/auth/token, /oauth/token. API endpoints that do not inherit the same rate limiting as a web form are frequently brute forced to enumerate valid accounts or test credential lists.

**VPN and remote access portals** — Cisco ASA, Pulse Secure, Fortinet, Citrix — all have been targeted by sustained brute force campaigns. Compromising VPN credentials means bypassing perimeter controls entirely.

Why Brute Force Still Works in 2025

You might expect this problem to be solved by now. It is not, for three reasons.

First, password reuse is endemic. Surveys consistently show that over 50% of people use the same password across multiple accounts. One breach anywhere in that person's digital life potentially compromises your system.

Second, rate limiting is still not universal. Countless websites — including plenty of UK business sites — have login forms that will accept ten thousand authentication attempts per hour with no friction. The protection exists; it just is not configured.

Third, credential dumps keep growing. With billions of verified credential pairs now in circulation from historical breaches, the bar for a successful attack has never been lower.

The Defences That Actually Break It

**Rate limiting** is the highest-leverage fix. Implement a cap of five to ten attempts per IP address per five-minute window, with exponential backoff after repeated failures. This alone makes automated attacks infeasible against a live web endpoint. In WordPress, Wordfence does this. In custom applications, nginx or Cloudflare can enforce it at the network layer.

**Multi-factor authentication** is the most complete defence. Even a perfect credential stuffing attack fails against an account with MFA. The attacker has the correct password and cannot proceed. This is why every admin account, email account, and VPN should have MFA enforced — not offered, enforced.

**Unique passwords** are the only credential stuffing defence. A password used on only one site cannot be stuffed from a breach elsewhere. Password managers (Bitwarden, 1Password) make this practical for non-technical users.

**IP allowlisting for admin panels** is underused. If your WordPress admin, your server SSH, or your application's admin interface is only ever accessed from specific IP addresses, there is no reason to leave it open to the entire internet. Restricting /wp-admin to your office IP takes ten minutes and eliminates admin panel brute force entirely.

**Fail2Ban** on Linux servers automatically detects repeated failed SSH authentication attempts and blocks the source IP at the firewall level. Free, effective, and should be running on every internet-facing server.

How Yrzo AI Tests for This

Yrzo AI's 75-check scan tests your login endpoints for rate limiting behaviour — specifically whether the server responds differently after rapid repeated authentication attempts, which is the primary indicator of whether protection is in place.

If your site has no login protection, the report flags it clearly, explains the risk, and gives you the fix. Scan at yrzoai.dev. Under 20 minutes, from £99.

Find out if your website has these vulnerabilities

Yrzo AI runs 110+ automated security checks and delivers a full report in under 20 minutes. Starting from £149.

Scan your website →