{
    "title": "Brute-force attack",
    "seo_title": "Brute-force attack: definition and variants",
    "h1": "Brute-force attack",
    "description": "Brute-force attack definition: automated password guessing, its variants (dictionary, distributed) and its WordPress targets (wp-login.php, XML-RPC).",
    "lead": "A brute-force attack consists of automatically trying a very large number of passwords, or username and password pairs, until one of them unlocks an account. On WordPress, bots run these attacks around the clock against the login page and XML-RPC.",
    "language": "en",
    "locale": "en-US",
    "type": "definition",
    "url": "https://www.wp-feint.com/glossary/brute-force-attack/",
    "canonical": "https://www.wp-feint.com/glossary/brute-force-attack/",
    "markdown": "https://www.wp-feint.com/glossary/brute-force-attack/index.md",
    "json": "https://www.wp-feint.com/glossary/brute-force-attack/index.json",
    "published": "2026-10-28T08:00:00+00:00",
    "modified": "2026-11-22T12:07:23+00:00",
    "site": {
        "name": "WP Feint",
        "url": "https://www.wp-feint.com/"
    },
    "translations": [
        {
            "language": "en",
            "hreflang": "en-US",
            "title": "Brute-force attack",
            "url": "https://www.wp-feint.com/glossary/brute-force-attack/",
            "markdown": "https://www.wp-feint.com/glossary/brute-force-attack/index.md",
            "json": "https://www.wp-feint.com/glossary/brute-force-attack/index.json"
        },
        {
            "language": "fr",
            "hreflang": "fr-FR",
            "title": "Attaque par force brute",
            "url": "https://www.wp-feint.com/fr/definitions/force-brute/",
            "markdown": "https://www.wp-feint.com/fr/definitions/force-brute/index.md",
            "json": "https://www.wp-feint.com/fr/definitions/force-brute/index.json"
        },
        {
            "language": "es",
            "hreflang": "es-ES",
            "title": "Ataque de fuerza bruta",
            "url": "https://www.wp-feint.com/es/glosario/ataque-de-fuerza-bruta/",
            "markdown": "https://www.wp-feint.com/es/glosario/ataque-de-fuerza-bruta/index.md",
            "json": "https://www.wp-feint.com/es/glosario/ataque-de-fuerza-bruta/index.json"
        },
        {
            "language": "de",
            "hreflang": "de-DE",
            "title": "Brute-Force-Angriff",
            "url": "https://www.wp-feint.com/de/glossar/brute-force-angriff/",
            "markdown": "https://www.wp-feint.com/de/glossar/brute-force-angriff/index.md",
            "json": "https://www.wp-feint.com/de/glossar/brute-force-angriff/index.json"
        },
        {
            "language": "it",
            "hreflang": "it-IT",
            "title": "Attacco brute force",
            "url": "https://www.wp-feint.com/it/glossario/attacco-brute-force/",
            "markdown": "https://www.wp-feint.com/it/glossario/attacco-brute-force/index.md",
            "json": "https://www.wp-feint.com/it/glossario/attacco-brute-force/index.json"
        },
        {
            "language": "pt",
            "hreflang": "pt-BR",
            "title": "Ataque de força bruta",
            "url": "https://www.wp-feint.com/pt/glossario/ataque-de-forca-bruta/",
            "markdown": "https://www.wp-feint.com/pt/glossario/ataque-de-forca-bruta/index.md",
            "json": "https://www.wp-feint.com/pt/glossario/ataque-de-forca-bruta/index.json"
        },
        {
            "language": "nl",
            "hreflang": "nl-NL",
            "title": "Brute-force-aanval",
            "url": "https://www.wp-feint.com/nl/woordenlijst/brute-force-aanval/",
            "markdown": "https://www.wp-feint.com/nl/woordenlijst/brute-force-aanval/index.md",
            "json": "https://www.wp-feint.com/nl/woordenlijst/brute-force-aanval/index.json"
        }
    ],
    "headings": [
        {
            "level": 1,
            "text": "Brute-force attack"
        },
        {
            "level": 2,
            "text": "How a brute-force attack works"
        },
        {
            "level": 3,
            "text": "Variants"
        },
        {
            "level": 2,
            "text": "How to protect against it"
        },
        {
            "level": 2,
            "text": "For WordPress"
        },
        {
            "level": 2,
            "text": "Common mistakes"
        }
    ],
    "body": "Brute force is the simplest attack there is: try, again and again, until you get it right. MITRE describes it (CAPEC-112) as a series of guesses against a secret of finite size, which means it always succeeds eventually if nothing stops it. The whole defense is therefore about making the process too slow or too costly to be worth it. On WordPress, this background noise often starts as soon as a site goes live.\n\n## How a brute-force attack works\n\nA program sends username and password pairs to the login form and watches the response. On WordPress, the usual targets are `wp-login.php` and `xmlrpc.php`. The username is often guessed in advance: `admin`, the site name, or an author name obtained through [user enumeration](https://www.wp-feint.com/glossary/user-enumeration/).\n\n### Variants\n\n- **Exhaustive**: every possible combination, realistic only against very short secrets.\n- **Dictionary**: lists of common passwords, with variations (capital letter, year, trailing digit). This is the most widespread form against websites.\n- **Distributed**: the work is spread across thousands of hacked machines (a botnet), each one making only a few attempts.\n- **With stolen credentials**: no more guessing, the attacker replays pairs taken from data breaches. This is [credential stuffing](https://www.wp-feint.com/glossary/credential-stuffing/), a close cousin of brute force.\n\nThe WordPress documentation points out an often underestimated effect: even when they fail, these attempts consume resources and can slow down, or even overwhelm, a server. Our article on [brute-force attacks on WordPress](https://www.wp-feint.com/wordpress-brute-force-attacks-explained/) shows how to spot them in your logs.\n\n![Three-column comparison: without rate limiting, a bot fires thousands of attempts and a weak password eventually falls; with rate limiting, the IP address is blocked after a few failures; a distributed attack across thousands of addresses stays under the threshold, hence the need for a unique password and two-factor authentication](https://www.wp-feint.com/media/2026/10/force-brute-limitation-en.webp)\n\n*Video: “How Hackers Steal Passwords: 5 Attack Methods Explained” (IBM Technology)*\n\n## How to protect against it\n\nEffective protections work at several levels. NIST, in its SP 800-63B guideline, requires limiting consecutive failed attempts on an account to no more than 100, and allows lower thresholds. It also requires rejecting common or already compromised passwords when they are created.\n\n1. **Long, unique passwords** generated by a password manager: this is what makes dictionaries useless.\n2. **[Two-factor authentication](https://www.wp-feint.com/glossary/two-factor-authentication/)** for every privileged account: a cracked password is no longer enough.\n3. **Login attempt limits**, at the server level or through a plugin. Our guide to [thresholds and lockout durations](https://www.wp-feint.com/limit-login-attempts-wordpress/) covers the settings and the pitfalls (proxies, shared networks).\n4. **Fewer open doors**: disable [XML-RPC](https://www.wp-feint.com/glossary/xml-rpc/) if you don't use it, and restrict `wp-login.php` by IP address or with a server-level password when possible.\n5. **Upstream filtering**: a [web application firewall](https://www.wp-feint.com/glossary/waf/) or a CDN blocks part of the traffic before it reaches PHP, which takes load off the server.\n\n## For WordPress\n\nWordPress ships with neither login attempt limits nor two-factor authentication: you need a plugin or a server rule. Avoid an account named `admin`, keep the Administrator role for people who actually need it and review the account list regularly with `wp user list --role=administrator`. For external applications, use application passwords, which can be revoked one by one, rather than the main password.\n\nWP Feint moves the login page and blocks XML-RPC in the free version. The Pro version adds [login attempt limiting](https://www.wp-feint.com/features/login-attempt-limiting/) (3 to 30 failures, lockout from 1 to 60 minutes) with neutral error messages. It is not a network firewall: against a highly distributed attack, the real answer is still a unique password and a second factor.\n\n## Common mistakes\n\n- Relying only on changing the login URL: it cuts the noise, it does not protect a weak password.\n- Stacking two rate-limiting plugins that count the same failures: unlocking an account becomes a headache.\n- Forgetting the proxy or CDN: without restoring the real IP address, every visitor shares the same counter.\n- Forcing periodic password changes: NIST now says not to require them, unless there is evidence of compromise.\n\n## Related terms\n\n- [Credential stuffing](https://www.wp-feint.com/glossary/credential-stuffing/)\n- [Two-factor authentication (2FA)](https://www.wp-feint.com/glossary/two-factor-authentication/)\n- [XML-RPC](https://www.wp-feint.com/glossary/xml-rpc/)\n- [User enumeration](https://www.wp-feint.com/glossary/user-enumeration/)\n- [bcrypt hashing](https://www.wp-feint.com/glossary/bcrypt/)\n- [WAF (web application firewall)](https://www.wp-feint.com/glossary/waf/)\n\n\n## Sources\n\n- [OWASP : Brute Force Attack](https://owasp.org/www-community/attacks/Brute_force_attack)\n- [MITRE CAPEC-112 : Brute Force](https://capec.mitre.org/data/definitions/112.html)\n- [WordPress Advanced Administration : Brute Force Attacks](https://developer.wordpress.org/advanced-administration/security/brute-force/)\n- [NIST SP 800-63B : Authentication and Authenticator Management](https://pages.nist.gov/800-63-4/sp800-63b.html)",
    "definition": "A brute-force attack consists of automatically trying a very large number of passwords, or username and password pairs, until one of them unlocks an account. On WordPress, bots run these attacks around the clock against the login page and XML-RPC.",
    "group": "Web security",
    "aka": [
        "brute force",
        "bruteforce",
        "dictionary attack",
        "password guessing"
    ],
    "related": [
        {
            "title": "Credential stuffing",
            "url": "https://www.wp-feint.com/glossary/credential-stuffing/",
            "markdown": "https://www.wp-feint.com/glossary/credential-stuffing/index.md"
        },
        {
            "title": "Two-factor authentication (2FA)",
            "url": "https://www.wp-feint.com/glossary/two-factor-authentication/",
            "markdown": "https://www.wp-feint.com/glossary/two-factor-authentication/index.md"
        },
        {
            "title": "XML-RPC",
            "url": "https://www.wp-feint.com/glossary/xml-rpc/",
            "markdown": "https://www.wp-feint.com/glossary/xml-rpc/index.md"
        },
        {
            "title": "User enumeration",
            "url": "https://www.wp-feint.com/glossary/user-enumeration/",
            "markdown": "https://www.wp-feint.com/glossary/user-enumeration/index.md"
        },
        {
            "title": "bcrypt hashing",
            "url": "https://www.wp-feint.com/glossary/bcrypt/",
            "markdown": "https://www.wp-feint.com/glossary/bcrypt/index.md"
        },
        {
            "title": "WAF (web application firewall)",
            "url": "https://www.wp-feint.com/glossary/waf/",
            "markdown": "https://www.wp-feint.com/glossary/waf/index.md"
        }
    ],
    "sources": [
        {
            "title": "OWASP : Brute Force Attack",
            "url": "https://owasp.org/www-community/attacks/Brute_force_attack"
        },
        {
            "title": "MITRE CAPEC-112 : Brute Force",
            "url": "https://capec.mitre.org/data/definitions/112.html"
        },
        {
            "title": "WordPress Advanced Administration : Brute Force Attacks",
            "url": "https://developer.wordpress.org/advanced-administration/security/brute-force/"
        },
        {
            "title": "NIST SP 800-63B : Authentication and Authenticator Management",
            "url": "https://pages.nist.gov/800-63-4/sp800-63b.html"
        }
    ],
    "format": "application/json"
}