WordPress Brute-Force Attack Prevention Plugins

In this tutorial, we explore WordPress plugins that can help prevent your WordPress website from brute-force attacks.

WordPress Brute-Force Attack Prevention PluginsThis tutorial is part of our tutorial series on WordPress Security. In this tutorial, we explore a number of WordPress plugins that can help prevent your WordPress website from being subjected to malicious brute-force attacks.


WordPress Brute-Force Prevention Plugins

Brute force attacks on your site attempt to guess your login information by simply trying to log in over and over again. Since this is usually done by automated software, the attack can be very persistent.

Your first line of protection is to ensure that your WordPress Admin login information can’t be easily guessed. This is typically done through password security.

To learn more about password security, see the tutorial below:

After going through the above tutorials, make sure to use one of the plugins listed below to temporarily lock out bots from attempting to log into your site.

Premium WordPress Brute-Force Attack Prevention Plugins

Here are some of the premium WordPress plugins that provide advanced brute-force attack and security features.

iThemes Security Pro

iThemes Security Pro

(iThemes Security Pro)

iThemes Security Pro is a comprehensive WordPress security plugin that prevents WordPress hacks, WordPress security breaches, WordPress malware and more.

Some of the main features of this plugin include:

  • WordPress Brute Force Protection
  • WordPress Security Grade Report
  • File Change Detection
  • 404 Detection
  • Strong Password Enforcement
  • Lock Out Bad Users (locks users out if they have too many failed login attempts or generate too many 404 errors)
  • Away Mode (makes the WordPress dashboard inaccessible during specific hours so no one else can sneak in and attempt to make changes).
  • Hide Login & Admin (changes the default URL of your WordPress login area so attackers won’t know where to look.)
  • Schedule Database Backups
  • Email Notifications
  • WordPress two-factor authentication
  • WordPress Malware Scanning
  • And more!

For more details on the security features provided by this plugin, go here: iThemes Security Pro

WP Shields-Up

WP Shields Up - Stealth WordPress Security Plugin

(WP Shields-Up – Stealth WordPress Security Plugin)

Many newbie hackers use low sophisticated methods like scanning websites for vulnerabilities and deploying basic exploits to take control. many of these methods can be deployed as easily as looking through the website code to see what themes or plugins your site is using and downloading free scripts that can take advantage of known vulnerabilities and help them break into your website.

By default, this information about WordPress is available for anyone to see ...

(By default, this information about WordPress is available for anyone to see …)

WP Shields-Up is a ‘stealth’ security plugin that hides your WordPress site from hackers and bots by disguising information about WordPress that is normally visible to users, such as what WordPress themes and plugins are installed on your site, what version of WordPress you are using, etc.

WP Shields-Up hides WordPress information from online scanning tools!

(WP Shields-Up hides WordPress information from online scanning tools!)

Once installed, WP Shields-Up performs a number of security fixes on your site, including:

  • Blocks direct access to PHP Files
  • Disables Directory Browsing
  • Removes “Tell Tale” elements of WordPress
  • Moves and hides login areas
  • Hides information about WordPress plugins and themes
  • and more.

WP Shields-Up automatically performs a number of security fixes on your site

(WP Shields-Up automatically performs a number of security fixes on your site)

WP-Shields-Up performs one-click security fixes automatically and can be easily installed and enabled on your WordPress site.

To learn more about this plugin, go here:


SecureScanPro - WordPress Security Software


Many WordPress plugins address some but not all areas of WordPress security. One WordPress security plugin that seems to do a comprehensive job of scanning, fixing and preventing issues that could lead to hackers accessing your site files and damaging your site is SecureScanPro.

SecureScanPro is easy to install and easy to use and does a great job of addressing most of the security areas and fixing the issues that WordPress users need to address.

To learn more about this plugin, go here:

If you don’t want to invest in a premium security ‘brute-force’ attack prevention plugin like WP Shields-UP or SecureScanPro, then use one of the free plugins below.

Free WordPress Brute-Force Attack Prevention Plugins


Jetpack by WordPress.com

(Jetpack by WordPress.com)

Although the Jetpack plugin offers premium security features that require a paid upgrade, it is a free WordPress plugin that provides brute force attack protection as part of its free modules …

Jetpack Brute force attack protection

(Jetpack Brute force attack protection)

Once enabled, Jetpack will block any suspicious-looking activities on your site …

Jetpack Dashboard Security activity

(Jetpack Dashboard Security activity)

Learn more about using the Jetpack plugin here:

Login Security Solution

Login Security Solution WordPress Plugin

(Login Security Solution Plugin)

Login Security Solution provides a simple, yet fairly robust way to lock down login security for WordPress installations.

Once installed and activated, the plugin requires users to have very strong passwords, repels brute force login attacks, prevents login information disclosures, expires idle sessions, notifies admins of attacks and breaches, permits administrators to disable logins for maintenance or emergency reasons, and allows admins to reset all passwords.

Some of the main features of this plugin include:

  • Blocks brute force and dictionary attacks without inconveniencing legitimate users or administrators.
  • Tracks IP addresses, usernames, and passwords.
  • Monitors logins made by form submissions, XML-RPC requests, and auth cookies.
  • If a login failure uses data matching a past failure, the plugin slows down response times. The more failures, the longer the delay. This limits attackers ability to effectively probe your site, so they’ll give up and go find an easier target.
  • If an account seems breached, the “user” is immediately logged out and forced to use WordPress’ password reset utility. This prevents any damage from being done and verifies the user’s identity. But if the user is coming in from an IP address they have used in the past, an email is sent to the user making sure it was them logging in. All without intervention by an administrator.
  • Administrators can be notified of attacks and breaches.

Login Security Solution goes to work as soon as the plugin is activated. It does this by checking your passwords against its own internal password policies to make sure that your passwords are strong and that your site’s admin login section is suitably protected from brute-force attacks …

Login Security Solution

If it detects vulnerabilities with your passwords, you are encouraged to force all users to reset their own passwords (or ignore the suggestion) …

Login Security Solution

Login Security solution provides comprehensive settings for configuring the plugin according to various Login Failure Policies, Password Policies, and Miscellaneous Policies options …

Login Security Solution

Additional security options include disabling users who are not administrators from being able to log in when the site is in Maintenance Mode and logging users out if it detects a specified period of inactivity (Idle Timeout) …

Login Security Solution

To download this plugin, visit the site below:

Limit Login Attempts

Limit Login Attempts WP Plugin

(Limit Login Attempts – WordPress Plugin)

This plugin limits the number of login attempts possible both through normal login as well as using auth cookies.

By default, WordPress allows unlimited login attempts either through the login page or by sending special cookies. This allows passwords (or hashes) to be brute-force cracked with relative ease.

Limit Login Attempts blocks an Internet address from making further attempts after a specified limit on retries is reached, making a brute-force attack difficult or impossible …

Limit Login Attempts

To download this plugin, visit the site below:

Login LockDown

Login Lockdown WordPress Plugin

(Login Lockdown Plugin For WordPress)

Login LockDown records the IP address and timestamp of every failed login attempt. If more than a certain number of attempts are detected within a short period of time from the same IP range, then the login function is disabled for all requests from that range. This helps to prevent brute force password discovery.

Currently, the plugin defaults to a 1-hour lock out of an IP block after 3 failed login attempts within 5 minutes. This can be modified via the plugin Options panel (Settings > Login LockDown) …

Login Lockdown - WordPress Security Plugin

Note: Administrators can configure additional settings for this plugin from the Options panel, such as locking out users who enter invalid usernames, mask login errors and release locked out IP ranges manually.

To download this plugin, visit the site below:

Simple Login Lockdown

Simple Login Lockdown Plugin

(Simple Login Lockdown)

Simple Login Lockdown performs in a similar  way as the other unauthorized login prevention plugins described above, but it is a far simpler plugin for protecting your WordPress site from brute-force login attacks.

The plugin adds a couple of security options to the Settings > Reading section of your WP admin area …

Simple Login LockDown

You can set the number of login attempts (defaults to five) and how long to block users for (defaults to one hour), then save your settings. Any attacker attempting to log in with the wrong access details will be locked out for the specified period after the specified number of failed attempts has been reached.

Note: If you happen to forget your password and make a failed login attempt yourself, the plugin will clear out the lockdown count data on successful login.

To download this plugin, visit the site below:

WP Login Security 2

WP Login Security 2 - WordPress Plugin

(WP Login Security 2)

WP Login Security 2 provides enhanced security by requiring users to whitelist their IP address.

If the IP address is not recognized, the plugin will send an email to the user with a link that contains a one-time key. The administrator can also be notified when this happens.

If a user logs in from a known IP address no further action is required.

Once installed and activated, the plugin can be accessed from the ‘Settings’ menu (Settings > WP Login Security 2) …

WP Login Security 2

The plugin works by comparing a user’s existing IP address to the last seen IP address each time a user logs in.

If the IP does not match or no IP addresses have been whitelisted, an email will be sent to the user’s registered email address (and the administrator’s too if this option has been specified). The user must then log in to their email and click the included link, which contains a one-time password.

To download this plugin, visit the site below:

Chap Secure Login

Chap Secure Login - WordPress Plugin

(Chap Secure Login WP Plugin)

This plugin transmits your password encrypted to your server whenever you log into your WordPress site. This is useful if you need a secure login method but can’t use SSL or other secure protocols.

Once you activate the plugin, there is nothing else to configure. The only information that will be transmitted unencrypted is the username. Your password will be hidden with a random number generated by the session.

To download this plugin, visit the site below:

Stealth Login Page

Stealth Login Page Plugin For WordPress

(Stealth Login Page Plugin)

Stealth Login Page takes a different approach to blocking unauthorized users and does not require your .htaccess file to be modified.

Essentially what this plugin does, is it allows you to specify an “authorized code” or a ‘secondary’ password, which is then emailed to all registered users, and allows only those users who have this authorization code to access your site. Login requests must comply with the full login sequence or the request will be rejected …

Stealth Login Page

You can also specify a URL that users who fail to log in will be redirected to. This can be any URL you want to send blocked users to …

Stealth Login Page

Note: as suggested by the plugin developers themselves, this plugin does not replace the need for security “best practices,” such as a strong password and a secure web hosting environment. This is an additional layer of security, best combined with a login limiter such as Limit Login Attempts or Login Lockdown, described above.

To download this plugin, visit the site below:

Additional WordPress Brute-Force Prevention Plugins

You can search for more Brute-Force Prevention plugins inside your WordPress dashboard (Plugins > Add New), or the WordPress Free Plugin Directory …

WordPress Plugins - Brute-Force Prevention

(WordPress Plugins – Brute-Force Prevention)

Search the WordPress Free Plugin Directory for Brute-Force prevention plugins below:

We hope that you have found this tutorial on plugins that will help protect your WordPress site from brute-force attacks useful.


"I have used the tutorials to teach all of my clients and it has probably never been so easy for everyone to learn WordPress ... Now I don't need to buy all these very expensive video courses that often don't deliver what they promise." - Stefan Wendt, Internet Marketing Success Group


How To Protect Your WordPress Site From A Brute-Force Attack

Learn how to protect your WordPress site from being brute-force attacked, or having its security compromised by hackers or bots.

WordPress SecurityWordPress is the world’s most used content management system making it an easy target for hackers.

In April 2013, WordPress installations around the world were subjected to a worldwide brute force attack.

These attacks were caused by botnets (computer networks infected with viruses and programmed to attack other installations).

How To Protect Your WordPress Site From A Brute-Force Attack

Brute Force Attacks – An Overview

A brute-force attack is a technique used to break an encryption or authentication system by trying all possibilities.

(Source: Chinese University Of Hong Kong)

There are many ways hackers try to break into a WordPress site. One of these is by trying to guess the site admin’s login username and password. This is done using software programs and scripts that automatically tries to guess hundreds of login permutations in minutes.

If you’re using predictable usernames and passwords that are easy to guess, your website could be an easy target for hackers.

This is called a “brute force” attack.

What Is A Botnet?

A botnet is a number of Internet-connected computers communicating with other similar machines in an effort to complete repetitive tasks and objectives. This can be as mundane as keeping control of an Internet Relay Chat (IRC) channel, or it could be used to send spam email or participate in distributed denial-of-service attacks. The word botnet is a combination of the words robot and network.

(Source: Wikipedia.org)

A “Botnet” is a network of computers that have been compromised and infected with malicious code or software, which can then be controlled remotely as a group, typically without the computer owners’ knowledge or awareness.

Botnets are typically used to send mass spam emails from the infected computers of compromised user accounts.

Below is a screenshot taken from a site that monitors online security showing the locations of the command centers of ZeuS – a botnet that has been actively infecting computer networks all around the globe since 2009 …

The Zeus botnet has been actively infecting computer networks all around the world since 2009.

(The Zeus botnet has been actively compromising computer networks all around the globe since 2009. Image: SecureList.com)

These were highly distributed and well organized attacks on WordPress sites. Over 90,000 IP addresses were identified by a number of webhosting companies in the initial attack alone, when the web was flooded with millions of attempts to force their way into WordPress site admin areas. The brute-force attacks continued after this, with over 30,000 WordPress sites and blogs being hacked per day.

News of this brute-force attack was widely reported in all the major webhosting companiesand leading technology publications, such as TechNews Daily, Forbes, PC Magazine, BBC News, Tech Crunch, and even on the official website of the US Department of Homeland Security …

WordPress powers millions of websites worldwide, which makes it a frequent target for hacking

(WordPress powers millions of sites around the world, making it a frequent target for attempted hacking attacks)

Does This Mean WordPress Is Not Secure And We Should Stop Using It?

No. In fact, there are many very good reasons why you should use WordPress if you are concerned about the security of your online business.

We explain what makes WordPress a very secure platform for websites in this article: Are Open Source Web Platforms Like WordPress Secure?


It’s important to understand that, in the case of the brute-force attack described above, there was actually no WordPress vulnerability being exploited (the same script was also targeting sites built using other web platforms like Joomla).

Mike Little, the co-founder of WordPress, said this about the brute force attacks:

It is a “simple” script that attempts to login using the admin login and a generated password. So if your password is too short or based on dictionary words it will be guessed and then the script can login legitimately and do whatever it wants including installing scripts (as plugins) or editing files. The attack tries to guess your password, if it succeeds, the most secure site in the world is wide open because they have your password.


Preventing Your WordPress Website From Being Brute-Force Attacked – Ten Security Checks

You may think that the information in your site has nothing to offer to hackers, but the reality is that all websites have value to a malicious user.

If a malicious user can break in and control your blog, that web site can then be used as a “bot” in a planned cyber-attack against more valued web sites.

Additional undesirable impacts of being hacked include being blacklisted by search engines, having spammy links promoting things like casinos, cheap offers on brand names, etc. inserted into your content and meta data, redirecting visitors to phishing sites, drive-by downloads (adding malware on your visitors’ computers), and many other nasty things.

The reality is that software-driven bots are very likely looking for security weaknesses and trying to break into your website at this very moment. Whether they can successfully break into your site depends on how challenging you have made things for them to continue trying until they discover a way to get access, or give up and decide to look for an easier target.

How Much Information About Your WordPress Site Are You Broadcasting To Hackers?

Does your website run on WordPress? If so visit a site like Hackertarget.com and run your website through their WordPress security scan …

WP Security Scan(Website Security Check Source: Hackertarget.com)

You will see that the test will display a number of results and information about your website …

Website Security Check

(Hackertarget – website security scan results. Screenshot image: Hackertarget.com)

It should be obvious after using this tool that if you can access all of this information about your blog, then hackers can too.

Hackertarget - WordPress Security Check(Screenshot image: BlogDefender.com)

Being able to see which version of WordPress you are using, which plugins and themes you have installed on your site, and which files have been uploaded to certain directories in your site are all potentially valuable information to hackers, as this informs them about potential holes or weaknesses, especially in older versions.

If your site or blog is driven by WordPress and you are not taking appropriate steps to bullet-proof your site, then it’s practically guaranteed that, at some time in the near future, your site will be hacked, or at least targeted by bots, because these attacks are systematically targeting WordPress installations all the world!

Typically, whenever a website or blog gets hacked, blog owners will discover much to their dismay that they have been “locked out” of their own site, or notice that their files have been altered or even that their content has been entirely wiped out. Typically, most sites will be infected with malicious scripts or viruses without the owner’s knowledge or awareness.

To help avoid the heartache and frustration (and significant loss of valuable business data) that comes with having your site being hacked into, we have listed below 10 simple, yet essential and effective security measures that will help to protect your WordPress site from being brute force attacked.


Note: A few of the measures below need some technical understanding of how to modify core WordPress and/or server files. If you are not technical-minded, or don’t want to mess around with code on your site, then ask your web host or a professional WordPress technical provider for assistance.


Security Measure #1 – Contact Your Hosting Service Provider

Get in touch with your web host and ask them exactly what systems are in place to protect your site from being attacked, and what they are doing to make sure that your site files get backed up.

Make sure that your web host backs up your sites and that, if disaster strikes, you can quickly and easily recover your files and data.

Security Measure #2 – Perform Regular WordPress Backups And Keep Your Website Or Blog Regularly Up-To-Date

You should never rely on your web host for your site backups. Instead, learn how to maintain and manage your WordPress site or pay someone to get this service done for you and maintain a habit of religiously performing a complete site maintenance routine frequently (e.g. daily, weekly, monthly, etc …)

A full WordPress maintenance routine ensures that:

  • All unnecessary files and data are removed,
  • All WP data and files are free of errors, optimized and backed up,
  • All software, themes and plugins are up-to-date,
  • etc …

A proper WP maintenance routine looks like this …

Maintaining your WordPress website or blog frequently backed up and updated is vitally important for WordPress security.(Maintaining your WP site frequently backed up and updated is vitally important for WordPress security. Source: WPTrainMe.com)

Again, we cannot stress enough how important maintaining your WordPress site fully backed up and up-to-date is. WP site maintenance is not hard or time-consuming, but it must be done to ensure the security of your website or blog. If you don’t want to learn how to do WP maintenance yourself, pay a professional to do it but make sure it gets done. Backing up your website is the second most important thing you must do after making sure that you are still breathing!

If you don’t want to back up your files manually, there are a number of WordPress plugins you can use. You can read about a WordPress backup plugin that can automate your site backups here: Backup, Clone And Protect Your WordPress Website With Backup Creator WordPress Plugin

Security Measure #3 – Make Sure That Your Username Is Not “Admin”

The large scale brute force botnet attack on WordPress sites was mostly an attempt to compromise site admin panels by exploiting WordPress sites that used “admin” as the account name.

For security purposes, never set up a WordPress site with the username “admin”. This is the first thing hackers will test. If your site’s username is “admin”, then make sure you change it immediately.

We have created a simple tutorial created especially for WordPress users that shows you how to change your admin username here: Changing Your WordPress Admin User Name To Another Username

Security Measure #4 – Use Strong Passwords

A “brute force” attack occurs when a malicious script persistently tries to guess the right username and password character string that will give them entry to your website.

Unless some measure is put into place to prevent the brute-force attack (see further below for a couple of effective suggestions for doing this), the “bot” will just persist in attacking your site until it eventually “cracks” the code.

Weak passwords, therefore, are very easy targets for hacking attacks. Make sure that you change your password to a string containing at least eight characters long, with both upper and lowercase letters, and add a few “special” characters (^%$#&@*).

Useful Tip

If you have trouble coming up with strong passwords or are reluctant to set up different passwords for all your online logins, then use a password management program like Roboform …

You can use a password management software tool like Roboform to generate secure login passwords(Roboform is a password management tool that lets you create secure passwords)

We have created a detailed step-by-step tutorial for WP admin users on how to change your login password here: How To Change Your WordPress Password

Security Measure #5 – Prevent Access To Your wp-config.php File

The wp-config.php file allows WordPress to communicate with the database to store and retrieve data and is used to define advanced options for WordPress.

wp-config.php file

(WordPress WP Config file)

If hackers break into your WordPress site, they will normally try to access the wp-config.php file, because this file contains important information about your site’s database, security keys, etc. Getting access to this information would allow someone to change anything in your database, create a user account, upload files and take control of your site.

To protect your WordPress site from attacks and even being used as part of a bot net, therefore, you must prevent your wp-config.php file from being accessible. This requires knowing how to edit database information, move files around in your server and changing access permissions.

Security Measure #6 – Rename Or Delete Unnecessary Blog Installation Files

Rename or delete your install.php, upgrade.php and readme.html files.

These files can be removed after installation. If you don’t want to delete these files, then just rename them.

Security Measure #7 – Update Your WordPress Blog, Themes & Plugins

Hackers search for vulnerabilities in older versions of WordPress that can be exploited, including outdated versions of plugins and themes.

Ensure that all of your files, plugins, themes, etc. are always up to date.

Security Measure #8 – Disable The Theme Editor

WordPress installations come with a built-in editor that allows you to edit plugin and theme files inside the dashboard.

You can access your WordPress Theme Editor by selecting Appearance > Editor from the admin menu …

WP Theme Editor Menu

(Accessing the WordPress theme editor via the admin menu)

This allows anyone accessing your blog’s admin area to view and modify your WP theme templates, and create mayhem on your site.

If you want to prevent unauthorized people from accessing your WordPress Theme editor, you will need to disable it. This can be done by editing your wp-config.php file.

Security Measure #9 – Protect The WordPress Uploads Folder

The “uploads” directory stores all the media files that get uploaded to your site.

By default, this folder is visible to online users. All a person needs to do to see the contents stored in the “uploads” folder is visit your directory using their browser …

(WordPress has an uploads folder where media content is stored)

(WordPress uploads directory)

If any directories in your website have vulnerabilities that can be exploited by hackers, anyone could upload unauthorized file types to your site.

Protecting your directories will prevent online users from accessing your ‘uploads’ folder and other important directories. This can be done using plugins, setting file permissions, adding a blank index.php file (this is literally an empty file named “index.php”) to your uploads directory, and so on. Again, it’s best to ask for assistance from someone with experience if you are unsure about what to do.

Security Measure #10 – Security Plugins

There are a number of WordPress security plugins available that will address most security issues WordPress site owners face, such as preventing unauthorized users from accessing your site, protecting your website from malicious software, preventing injections of code into files, etc.

Most WordPress plugins address some but not all areas of WordPress security. One WordPress plugin that seems to do a comprehensive job of scanning, fixing and preventing issues that could lead to hackers accessing your website files and causing irreparable damage to your site is SecureScanPro.

SecureScanPro - total security software for WordPress

(SecureScanPro – WP total security software)

SecureScanPro is easy to install and easy to use, and takes care of most of the security areas that WordPress users need to address.

Another great plugin you may want to consider using is BlogDefender.

Blog Defender Security Solution

Blog Defender Security Product Suite For WordPress Web Sites(Blog Defender Security Solution For WordPress Websites)

Blog Defender is a package of WordPress security video tutorials, plugins and tools, plus WordPress security documentation in PDF and DOC formats.

BlogDefender scans you website for potential security vulnerabilities …

Blog Defender Security Product SuiteAnd lets you easily fix these …

Blog Defender WordPress Security Product SuiteIf you don’t want to buy a security plugin like SecureScanPro or BlogDefender, then use various free plugins, such as Limit Login Attempts

Limit Login Attempts - WordPress Security Plugin

WordPress is a very secure web platform, but neglecting basic maintenance tasks like ensuring that your WordPress core files, plugins and themes are kept updated to their latest versions, tightening file and data security and taking other necessary precautions can have disastrous consequences.

No matter what kind of business you run or plan to run online and how small you think your web presence is, website security is something you cannot afford to ignore.

As one last reminder, below is the advice given by a security expert to all WordPress users after the global brute force attacks by botnets on WordPress in April 2013 …

Owners of websites based on WordPress CMS must improve at least basic security settings and implement best practices such as the use of robust passwords and the accurate management of “admin” accounts.

Pierluigi Paganini, Chief Information Security Officer, Security Affairs


As you can see, WordPress security is of the utmost importance if you run a WordPress site. Hopefully, this information will help keep your WordPress site protected from brute-force attacks. If you need any further help or assistance with WordPress security, please seek help from a WordPress security specialist, or search for a WordPress service provider in our WordPress Services Directory.

We also recommend subscribing to WPCompendium.org to receive notifications when we publish new articles on WordPress security and reviews of new security plugins.


"This is an awesome training series. I have a pretty good understanding of WordPress already, but this is helping me to move somewhere from intermediate to advanced user!" - Kim Lednum