Ars Technica reported a widespread brute force attack on WordPress sites on Friday. Simply put, a horde of infected computers are trying many common password combinations against the default administrator WordPress account. Once the admin account is compromised, the WordPress site joins the fray. Think Mongol-style conquest in the blogosphere. That’s right, I wrote blogosphere.
As of Friday, over 90,000 sites were part of the horde. I am sure that number has grown since then.
Here are a few things you should do if you’re running a WordPress site:
- Try not to use the admin account. You can create other accounts and then give those accounts administrative privileges. The downside to using the default admin account is that it makes it easier for accounts to become compromised. If attackers make assumptions about the username, they don’t have to worry about getting the password and the username correct.
- Don’t use basic passwords. Randomize passwords if you can. I love password generators like KeePass, which I have been using for almost six years.
- Don’t reuse your password. Meaning, don’t use your WordPress password anywhere else. This doesn’t directly help with the security of your WordPress site, but as passwords are compromised in other places it may make breaking into other accounts easier if you use the same password over and over.
- Install the Limit Login Attempts plugin for WordPress. It’s free. The Limit Login Attempts plugin blocks people from trying to log into your site over and over again if they fail. This is critical in denying brute force attempts like the one going on right now. Setup is super easy and takes about a minute or two if you are familiar with installing WP plugins. LLA can be customized to lower or raise the number of failed logins before a block happens, or what to do when someone gets blocked, etc. I’ve stopped about a dozen unique login spam attempts since installing the plugin late Friday night.
- Install the Better WP Security plugin for WordPress. It’s also free. The most useful thing about Better WP Security for my sites is that it lets me know about common vulnerabilities and if my site is susceptible to them. For example, I left a pretty obvious hole open and thanks to Better WP Security I was able to plug it. This plugin doesn’t help so much with the current brute force attack, but will be helpful for attacks in the future.
So far none of my sites have been compromised. If you have a WordPress site (including one on wordpress.com) you should log in to see if anything looks different behind the scenes. If you use a simple (human readable) password you may want to change it immediately, regardless if you think your site has been hacked or not.