Being a WordPress blogger, it is obvious that you are concerned about WordPress security. We all like to keep our blogs secure against hackers.
WordPress users are lucky enough that there are several security plugins and other template tweaks to safeguard the blog from hacking attempts.
One of them is changing the WordPress login URL. If you haven’t done this yet, I strongly recommend to do so.
Brute force is one of the oldest forms of hacking, where a hacker runs a script and attempts to log into your account by trying different combinations from dictionary words.
Depending upon the complexity of your password, it may take 1 hour to a few days to get access to your account. This is one reason, why I keep asking you to stop using “admin” username and change it to something else. Also, always use a complex password.
You should know that by default WordPress allows unlimited login attempts through the login page. It may encourage the potential hackers to guess your password by the method called brute force.
You need to ensure that your login page is protected from a brute force attack. Here, I’m sharing two plugins (#1 is highly recommended) to protect your login page from such attacks.
Use Jetpack Plugin Brute Force protection
I have updated this post to let you know about the newest feature addition in Jetpack WordPress plugin. Chances are you might already be using the Jetpack plugin. If yes, you don’t need to use Limit Login or any other plugin to protect you from a brute force attack. Jetpack has added a new module call Protect.
If you have a Jetpack plugin installed, enable the Protect module, and your WordPress blog will be safe from brute force attacks. The dashboard will also show you the number of blocked malicious login attempts. You also get an option to whitelist specific I.P. from Jetpack > Settings > Protect > Configure.
Limit Login to Limit the number of logins tries in WordPress:
Brute Force attack can also be prevented by using Cerber Limit Login Attempts plugin. It helps the admin to limit the number of login attempts through standard login & it automatically locks out the IP trying to brute force your WordPress login page.
- Limit the number of retry attempts when logging in (for each IP)
- Informs user about remaining retries or lockout time on the login page
- Optional logging, optional email notification
- Handles server behind a reverse proxy
- Plugin options page:
Even though the plugin is straightforward to use, you should configure the Hardening section. By default, the Cerber plugin blocks access to the XML-RPC server (including Pingbacks and Trackbacks) & WordPress rest API. If you are using anything which requires access to WordPress rest API (Example: Your blog android or iOS App), you should allow access to WP rest API & XML-RPC.
One important thing:
Disable redirect dashboard requests (disable automatic redirecting to the login page when /wp-admin/ is requested by someone unauthorized) if you are unable to access the WordPress admin dashboard.[Plugin download page]
What is a Botnet attack:
Here are few terms you should know:
- Botmaster: Usually the hacker who operates all infected computer.
- Zombies computer/Bot: System which is infected by the Botmaster, and helps in spamming. Usually, the owner of computers is unaware of the fact, that they are compromised. It could be anyone’s computer, including yours.
Usually a hacker, first hacks a large number of the system spread on different geographical locations, and then he uses this compromised system to run attacks like Denial of service attack, Brute-force attack, Email spam, and much more.
The major problem with the Botnet attack is, it’s hard to block access via the I.P. blocking method, as hackers have access to the different I.P range, and it will be virtually impossible to block all I.P.
Preventing WordPress brute force attack:
According to Matt, this recent botnet has access to 90,000+ I.P., and these systems are being used to run a brute force attack. A brute force attack is a method of trying all possible combinations of dictionary and non-dictionary words to login to a system.
Here I’m sharing few things which every WordPress users should immediately do to secure his WordPress blog against this brute force attack:
Change WordPress Login URL:
The best way to prevent hackers from brute-forcing your blog is by hiding your WordPress login URL. You can use WPS hide login plugin to rename your wp-admin URL to something like domain.com/wedfweig which is impossible for a hacker to guess.
Once you have installed & activated the plugin, go to Settings > General to configure your new WordPress login page
Change WordPress Default username:
When you install WordPress, you have an option to select your username. By default, WordPress uses “admin” as a username, and I have already explained why you should not use default username. If you are still using WordPress username as “admin,” you should immediately change it to a custom username. Here you can find ways to change your WordPress default username (note: WP optimize plugin method doesn’t work anymore).
Do remember, the point here is: You should not have an “admin” username on your blog. This means, don’t just create a new user with admin privilege and leave the admin username as it is. You have to delete a user with username “admin.”
Use a Complex password:
This rule applies to every web property you have. Use a complex password using the alphabet, numeric, and special character (#&%^@). This makes it hard for a brute force attack to crack your password. Here are few guides to help you create a smart password for your WordPress blog:
If you are someone who keeps repeating your password on all sites, you should stop doing this right away. You can use password managers like Dashlane.
Enable two-step authentication:
Cloudflare which is a free CDN service has added a rule to detect the signal of such attack and prevent your website from attack. You can read about it here, and this feature is also available on the free version of Cloudflare.
Nonetheless, ensure that you are taking a timely backup of your WordPress blog. That means a complete backup of your database and wp-content folder, to ensure faster recovery once your blog is affected.
I hope you take the suggested measures to ensure the safety of your WordPress blog from brute force attacks.
If you are getting too many hacking attempts, you can use the WordPress Stealth Login plugin. It helps you to create custom URLs for logging in.
- WordPress security: Ultimate Tutorial to Hardening WordPress
- Top WordPress security plugins to check the hacked blog
Do share other useful WordPress plugins which you use to keep your WordPress blog safe and secure.
Subscribe on YouTube