This module provides security enhancements against (HTTP) Flood & Brute Force Attacks for WordPress.
Massive scanning tools (like vulnerability scanners), HTTP Flood tools can be blocked or detected by this module.
This module can be integrated with htaccess, any firewall, iptables or etc. via “banlist” file.
To see a quick test page follow this link: http://www.iosec.org/test.php for proof of concept.
Watch the proof of concept video: http://youtu.be/LzLY_SKLq9w
Note: Change the default configuration values before activating the plugin.
- You can block proxies (via header information)
- You can detect flooding IP addresses.
- You can slow down or restrict access for automated tools (HTTP DoS tools & Flood tools, Brute force tools, Vulnerability scanners, etc.)
- You can save your server resources (database, cpu, ram, etc.) under an attack.
- You can restrict access permanently or temporarily for listed IP addresses in “banlist” file.
- You can notify yourself via email alerts when attacks begin.
- You have to tweak configuration file and even script’s itself to avoid false positives.
- You have to restrict access for world writeable files and apply least privilige permissions to file properties.
Functions of files:
- banlist (Detected IP addresses listed here. You can use this file with iptables, htaccess with bash scripts.)
- banlisttemp (Just a system file. IP and Time correlations listed in it.)
- ips (Just a system file. Every request is listed in it.)
- whitelist (Excluded IP List seperated by new lines.)
- excluded (Excluded File List seperated by new lines. E.g. for http://YOUR_SITE/wordpress/index.php file add this line to excluded file: /wordpress/index.php)
You should configure plugin by editing iosec.php file.
Connection Interval: This is second based interval for accepting another connection.
If you choose value 1 (1 second), another request in 1 second will be suspended by module. You can enter values like 0.1, 0.001, etc.
Max. Connection Count: This is the interval based maximum connection limit count for accepting another connection.
If you choose value 10 and your connection interval is 1 second. This means only 10 connections permitted in 1 second.
Suspended Process Timeout: When a connection interval rule finds a connection is not prohibited, this timeout value will be activated.
For example, if connection interval is 1 and this value is 30 then, second connection in 1 second will be suspended for 30 seconds.
Page Redirection: You redirect your detected users to another page after timeout page disappears.
Send Me Mail: Module can send you a mail when an IP address detected.
Block Proxies: You can identify and block proxies via http header.
Show Debug Info: Time and IP information will be displayed on suspension page when this option is activated.
Use Incremental Blocking: This option will increase time of suspension if attack is still happening.
For example, if C.I. is 1 and a second connection happens in 1 second this will be suspended for 30 seconds (above ex.).
If one connection in 10 seconds happens, this will increase suspension time when this option is activated.
Implicit Deny Timeout: If you want to block every request as default for a timeout period (seconds), set this value to greater than “0”. This is an emergency option for DDoS attacks etc.
Cached Requests: Monitoring data window size for last requests (for “ips” file size) (default is “150”).
Implicit Deny for banlist Timeout: If you want to block every recorded IP that is listed in the banlist as default and let the human users to view page for a timeout period (seconds), set this value to greater than “0” (default is “0”).
CHANGES v.1.8.1 – v.1.8.2
- Improved Implicit Deny for Banned IP Addresses (Deny without detection)
- Minor Performance Tweaks
CHANGES v.1.5 – v.1.8
- Added Implicit Deny for the Banned IP Addresses
- Added Request Cache Size Option
- Added Excluded Files Support
- Added/Improved Implicit Deny Mode (with detection)
CHANGES v.1.3 – v.1.4
- Added Connection Limit Support
- Added Whitelist Support
- Added Reverse Proxy Support
- Added reCAPTCHA Support
- Now Blocks Brute Force More Efficiently
- Minor Security Fixes
Information Security Specialist
You can reach me @
- Upload “iosec.php” and “iosec_content” folder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
These files must be in world writeable mode (e.g. chmod 777) (locally):
To begin test with default values, try to refresh main page 3 or more times in a second (connetion interval= 0.5, Connection count= 1)
There are no reviews for this plugin.
Contributors & Developers
“IOSEC HTTP Anti Flood/DoS Security Gateway Module” is open source software. The following people have contributed to this plugin.Contributors
Translate “IOSEC HTTP Anti Flood/DoS Security Gateway Module” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.