Skip to content
Security2 min read

What is a brute-force attack?

Short answer

A brute-force attack is an attempt to break into an account by automatically trying huge numbers of passwords until one works. It targets WordPress logins, SSH, FTP and email accounts, and the best defence is a long, unique password plus two-factor authentication.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. Types of brute-force attack
  2. Spotting it in the logs
  3. How to protect yourself
  4. On ArabyHost

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

  1. A long, unique password for every account; create one with the password generator.
  2. Two-factor authentication for admins, so a password alone isn’t enough.
  3. Limit login attempts with a security plugin or server settings.
  4. SSH keys instead of passwords for server logins; see SSH key.
  5. Don’t use the username admin in WordPress.
  6. Disable xmlrpc.php if 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.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.