Recently, I red in my fellow hosting provider Superhosting.BG about global, worldwide bruteforce attack over a lot of WordPress blogs (post in Bulgarian).
I decided to quickly check what’s the actual attack activity and I installed the Limit Login Attempts WordPress plugin. What this plugin does is it logs all incorrect login attempts, and if they go above given treshold, it blocks the IP for a while and logs the blocking. After few blockings, it blocks the IP for a day or so.
This functionality, of course, immediately blocks any bruteforce attempts. What’s more interesting here though is the fact that it logs the attempts. That was more interesting for me, because it gave me a chance to evaluate the attack size. And here’s what I’ve got, just for 2 days:
IP |
Tried to log in as |
94.242.237.110 |
admin (8 lockouts) |
85.114.133.118 |
admin (8 lockouts) |
91.224.160.135 |
admin (2 lockouts) |
67.215.243.250 |
admin (1 lockout) |
178.137.163.16 |
Bymnacculnela (2 lockouts) |
72.32.68.101 |
admin (1 lockout) |
194.247.30.126 |
admin (1 lockout) |
95.173.186.104 |
admin (1 lockout) |
188.40.69.202 |
admin (1 lockout) |
108.163.188.186 |
admin (1 lockout) |
109.200.29.66 |
Admin (1 lockout) |
24.234.3.189 |
admin (1 lockout) |
Obviously, there was some “unhealthy” interest. But I never expected that the scale would be that big. And they were all shooting for “the big fella”, the “admin” account.
So it was time to change the admin username. Obviously, the success factor of the attack is based on the fact that WordPress comes with default “admin” username. If I change the username to something else, the attack would never succeed, even if it by some crazy stupid chance succeeds to get my password right (12+ symbols password). It was pretty quick change, although I had to play with the database directly (I’m almost sure there’s a plugin to do the job as well).
Now all seems safe. My wordpress applications locked my account twice, until I realized that I have to change the username there too, but that was the only harm so far.
So, if you’re managing WordPress blog, I urgently advise you to install Limit Login Attempts and change your admin user password (if you have only one admin user, if you have many, you have to live with the plugin only). Otherwise, you’re pretty much exposed to (some) risk, especially if you have easily guessable WordPress admin password.
Good luck!