• Resolved rexgoode

    (@rexgoode)


    I don’t think you have this feature yet, but it seems like your plugin is the perfect place to put it, if possible.

    I would like to be able to maintain a list of usernames that I want to always fail and fail with minimal server load. For example, many brute force attacks I get are trying to log in with the username “Unknown” or “unknown”. I would like to be able to maintain a list of such potential usernames that I want the login form to reject automatically without further ado, regardless of the IP address.

    My initial list would be:

    unknown
    admin

    Looking at what you are capturing in lockout attempts, these are being used the most. I made an initial attempt to do something like this, trying to get an onChange javascript event on the username field. Can’t seem to do it with a plugin because there aren’t any filters for the username field. My idea was to monitor the field for the word “unknown” and just exit right there or send them back to http://127.0.0.1. Any way to do this in your plugin, now or in the future?

    http://wordpress.org/plugins/all-in-one-wp-security-and-firewall/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Peter Petreski

    (@peter-petreski)

    Hi,
    Currently the behaviour is that the plugin monitors failed login attempts and if it finds that the username which was used is not part of the existing accounts it simply marks it as “unknown” when writing the failed login attempt to the DB. (so in reality the hacker or bot attempting the brute force login is not actually using the name “unknown”)

    You make a good suggestion and it is something we have thought about too and we will certainly keep this in mind as we improve/tweak our plugin.

    Having said that, if you are wanting to stamp out brute force attacks why don’t you activate the cookie-based brute force prevention feature?
    This is the most effective way to combat such security threats.

    Thread Starter rexgoode

    (@rexgoode)

    Thanks for the explanation. Looking forward to additional features.

    I do have the cookie-based brute force prevention enabled. It is working well, but I still get a lot of attacks. Thanks to your plugin, they aren’t bringing servers to their knees.

    I had some hacker named aerossycole try from at least 20 different IP addresses. Being able to block usernames would be a boon.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Block Usernames’ is closed to new replies.