This attack needs no cleverness, just patience and speed. A bot sends thousands of attempts an hour, sometimes from many IP addresses, hoping one account is protected by something like 123456 or admin2025.
Types of brute-force attack
| Type | How it works |
|---|---|
| Simple brute force | Tries every possible combination; works against short passwords |
| Dictionary attack | Tries lists of common and leaked passwords |
| Credential stuffing | Uses an email and password leaked from another site, which is why reusing passwords hurts |
| Password spraying | Tries one common password across many accounts to avoid lockouts |
Spotting it in the logs
The site’s access log shows bursts of requests like:
198.51.100.23 - - [26/Nov/2026:10:15:01 +0000] "POST /wp-login.php HTTP/1.1" 200
198.51.100.23 - - [26/Nov/2026:10:15:02 +0000] "POST /wp-login.php HTTP/1.1" 200
To list the busiest addresses over SSH:
grep "POST /wp-login.php" access_log | cut -d' ' -f1 | sort | uniq -c | sort -rn | head
Attackers also target WordPress’s xmlrpc.php, because it allows many password attempts in a single request.
How to protect yourself
- A long, unique password for every account; create one with the password generator.
- Two-factor authentication for admins, so a password alone isn’t enough.
- Limit login attempts with a security plugin or server settings.
- SSH keys instead of passwords for server logins; see SSH key.
- Don’t use the username admin in WordPress.
- Disable
xmlrpc.phpif no app or service you use depends on it, such as older WordPress mobile apps.
On ArabyHost
Imunify360 security on ArabyHost servers detects repeated failed logins and blocks their source, which makes a successful attack much less likely. On AI/Developer plans, SSH runs jailed in CageFS and we recommend logging in with keys. To complete the protection on the site side, follow the secure WordPress guide.
FAQ
Does changing the wp-login.php URL stop attacks?
It cuts noise from simple bots, but it isn't real protection. Real protection is a strong password, two-factor authentication and a limit on login attempts.
How long should a password be?
Every extra character multiplies the number of possibilities many times over. A random password of 16 or more characters, or a passphrase of several unrelated words, makes guessing impractical.
Why was my IP blocked after a wrong password?
Protection systems can't tell an attacker from an owner who forgot their password. After a number of failed attempts the address is blocked for a while, so wait or contact support.