What's In The Rules

Rule FileDescription
REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf.exampleThis file is used to add LOCAL exceptions for your site. Often in this file we would see rules that short-circuit inspection and allow certain transactions to skip through inspection.
Example: SecRule REMOTE_ADDR "@ipMatch 192.168.1.100" "phase:1,id:‘981033’,t:none,nolog,pass,ctl:ruleEngine=Off"
REQUEST-901-INITIALIZATION.confTODO
REQUEST-903.9001-DRUPAL-EXCLUSION-RULES.confTODO
REQUEST-903.9002-WORDPRESS-EXCLUSION-RULES.confTODO
REQUEST-903.9003-NEXTCLOUD-EXCLUSION-RULES.confTODO
REQUEST-903.9004-DOKUWIKI-EXCLUSION-RULES.confTODO
REQUEST-903.9005-CPANEL-EXCLUSION-RULES.confTODO
REQUEST-903.9006-XENFORO-EXCLUSION-RULES.confTODO
REQUEST-910-IP-REPUTATION.confThese rules deal with detecting traffic from IPs that have previously been involved with malicious activity, either on our local site or globally.
REQUEST-912-DOS-PROTECTION.confThe rules in this file will attempt to detect some level 7 DoS (Denial of Service) attacks against your server.
REQUEST-913-SCANNER-DETECTION.confThese rules are concentrated around detecting security tools and scanners.
REQUEST-920-PROTOCOL-ENFORCEMENT.confThe rules in this file center around detecting requests that either violate HTTP or represent a request that no modern browser would generate, for instance missing a user-agent.
REQUEST-921-PROTOCOL-ATTACK.confThe rules in this file focus on specific attacks against the HTTP protocol itself such as HTTP Request Smuggling and Response Splitting.
REQUEST-930-APPLICATION-ATTACK-LFI.confThese rules attempt to detect when a user is trying to include a file that would be local to the webserver that they should not have access to. Exploiting this type of attack can lead to the web application or server being compromised.
REQUEST-931-APPLICATION-ATTACK-RFI.confThese rules attempt to detect when a user is trying to include a remote resource into the web application that will be executed. Exploiting this type of attack can lead to the web application or server being compromised.
REQUEST-932-APPLICATION-ATTACK-RCE.confTODO
REQUEST-933-APPLICATION-ATTACK-PHP.confTODO
REQUEST-934-APPLICATION-ATTACK-GENERIC.confTODO
REQUEST-941-APPLICATION-ATTACK-XSS.confTODO
REQUEST-942-APPLICATION-ATTACK-SQLI.confWithin this configuration file we provide rules that protect against SQL injection attacks. SQLi attackers occur when an attacker passes crafted control characters to parameters to an area of the application that is expecting only data. The application will then pass the control characters to the database. This will end up changing the meaning of the expected SQL query.
REQUEST-943-APPLICATION-ATTACK-SESSION-FIXATION.confThese rules focus around providing protection against Session Fixation attacks.
REQUEST-944-APPLICATION-ATTACK-JAVA.confTODO
REQUEST-949-BLOCKING-EVALUATION.confThese rules provide the anomaly based blocking for a given request. If you are in anomaly detection mode this file must not be deleted.
RESPONSE-950-DATA-LEAKAGES.confThese rules provide protection against data leakages that may occur genericly
RESPONSE-951-DATA-LEAKAGES-SQL.confThese rules provide protection against data leakages that may occur from backend SQL servers. Often these are indicative of SQL injection issues being present.
RESPONSE-952-DATA-LEAKAGES-JAVA.confThese rules provide protection against data leakages that may occur because of Java
RESPONSE-953-DATA-LEAKAGES-PHP.confThese rules provide protection against data leakages that may occur because of PHP
RESPONSE-954-DATA-LEAKAGES-IIS.confThese rules provide protection against data leakages that may occur because of Microsoft IIS.
RESPONSE-959-BLOCKING-EVALUATION.confThese rules provide the anomaly based blocking for a given response. If you are in anomaly detection mode this file must not be deleted.
RESPONSE-980-CORRELATION.confTODO
RESPONSE-999-EXCLUSION-RULES-AFTER-CRS.conf.exampleThis file is used to add LOCAL exceptions for your site. Often in this file we would see rules that short-circuit inspection and allow certain transactions to skip through inspection.