From b3243374f5e560f49b11faa4b353a02dc4bc4f92 Mon Sep 17 00:00:00 2001 From: brenosilva Date: Wed, 30 Mar 2011 14:17:41 +0000 Subject: [PATCH] New doc --- doc/Makefile | 45 - doc/Reference_Manual.html | 5791 ++++++++++++++++++++ doc/apache_request_cycle-modsecurity.jpg | Bin 92271 -> 0 bytes doc/breach-logo-small.gif | Bin 2389 -> 0 bytes doc/hijack-detect.lua | 231 - doc/html-chunked.xsl | 293 - doc/html.xsl | 21 - doc/main-index.html | 35 - doc/migration-matrix.html | 74 - doc/migration-matrix.xml | 808 --- doc/modsecurity-logo.png | Bin 100823 -> 0 bytes doc/modsecurity-reference.css | 102 - doc/modsecurity.gif | Bin 2585 -> 0 bytes doc/modsecurity2-apache-reference.xml | 6364 ---------------------- doc/modsecurity2-data-formats.xml | 1274 ----- doc/pdf.xsl | 166 - 16 files changed, 5791 insertions(+), 9413 deletions(-) delete mode 100644 doc/Makefile create mode 100644 doc/Reference_Manual.html delete mode 100644 doc/apache_request_cycle-modsecurity.jpg delete mode 100644 doc/breach-logo-small.gif delete mode 100644 doc/hijack-detect.lua delete mode 100644 doc/html-chunked.xsl delete mode 100644 doc/html.xsl delete mode 100644 doc/main-index.html delete mode 100644 doc/migration-matrix.html delete mode 100644 doc/migration-matrix.xml delete mode 100644 doc/modsecurity-logo.png delete mode 100644 doc/modsecurity-reference.css delete mode 100644 doc/modsecurity.gif delete mode 100644 doc/modsecurity2-apache-reference.xml delete mode 100644 doc/modsecurity2-data-formats.xml delete mode 100644 doc/pdf.xsl diff --git a/doc/Makefile b/doc/Makefile deleted file mode 100644 index 43d82b8e..00000000 --- a/doc/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -FOP = /opt/fop/fop.sh -XALAN = /opt/fop/xalan.sh -JAVA_HOME = /usr/lib/jvm/java-6-sun - -ALLDOCS = modsecurity2-apache-reference.pdf modsecurity2-data-formats.pdf modsecurity2-apache-reference.html modsecurity2-data-formats.html html-multipage/index.html index.html - -all: $(ALLDOCS) - -modsecurity2-apache-reference.pdf: modsecurity2-apache-reference.xml - JAVA_HOME=$(JAVA_HOME); export JAVA_HOME; \ - $(FOP) -q -xsl pdf.xsl -xml modsecurity2-apache-reference.xml -pdf modsecurity2-apache-reference.pdf; - -modsecurity2-data-formats.pdf: modsecurity2-data-formats.xml - JAVA_HOME=$(JAVA_HOME); export JAVA_HOME; \ - $(FOP) -q -xsl pdf.xsl -xml modsecurity2-data-formats.xml -pdf modsecurity2-data-formats.pdf; - -modsecurity2-apache-reference.html: modsecurity2-apache-reference.xml - JAVA_HOME=$(JAVA_HOME); export JAVA_HOME; \ - $(XALAN) -q -xsl html.xsl -in modsecurity2-apache-reference.xml -param base.dir ./; \ - mv index.html modsecurity2-apache-reference.html; - -modsecurity2-data-formats.html: modsecurity2-data-formats.xml - JAVA_HOME=$(JAVA_HOME); export JAVA_HOME; \ - $(XALAN) -q -xsl html.xsl -in modsecurity2-data-formats.xml -param base.dir ./; \ - mv index.html modsecurity2-data-formats.html; - -html-multipage/index.html: modsecurity2-apache-reference.xml - JAVA_HOME=$(JAVA_HOME); export JAVA_HOME; \ - mkdir html-multipage/; \ - $(XALAN) -q -xsl html-chunked.xsl -in modsecurity2-apache-reference.xml -param base.dir html-multipage/; \ - cp modsecurity-reference.css html-multipage/; \ - cp modsecurity.gif html-multipage/; \ - cp breach-logo-small.gif html-multipage/; \ - cp apache_request_cycle-modsecurity.jpg html-multipage/ - -index.html: main-index.html - (cp main-index.html index.html && \ - VERSION=`grep ".*" modsecurity2-apache-reference.xml | sed 's/[ \t]*<\/\?releaseinfo>[ \t]*//g'` && \ - perl -pi -e "s/\\\$$version/$$VERSION/" index.html) - -clean: - rm -rf docindex.html $(ALLDOCS) html-multipage - -.PHONY: setup cleanup - diff --git a/doc/Reference_Manual.html b/doc/Reference_Manual.html new file mode 100644 index 00000000..e2cecfc1 --- /dev/null +++ b/doc/Reference_Manual.html @@ -0,0 +1,5791 @@ + + + + + + + + + + + + + + + SourceForge.net: Reference Manual - mod-security + + + + + + + + + + + + + + + + + + + +
+
+
+ +

Reference Manual

+
+

From mod-security

+
+
Jump to: navigation, + search
+

Contents

[hide]
+ +
+

ModSecurity® Reference Manual

+

+Current as of v2.5.13 and v2.6

+

Copyright © 2004-2011 Trustwave Holdings, +Inc.

+

Table of Contents

+

Introduction

+

ModSecurity is a web application firewall (WAF). With over 70% of +attacks now carried out over the web application level, organisations +need all the help they can get in making their systems secure. WAFs are +deployed to establish an increased external security layer to detect +and/or prevent attacks before they reach web applications. ModSecurity +provides protection from a range of attacks against web applications and + allows for HTTP traffic monitoring and real-time analysis with little +or no changes to existing infrastructure. +

+

HTTP Traffic Logging

+

Web servers are typically well-equipped to log traffic in a form +useful for marketing analyses, but fall short logging traffic to web +applications. In particular, most are not capable of logging the request + bodies. Your adversaries know this, and that is why most attacks are +now carried out via POST requests, rendering your systems blind. +ModSecurity makes full HTTP transaction logging possible, allowing +complete requests and responses to be logged. Its logging facilities +also allow fine-grained decisions to be made about exactly what is +logged and when, ensuring only the relevant data is recorded. As some of + the request and/or response may contain sensitive data in certain +fields, ModSecurity can be configured to mask these fields before they +are written to the audit log. +

+

Real-Time Monitoring and Attack Detection

+

In addition to providing logging facilities, ModSecurity can monitor +the HTTP traffic in real time in order to detect attacks. In this case, +ModSecurity operates as a web intrusion detection tool, allowing you to +react to suspicious events that take place at your web systems. +

+

Attack Prevention and Virtual Patching

+

ModSecurity can also act immediately to prevent attacks from reaching + your web applications. There are three commonly used approaches: +

+
  1. Negative security model. A negative security model monitors +requests for anomalies, unusual behaviour, and common web application +attacks. It keeps anomaly scores for each request, IP addresses, +application sessions, and user accounts. Requests with high anomaly +scores are either logged or rejected altogether. +
  2. Positive security model. When a positive security model is +deployed, only requests that are known to be valid are accepted, with +everything else rejected. This model requires knownledge of the web +applications you are protecting. Therefore a positive security model +works best with applications that are heavily used but rarely updated so + that maintenance of the model is minimized. +
  3. Known weaknesses and vulnerabilities. Its rule language makes +ModSecurity an ideal external patching tool. External patching +(sometimes referred to as Virtual Patching) is about reducing the window + of opportunity. Time needed to patch application vulnerabilities often +runs to weeks in many organisations. With ModSecurity, applications can +be patched from the outside, without touching the application source +code (and even without any access to it), making your systems secure +until a proper patch is applied to the application. +
+

Flexible Rule Engine

+

A flexible rule engine sits in the heart of ModSecurity. It +implements the ModSecurity Rule Language, which is a specialised +programming language designed to work with HTTP transaction data. The +ModSecurity Rule Language is designed to be easy to use, yet flexible: +common operations are simple while complex operations are possible. +Certified ModSecurity Rules, included with ModSecurity, contain a +comprehensive set of rules that implement general-purpose hardening, +protocol validation and detection of common web application security +issues. Heavily commented, these rules can be used as a learning tool. +

+

+ Embedded-mode Deployment

+

ModSecurity is an embeddable web application firewall, which means it + can be deployed as part of your existing web server infrastructure +provided your web servers are Apache-based. This deployment method has +certain advantages: +

+
  1. No changes to existing network. It only takes a few minutes to +add ModSecurity to your existing web servers. And because it was +designed to be completely passive by default, you are free to deploy it +incrementally and only use the features you need. It is equally easy to +remove or deactivate it if required. +
  2. No single point of failure. Unlike with network-based +deployments, you will not be introducing a new point of failure to your +system. +
  3. Implicit load balancing and scaling. Because it works embedded +in web servers, ModSecurity will automatically take advantage of the +additional load balancing and scalability features. You will not need to + think of load balancing and scaling unless your existing system needs +them. +
  4. Minimal overhead. Because it works from inside the web server +process there is no overhead for network communication and minimal +overhead in parsing and data exchange. +
  5. No problem with encrypted or compressed content. Many IDS +systems have difficulties analysing SSL traffic. This is not a problem +for ModSecurity because it is positioned to work when the traffic is +decrypted and decompressed. +
+

+ Network-based Deployment

+

ModSecurity works equally well when deployed as part of an +Apache-based reverse proxy server, and many of our customers choose to +do so. In this scenario, one installation of ModSecurity can protect any + number of web servers (even the non-Apache ones). +

+

Portability

+

ModSecurity is known to work well on a wide range of operating +systems. Our customers are successfully running it on Linux, Windows, +Solaris, FreeBSD, OpenBSD, NetBSD, AIX, Mac OS X, and HP-UX. +

+

+Licensing

+

ModSecurity is available under two licenses. Users can choose to use +the software under the terms of the GNU General Public License version 2 + (licence text is included with the distribution), as an Open Source / +Free Software product. A range of commercial licenses is also available, + together with a range of commercial support contracts. For more +information on commercial licensing please contact Trustwave. +

+
Note 
ModSecurity, mod_security, ModSecurity Pro, + and ModSecurity Core Rules are trademarks or registered trademarks of +Trustwave Holdings, Inc. +
+

OWASP ModSecurity Core Rule Set (CRS) Project

+

+Overview

+

ModSecurity is a web application firewall engine that provides very +little protection on its own. In order to become useful, ModSecurity +must be configured with rules. In order to enable users to take full +advantage of ModSecurity out of the box, Trustwave's SpiderLabs created +the OWASP ModSecurity Core Rule Set (CRS) Project. Unlike intrusion +detection and prevention systems, which rely on signatures specific to +known vulnerabilities, the CRS provide generic protection from unknown +vulnerabilities often found in web applications, which are in most cases + custom coded. The CRS is heavily commented to allow it to be used as a +step-by-step deployment guide for ModSecurity. The latest rules packages + can be found at the OWASP ModSecurity CRS Project Site. +

+

Core Rules Content

+

In order to provide generic web applications protection, the CRS use +some of the following example techniques: +

+
  • HTTP protection - detecting violations of the HTTP protocol and a + locally defined usage policy. +
  • Common Web Attacks Protection - detecting common web +application security attack. +
  • Automation detection - Detecting bots, crawlers, scanners and +other surface malicious activity. +
  • Trojan Protection - Detecting access to Trojans horses. +
  • Error Hiding - Disguising error messages sent by the server. +
+

Installation

+

Prerequisites

+

ModSecurity 2.x works only with Apache 2.0.x or +higher

+

Version 2.2.x is highly recommended. +

+

mod_uniqueid

+

Make sure you have mod_unique_id installed. +mod_unique_id is packaged with Apache httpd. +

+

libapr and libapr-util

+

libapr and libapr-util - http://apr.apache.org/ +

+

+libpcre

+

http://www.pcre.org/ +

+

+libxml2

+

http://xmlsoft.org/downloads.html +

+

liblua v5.1.x

+

This library is optional and only needed if you will be using the new + Lua engine - http://www.lua.org/download.html +

+
Note 
that ModSecurity requires the dynamic +libraries. These are not built by default in the source distribution, so + the binary distribution is recommended. +
+

+ libcurl v7.15.1 or higher

+

If you will be using the ModSecurity Log Collector (mlogc) to send +audit logs to a central repository, then you will also need the curl +library. +

http://curl.haxx.se/libcurl/ +

+
Note 
Many have had issues with libcurl linked +with the GnuTLS library for SSL/TLS support. It is recommended that the +openssl library be used for SSL/TLS support in libcurl. +
+

Installation Methods

+

Before you begin with installation you will need to choose your +preferred installation method. First you need to choose whether to +install the latest version of ModSecurity directly from CVS (best +features, but possibly unstable) or use the latest stable release +(recommended). If you choose a stable release, it might be possible to +install ModSecurity from binary. It is always possible to compile it +from source code. +

The following few pages will give you more information on +benefits of choosing one method over another. +

+

+ SVN Access

+

If you want to access the latest version of the module you need to +get it from the svn repository. The list of changes made since the last +stable release is normally available on the web site (and in the file +CHANGES). The SVN repository for ModSecurity is hosted by SourceForge (http://www.sf.net). You can + access it directly or view if through web using this address: http://mod-security.svn.sourceforge.net/viewvc/mod-security/ + +

To download the lastest TRUNK source code to your computer you +need to execute the following command: +

git +

+
$git svn clone --prefix=svn/ https://mod-security.svn.sourceforge.net/svnroot/mod-security/m2/trunk
+
+

svn +

+
svn co https://mod-security.svn.sourceforge.net/svnroot/mod-security/m2/trunk modisecurity
+
+

Stable Release Download

+

To download the stable release go to http://www.modsecurity.org/download/. + Binary distributions are sometimes available. If they are, they are +listed on the download page. If not download the source code +distribution. +

+

Installation Steps

+
  • Stop Apache httpd +
  • Unpack the ModSecurity archive +
  • Build +
+

Building differs for UNIX (or UNIX-like) operating systems and +Windows. +

+

UNIX

+

Run the configure script to generate a Makefile. Typically no options + are needed. +

+
./configure
+

Options are available for more customization (use ./configure --help +for a full list), but typically you will only need to specify the +location of the apxs command installed by Apache httpd with the +--with-apxs option. +

+
./configure --with-apxs=/path/to/httpd-2.x.y/bin/apxs
+
Note 
There are certain configure options that +are meant for debugging an other development use. If enabled, these +options can substantially impact performance. These options include all +--debug-* options as well as the --enable-performance-measurements +options. +
+

Compile with: +

+
make
+

Optionally test with: +

+
make test
+
Note 
This is step is still a bit experimental. +If you have problems, please send the full output and error from the +build to the support list. Most common issues are related to not finding + the required headers and/or libraries. +
+

Optionally build the ModSecurity Log Collector with: +

+
make mlogc
+

Optionally install mlogc: Review the INSTALL file included in the +apache2/mlogc-src directory in the distribution. +Install the ModSecurity module with: +

+
make install
+

+ Windows (MS VC++ 8)

+

Edit Makefile.win to configure the Apache base and library paths. +Compile with: nmake -f Makefile.win +Install the ModSecurity module with: nmake -f Makefile.win install +Copy the libxml2.dll and lua5.1.dll to the Apache bin directory. +Alternatively you can follow the step below for using LoadFile to load +these libraries. +

+

+ Edit the main Apache httpd config file +(usually httpd.conf)

+

On UNIX (and Windows if you did not copy the DLLs as stated above) +you must load libxml2 and lua5.1 before ModSecurity with something like +this: +

+
LoadFile /usr/lib/libxml2.so
+LoadFile /usr/lib/liblua5.1.so
+
+

Load the ModSecurity module with: +

+
LoadModule security2_module modules/mod_security2.so
+
+

Configure ModSecurity

+

Start Apache httpd

+

You should now have ModSecurity 2.x up and running. +

+
Note 
If you have compiled Apache yourself you +might experience problems compiling ModSecurity against PCRE. This is +because Apache bundles PCRE but this library is also typically provided +by the operating system. I would expect most (all) vendor-packaged +Apache distributions to be configured to use an external PCRE library +(so this should not be a problem). +
+
You want to avoid Apache using the bundled PCRE library and +ModSecurity linking against the one provided by the operating system. +The easiest way to do this is to compile Apache against the PCRE library + provided by the operating system (or you can compile it against the +latest PCRE version you downloaded from the main PCRE distribution +site). You can do this at configure time using the --with-pcre switch. +If you are not in a position to recompile Apache, then, to compile +ModSecurity successfully, you'd still need to have access to the bundled + PCRE headers (they are available only in the Apache source code) and +change the include path for ModSecurity (as you did in step 7 above) to +point to them (via the --with-pcre ModSecurity configure option). +
+
Do note that if your Apache is using an external PCRE library +you can compile ModSecurity with WITH_PCRE_STUDY defined,which would +possibly give you a slight performance edge in regular expression +processing. +
+
Non-gcc compilers may have problems running out-of-the-box as +the current build system was designed around the gcc compiler and some +compiler/linker flags may differ. To use a non-gcc compiler you may need + some manual Makefile tweaks if issues cannot be solved by exporting +custom CFLAGS and CPPFLAGS environment variables. +
+
If you are upgrading from ModSecurity 1.x, please refer to the +migration matrix at http://www.modsecurity.org/documentation/ModSecurity-Migration-Matrix.pdf +
+

+ Configuration Directives

+

The following section outlines all of the ModSecurity directives. +Most of the ModSecurity directives can be used inside the various Apache + Scope Directives such as VirtualHost, Location, LocationMatch, +Directory, etc... There are others, however, that can only be used once +in the main configuration file. This information is specified in the +Scope sections below. The first version to use a given directive is +given in the Version sections below. +

These rules, along with the Core rules files, should be contained + is files outside of the httpd.conf file and called up with Apache +"Include" directives. This allows for easier updating/migration of the +rules. If you create your own custom rules that you would like to use +with the Core rules, you should create a file called - +modsecurity_crs_15_customrules.conf and place it in the same directory +as the Core rules files. By using this file name, your custom rules will + be called up after the standard ModSecurity Core rules configuration +file but before the other Core rules. This allows your rules to be +evaluated first which can be useful if you need to implement specific +"allow" rules or to correct any false positives in the Core rules as +they are applied to your site. +

+
Note 
It is highly encouraged that you do not +edit the Core rules files themselves but rather place all changes (such +as SecRuleRemoveByID, etc...) in your custom rules file. This will allow + for easier upgrading as newer Core rules are released by Breach +Security on the ModSecurity website. +
+

+SecAction

+

Description: Unconditionally processes the action list it +receives as the first and only parameter. The syntax of the parameter is + identical to that of the third parameter of SecRule. +

Syntax: SecAction "action1,action2,action3,...“ +

Scope: Any +

Version: 2.0.0 +

This directive is commonly used to set variables and initialize +persistent collections using the initcol action. For example: +

+
SecAction nolog,phase:1,initcol:RESOURCE=%{REQUEST_FILENAME}
+

SecArgumentSeparator

+

Description: Specifies which character to use as the separator + for application/x-www-form- urlencoded content. +

Syntax: SecArgumentSeparator character +

Default: & +

Scope: Main +

Version: 2.0.0 +

This directive is needed if a backend web application is using a +nonstandard argument separator. Applications are sometimes (very rarely) + written to use a semicolon separator. You should not change the default + setting unless you establish that the application you are working with +requires a different separator. If this directive is not set properly +for each web application, then ModSecurity will not be able to parse the + arguments appropriately and the effectiveness of the rule matching will + be significantly decreased. +

+

SecAuditEngine

+

Description: Configures the audit logging engine. +

Syntax: SecAuditEngine RelevantOnly +

Default: Off +

Scope: Any +

Version: 2.0.0 +

The SecAuditEngine directive is used to configure the audit +engine, which logs complete transactions. ModSecurity is currently able +to log most, but not all transactions. Transactions involving errors +(e.g., 400 and 404 transactions) use a different execution path, which +ModSecurity does not support. +

The possible values for the audit log engine are as follows: +

+
  • On: log all transactions +
  • Off: do not log any transactions +
  • RelevantOnly: only the log transactions that have +triggered a warning or an error, or have a status code that is +considered to be relevant (as determined by the +SecAuditLogRelevantStatus directive) +
+
Note 
If you need to change the audit log engine +configuration on a per-transaction basis (e.g., in response to some +transaction data), use the ctl action. +
+

The following example demonstrates how SecAuditEngine is used: +

+
SecAuditEngine RelevantOnly
+SecAuditLog logs/audit/audit.log
+SecAuditLogParts ABCFHZ 
+SecAuditLogType concurrent 
+SecAuditLogStorageDir logs/audit 
+SecAuditLogRelevantStatus ^(?:5|4(?!04))
+
+

SecAuditLog

+

Description: Defines the path to the main audit log file +(serial logging format) or the concurrent logging index file (concurrent + logging format). When used in combination with mlogc (only possible +with concurrent logging), this directive defines the mlogc location and +command line. +

Syntax: SecAuditLog /path/to/audit.log +

Scope: Any Version: 2.0.0 +

This file will be used to store the audit log entries if serial +audit logging format is used. If concurrent audit logging format is used + this file will be used as an index, and contain a record of all audit +log files created. If you are planning to use concurrent audit logging +to send your audit log data off to a remote server you will need to +deploy the ModSecurity Log Collector (mlogc), like this: +

+
SecAuditLog "|/path/to/mlogc /path/to/mlogc.conf"
+
+
Note 
This audit log file is opened on startup +when the server typically still runs as root. You should not allow +non-root users to have write privileges for this file or for the +
+

SecAuditLog2

+

Description: Defines the path to the secondary audit log index + file when concurrent logging is enabled. See SecAuditLog for more +details. +

Syntax: SecAuditLog2 /path/to/audit.log +

Scope: Any +

Version: 2.1.2 +

The purpose of SecAuditLog2 is to make logging to two remote +servers possible, which is typically achieved by running two instances +of the mlogc tool, each with a different configuration (in addition, one + of the instances will need to be instructed not to delete the files it +submits). This directive can be used only if SecAuditLog was previously +configured and only if concurrent logging format is used. +

+

SecAuditLogDirMode

+

Description: Configures the mode (permissions) of any +directories created for the concurrent audit logs, using an octal mode +value as parameter (as used in chmod). +

Syntax: SecAuditLogDirMode octal_mode|"default" + +

Default: 0600 +

Scope: Any +

Version: 2.5.10 +

The default mode for new audit log directories (0600) only grants + read/write access to the owner (typically the account under which +Apache is running, for example apache). If access from other accounts is + needed (e.g., for use with mpm-itk), then you may use this directive to + grant additional read and/or write privileges. You should use this +directive with caution to avoid exposing potentially sensitive data to +unauthorized users. Using the value default as parameter reverts the +configuration back to the default setting. This feature is not available + on operating systems not supporting octal file modes. +

Example: +

+
SecAuditLogDirMode 02750
+
Note 
The process umask may still limit the mode +if it is being more restrictive than the mode set using this directive. +
+

SecAuditLogFileMode

+

Description: Configures the mode (permissions) of any files +created for concurrent audit logs using an octal mode (as used in +chmod). See SecAuditLogDirMode for controlling the mode of created audit + log directories. +

Syntax: SecAuditLogFileMode octal_mode|"default" + +

Scope: Any +

Version: 2.5.10 +

Example Usage: SecAuditLogFileMode 00640 +

This feature is not available on operating systems not supporting + octal file modes. The default mode (0600) only grants read/write access + to the account writing the file. If access from another account is +needed (using mpm-itk is a good example), then this directive may be +required. However, use this directive with caution to avoid exposing +potentially sensitive data to unauthorized users. Using the value +“default” will revert back to the default setting. +

+
Note 
The process umask may still limit the mode +if it is being more restrictive than the mode set using this directive. +
+

SecAuditLogParts

+

Description: Defines which parts of each transaction are going + to be recorded in the audit log. Each part is assigned a single letter; + when a letter appears in the list then the equivalent part will be +recorded. See below for the list of all parts. +

Syntax: SecAuditLogParts PARTLETTERS +

Example Usage: SecAuditLogParts ABCFHZ +

Scope: Any Version: 2.0.0 +

Default: ABCFHZ Note +

The format of the audit log format is documented in detail in the + Audit Log Data Format Documentation. +

Available audit log parts: +

+
  • A: Audit log header (mandatory). +
  • B: Request headers. +
  • C: Request body (present only if the request body exists and +ModSecurity is configured to intercept it). +
  • D: Reserved for intermediary response headers; not implemented +yet. +
  • E: Intermediary response body (present only if ModSecurity is +configured to intercept response bodies, and if the audit log engine is +configured to record it). Intermediary response body is the same as the +actual response body unless ModSecurity intercepts the intermediary +response body, in which case the actual response body will contain the +error message (either the Apache default error message, or the +ErrorDocument page). +
  • F: Final response headers (excluding the Date and Server +headers, which are always added by Apache in the late stage of content +delivery). +
  • G: Reserved for the actual response body; not implemented yet. +
  • H: Audit log trailer. +
  • I: This part is a replacement for part C. It will log the same +data as C in all cases except when multipart/form-data encoding in used. + In this case, it will log a fake application/x-www-form-urlencoded body + that contains the information about parameters but not about the files. + This is handy if you don’t want to have (often large) files stored in +your audit logs. +
  • J: This part contains information about the files uploaded +using multipart/form-data encoding. +
  • K: This part contains a full list of every rule that matched +(one per line) in the order they were matched. The rules are fully +qualified and will thus show inherited actions and default operators. +Supported as of v2.5.0. +
  • Z: Final boundary, signifies the end of the entry (mandatory). +
+

+ SecAuditLogRelevantStatus

+

Description: Configures which response status code is to be +considered relevant for the purpose of audit logging. +

Syntax: SecAuditLogRelevantStatus REGEX +

Example Usage: SecAuditLogRelevantStatus +"^(?:5|4(?!04))" +

Scope: Any +

Version: 2.0.0 +

Dependencies/Notes: Must have SecAuditEngine set to +RelevantOnly. +

The main purpose of this directive is to allow you to configure +audit logging for only the transactions that have the status code that +matches the supplied regular expression. The example provided would log +all 5xx and 4xx level status codes, except for 404s. Although you could +achieve the same effect with a rule in phase 5, +SecAuditLogRelevantStatus is sometimes better, because it continues to +work even when SecRuleEngine is disabled. +

+

SecAuditLogStorageDir

+

Description: Configures the directory where concurrent audit +log entries are to be stored. +

Syntax: SecAuditLogStorageDir /path/to/storage/dir +

Example Usage: SecAuditLogStorageDir +/usr/local/apache/logs/audit +

Scope: Any +

Version: 2.0.0 +

This directive is only needed when concurrent audit logging is +used. The directory must already exist and must be writable by the web +server user. Audit log entries are created at runtime, after Apache +switches to a non-root account. +As with all logging mechanisms, ensure that you specify a file system +location that has adequate disk space and is not on the main system +partition. +

+

SecAuditLogType

+

Description: Configures the type of audit logging mechanism to + be used. +

Syntax: SecAuditLogType Serial|Concurrent +

Example Usage: SecAuditLogType Serial +

Scope: Any +

Version: 2.0.0 +

The possible values are: +

+
Serial 
Audit log entries will be stored in a +single file, specified by SecAuditLog. This is conve- nient for casual +use, but it can slow down the server, because only one audit log entry +can be written to the file at any one time. +
Concurrent 
One file per transaction is used for + audit logging. This approach is more scalable when heavy logging is +required (multiple transactions can be recorded in parallel). It is also + the only choice if you need to use remote logging. +
+

SecCacheTransformations

+

Description: Controls the caching of transformations, which +may speed up the processing of complex rule sets. Caching is off by +default starting with 2.5.6, when it was deprecated and downgraded back +to experimental. +

Syntax: SecCacheTransformations On|Off [options] +

Example Usage: SecCacheTransformations On +"minlen:64,maxlen:0" +

Scope: Any +

Version: 2.5.0; deprecated in 2.5.6. +

The first directive parameter can be one of the following: +

+
  • On: Cache transformations (per transaction, per phase) +allowing identical transforma- tions to be performed only once. +
  • Off: Do not cache any transformations, leaving all +transformations to be performed every time they are needed. +
+

The following options are allowed (multiple options must be +comma-separated): +

+
  • incremental:on|off: Enabling this option will cache every + transformation instead of just the final transformation. The default is + off. +
  • maxitems:N: Do not allow more than N transformations to +be cached. Cache will be disabled once this number is reached. A zero +value is interpreted as unlimited. This option may be useful to limit +caching for a form with a large number of variables. The default value +is 512. +
  • minlen:N: Do not cache the transformation if the +variable’s length is less than N bytes. The default setting is 32. +
  • maxlen:N: Do not cache the transformation if the +variable’s length is more than N bytes. A zero value is interpreted as +unlimited. The default setting is 1024. +
+

SecChrootDir

+

Description: Configures the directory path that will be used +to jail the web server process. +

Syntax: SecChrootDir /path/to/chroot/dir +

Example Usage: SecChrootDir /chroot +

Scope: Main +

Version: 2.0.0 +

This feature is not available on Windows builds. The internal +chroot functionality provided by ModSecurity works great for simple +setups. One example of a simple setup is Apache serving only static +files, or running applications using built-in modules. Some problems you + might encounter with more complex setups: +

+
  1. DNS lookups do not work (this is because this feature requires a + shared library that is loaded on demand, after chroot takes place). +
  2. You cannot send email from PHP, because it wants to use +sendmail and sendmail re- sides outside the jail. +
  3. In some cases, when you separate Apache from its configuration, + restarts and graceful reloads no longer work. +
+

The best way to use SecChrootDir is the following: +

+
  1. Create /chroot to be your main jail directory. +
  2. Create /chroot/opt/apache inside jail. +
  3. Create a symlink from /opt/apache to /chroot/opt/apache. +
  4. Now install Apache into /chroot/opt/apache. +
+

You should be aware that the internal chroot feature might not be +100% reliable. Due to the large number of default and third-party +modules available for the Apache web server, it is not possible to +verify the internal chroot works reliably with all of them. A module, +working from within Apache, can do things that make it easy to break out + of the jail. In particular, if you are using any of the modules that +fork in the module initialisation phase (e.g., mod_fastcgi, mod_fcgid, +mod_cgid), you are advised to examine each Apache process and observe +its current working directory, process root, and the list of open files. + Consider what your options are and make your own decision. +

+

SecComponentSignature

+

Description: Appends component signature to the ModSecurity +signature. +

Syntax: SecComponentSignature "COMPONENT_NAME/X.Y.Z +(COMMENT)" +

Example usage: SecComponentSignature "core +ruleset/2.1.3" +

Scope: Main +

Version: 2.5.0 +

This directive should be used to make the presence of significant + rule sets known. The entire signature will be recorded in the +transaction audit log. +

+

SecContentInjection

+

Description: Enables content injection using actions append +and prepend. +

Syntax: SecContentInjection On|Off +

Example Usage: SecContentInjection On +

Scope: Any +

Version: 2.5.0 +

This directive provides an easy way to control content injection, + no matter what the rules want to do. It is not necessary to have +response body buffering enabled in order to use content injection. +

+

SecCookieFormat

+

Description: Selects the cookie format that will be used in +the current configuration context. +

Syntax: SecCookieFormat 0|1 +

Example Usage: SecCookieFormat 0 +

Scope: Any +

Version: 2.0.0 +

The possible values are: +

+
  • 0: Use version 0 (Netscape) cookies. This is what most +applications use. It is the default value. +
  • 1: Use version 1 cookies. +
+

+ SecDataDir

+

Description: Path where persistent data (e.g., IP address +data, session data, and so on) is to be stored. +

Syntax: SecDataDir /path/to/dir +

Example Usage: SecDataDir +/usr/local/apache/logs/data +

Scope: Main +

Version: 2.0.0 +

This directive must be provided before initcol, setsid, and +setuid can be used. The directory to which the directive points must be +writable by the web server user. +

+

SecDebugLog

+

Description: Path to the ModSecurity debug log file. +

Syntax: SecDebugLog /path/to/modsec-debug.log +

Example Usage: SecDebugLog +/usr/local/apache/logs/modsec-debug.log +

Scope: Any +

Version: 2.0.0 +

+

SecDebugLogLevel

+

Description: Configures the verboseness of the debug log data. + +

Syntax: SecDebugLogLevel 0|1|2|3|4|5|6|7|8|9 +

Example Usage: SecDebugLogLevel 4 +

Scope: Any +

Version: 2.0.0 +

Messages at levels 1–3 are always copied to the Apache error log. + Therefore you can always use level 0 as the default logging level in +production if you are very concerned with performance. Having said that, + the best value to use is 3. Higher logging levels are not recommended +in production, because the heavy logging affects performance adversely. +

The possible values for the debug log level are: +

+
  • 0: no logging +
  • 1: errors (intercepted requests) only +
  • 2: warnings +
  • 3: notices +
  • 4: details of how transactions are handled +
  • 5: as above, but including information about each piece of +information handled +
  • 9: log everything, including very detailed debugging +information +
+

SecDefaultAction

+

Description: Defines the default list of actions, which will +be inherited by the rules in the same configuration context. +

Syntax: SecDefaultAction "action1,action2,action3“ +

Example Usage: SecDefaultAction +"phase:2,log,auditlog,deny,status:403“ +

Scope: Any +

Version: 2.0.0 +

Default: phase:2,log,auditlog,pass +

Every rule following a previous SecDefaultAction +directive in the same configuration context will inherit its settings +unless more specific actions are used. Every SecDefaultAction + directive must specify a disruptive action and a processing phase and +cannot contain metadata actions. +

+
Warning 
SecDefaultAction is not +inherited across configuration contexts. (For an example of why this may + be a problem, read the following ModSecurity Blog entry http://blog.spiderlabs.com/2008/07/three-modsecurity-rule-language-annoyances.html.) +
+

+ SecDisableBackendCompression

+

Description: Disables backend compression while leaving the +frontend compression enabled. +

Syntax: SecDisableBackendCompression On|Off +

Scope: Any +

Version: Development trunk +

Default: Off +

This directive is necessary in reverse proxy mode when the +backend servers support response compression, but you wish to inspect +response bodies. Unless you disable backend compression, ModSecurity +will only see compressed content, which is not very useful. This +directive is not necessary in embedded mode, because ModSecurity +performs inspection before response compression takes place. +

+

SecGeoLookupDb

+

Description: Defines the path to the database that will be +used for geolocation lookups. +

Syntax: SecGeoLookupDb /path/to/db +

Example Usage: SecGeoLookupDb +/path/to/GeoLiteCity.dat +

Scope: Any +

Version: 2.5.0 +

ModSecurity relies on the free geolocation databases (GeoLite +City and GeoLite Country) that can be obtained from MaxMind [1]. +

+

SecGsbLookupDb

+

Description: Defines the path to the database that will be +used for Google Safe Browsing (GSB) lookups. +

Syntax: SecGsbLookupDb /path/to/db +

Example Usage: SecGsbLookupDb +/path/to/GsbMalware.dat +

Scope: Any +

Version: 2.6.0 +

ModSecurity relies on the free Google Safe Browsing database that + can be obtained from the Google GSB API [2]. +

+
Note 
After registering and obtaining a Safe +Browsing API key, you can automatically download the GSB using a tool +like wget (where KEY is your own API key): +
+

wget http://sb.google.com/safebrowsing/update?client=api&apikey=KEY&version=goog-malware-hash:1:-1 +

+

SecGuardianLog

+

Description: Configures an external program that will receive +the information about every transaction via piped logging. +

Syntax: SecGuardianLog |/path/to/httpd-guardian +

Example Usage: SecGuardianLog +|/usr/local/apache/bin/httpd-guardian +

Scope: Main +

Version: 2.0.0 +

Guardian logging is designed to send the information about every +request to an external program. Because Apache is typically deployed in a + multiprocess fashion, which makes information sharing between processes + difficult, the idea is to deploy a single external process to observe +all requests in a stateful manner, providing additional protection. +

Currently the only tool known to work with guardian logging is +httpd-guardian, which is part of the Apache httpd tools project [3]. The httpd-guardian tool is designed to defend +against denial of service attacks. It uses the blacklist tool (from the +same project) to interact with an iptables-based (on a Linux system) or +pf-based (on a BSD system) firewall, dynamically blacklisting the +offending IP addresses. It can also interact with SnortSam [4]. Assuming +httpd-guardian is already configured (look into the source code for the +detailed instructions), you only need to add one line to your Apache +configuration to deploy it: +

+
SecGuardianLog |/path/to/httpd-guardian
+

SecInterceptOnError

+

Description: Configures how to respond when rule processing +fails. +

Syntax: SecInterceptOnError On|Off +

Example Usage: SecInterceptOnError On +

Scope: Main +

Version: 2.6 +

When an operator execution fails (ie returns <0), this +directive configures how to react. When set to "Off", the rule is just +ignored and the engine will continue executing the rules in phase. When + set to "On", the rule will be just dropped and no more rules will be +executed in the same phase, also no interception is made. +

+

+SecMarker

+

Description: Adds a fixed rule marker that can be used as a +target in a skipAfter action. A SecMarker directive essentially creates a + rule that does nothing and whose only purpose is to carry the given ID. +

Syntax: SecMarker ID|TEXT +

Example Usage: SecMarker 9999 +

Scope: Any +

Version: 2.5.0 +

The value can be either a number or a text string. The SecMarker + directive is available to allow you to choose the best way to implement + a skip-over. Here is an example used from the Core Rule Set: +

+
SecMarker BEGIN_HOST_CHECK
+
+        SecRule &REQUEST_HEADERS:Host "@eq 0" \
+                "skipAfter:END_HOST_CHECK,phase:2,rev:'2.1.1',t:none,block,msg:'Request Missing a Host Header',id:'960008',tag:'PROTOCOL_VIOLATION/MISSING_HEADER_HOST',tag:'WASCTC/WASC-21',tag:'OWASP_TOP_10/A7',tag:'PCI/6.5.10',severity:'5',setvar:'tx.msg=%{rule.msg}',setvar:tx.anomaly_score=+%{tx.notice_anomaly_score},setvar:tx.protocol_violation_score=+%{tx.notice_anomaly_score},setvar:tx.%{rule.id}-PROTOCOL_VIOLATION/MISSING_HEADER-%{matched_var_name}=%{matched_var}"
+        SecRule REQUEST_HEADERS:Host "^$" \
+                "phase:2,rev:'2.1.1',t:none,block,msg:'Request Missing a Host Header',id:'960008',tag:'PROTOCOL_VIOLATION/MISSING_HEADER_HOST',tag:'WASCTC/WASC-21',tag:'OWASP_TOP_10/A7',tag:'PCI/6.5.10',severity:'5',setvar:'tx.msg=%{rule.msg}',setvar:tx.anomaly_score=+%{tx.notice_anomaly_score},setvar:tx.protocol_violation_score=+%{tx.notice_anomaly_score},setvar:tx.%{rule.id}-PROTOCOL_VIOLATION/MISSING_HEADER-%{matched_var_name}=%{matched_var}"
+
+SecMarker END_HOST_CHECK
+
+

SecPcreMatchLimit

+

Description: Sets the match limit in the PCRE library. +

Syntax: SecPcreMatchLimit value +

Example Usage: SecPcreMatchLimit 1500 +

Scope: Main +

Version: 2.5.12 +

Default: 1500 +

The default can be changed when ModSecurity is prepared for +compilation: the --enable-pcre-match-limit=val configure option will set + a custom default and the --disable-pcre-match-limit option will revert +back to the default of the PCRE library. +For more information, refer to the pcre_extra field in the pcreapi man +page. +

+

+ SecPcreMatchLimitRecursion

+

Description: Sets the match limit recursion in the PCRE +library. +

Syntax: SecPcreMatchLimitRecursion value +

Example Usage: SecPcreMatchLimitRecursion 1500 +

Scope: Main +

Version: 2.5.12 +

Default: 1500 +

The default can be changed when ModSecurity is prepared for +compilation: the --enable-pcre-match-limit-recursion=val configure +option will set a custom default and the +--disable-pcre-match-limit-recursion option will revert back to the +default of the PCRE library. +For more information, refer to the pcre_extra field in the pcreapi man +page. +

+

SecPdfProtect

+

Description: Enables the PDF XSS protection functionality. +

Syntax: SecPdfProtect On|Off +

Example Usage: SecPdfProtect On +

Scope: Any +

Version: 2.5.0; removed from trunk +

Once enabled access to PDF files is tracked. Direct access +attempts are redirected to links that contain one-time tokens. Requests +with valid tokens are allowed through, unmodified. Requests with invalid + tokens are also allowed through, but with forced download of the PDF +files. This implementation uses response headers to detect PDF files and + thus can be used with dynamically generated PDF files that do not have +the .pdf extension in the request URI. +

+

SecPdfProtectMethod

+

Description: Configure desired protection method to be used +when requests for PDF files are detected. +

Syntax: SecPdfProtectMethod method +

Example Usage: SecPdfProtectMethod TokenRedirection +

Scope: Any +

Version: 2.5.0; removed from trunk +

Default: TokenRedirection +

Possible values are TokenRedirection and ForcedDownload. The +token redirection approach will attempt to redirect with tokens where +possible. This allows PDF files to continue to be opened inline but +works only for GET requests. Forced download always causes PDF files to +be delivered as opaque binaries and attachments. The latter will always +be used for non-GET requests. Forced download is considered to be more +secure but may cause usability problems for users (“This PDF won’t open +anymore!”). +

+

SecPdfProtectSecret

+

Description: Defines the secret that will be used to construct + one-time tokens. +

Syntax: SecPdfProtectSecret secret +

Example Usage: SecPdfProtectSecret +MyRandomSecretString +

Scope: Any +

Version: 2.5.0; removed from trunk +

You should use a reasonably long value for the secret (e.g., 16 +characters is good). Once selected, the secret should not be changed, as + it will break the tokens that were sent prior to change. But it’s not a + big deal even if you change it. It will just force download of PDF +files with tokens that were issued in the last few seconds. +

+

SecPdfProtectTimeout

+

Description: Defines the token timeout. +

Syntax: SecPdfProtectTimeout timeout +

Example Usage: SecPdfProtectTimeout 10 +

Scope: Any +

Version: 2.5.0; removed from trunk +

Default: 10 +

After token expires, it can no longer be used to allow access to a + PDF file. Request will be allowed through but the PDF will be delivered + as an attachment. +

+

SecPdfProtectTokenName

+

Description: Defines the name of the token. +

Syntax: SecPdfProtectTokenName name +

Example Usage: SecPdfProtectTokenName PDFTOKEN +

Scope: Any +

Version: 2.5.0; removed from trunk +

Default: PDFTOKEN +

The only reason you would want to change the name of the token is + if you wanted to hide the fact that you are running ModSecurity. It’s a + good reason, but it won’t really help, as the adversary can look into +the algorithm used for PDF protection and figure it out anyway. It does +raise the bar slightly, so go ahead if you want to. +

+

SecReadStateLimit

+

Description: Establishes a per-IP address limit of how many +connections are allowed to be in SERVER_BUSY_READ state. +

Syntax: SecReadStateLimit LIMIT +

Example Usage: SecReadStateLimit 50 +

Scope: Main +

Version: 2.5.13 +

Default: 0 (no limit) +

This measure is effective against Slowloris-style attacks from a +single IP address, but it may not be as good against modified attacks +that work by slowly sending request body content. This is because Apache + to switches state to SERVER_BUSY_WRITE once request headers have been +read. As an alternative, consider mod_reqtimeout (part of Apache as of +2.2.15), which is expected be effective against both attack types. See +Blog post on mitigating slow DoS attacks - http://blog.spiderlabs.com/2010/11/advanced-topic-of-the-week-mitigating-slow-http-dos-attacks.html +

+

SecRequestBodyAccess

+

Description: Configures whether request bodies will be +buffered and processed by ModSecurity. +

Syntax: SecRequestBodyAccess On|Off +

Example Usage: SecRequestBodyAccess On +

Scope: Any +

Version: 2.0.0 +

This directive is required if you want to inspect the data +transported request bodies (e.g., POST parameters). Request buffering is + also required in order to make reliable blocking possible. The +possible values are: +

+
  • On: buffer request bodies +
  • Off: do not buffer request bodies +
+

+ SecRequestBodyInMemoryLimit

+

Description: Configures the maximum request body size that +ModSecurity will store in mem- ory. +

Syntax: SecRequestBodyInMemoryLimit LIMIT_IN_BYTES +

Example Usage: SecRequestBodyInMemoryLimit 131072 +

Scope: Any +

Version: 2.0.0 +

Default: 131072 (128 KB) +

When a multipart/form-data request is being processed, once the +in-memory limit is reached, the request body will start to be streamed +into a temporary file on disk. +

+

SecRequestBodyLimit

+

Description: Configures the maximum request body size +ModSecurity will accept for buffering. +

Syntax: SecRequestBodyLimit LIMIT_IN_BYTES +

Example Usage: SecRequestBodyLimit 134217728 +

Scope: Any +

Version: 2.0.0 +

Default: 134217728 (131072 KB) +

Anything over the limit will be rejected with status code 413 +(Request Entity Too Large). There is a hard limit of 1 GB. +

+
Note 
In ModSecurity 2.5.x and earlier, +SecRequestBodyLimit works only when used in the main server +configuration, or a VirtualHost container. In these versions, request +body limit is enforced immediately after phase 1, but before phase 2 +configuration (i.e. whatever is placed in a Location container) is +resolved. You can work around this limitation by using a phase 1 rule +that changes the request body limit dynamically, using the +ctl:requestBodyLimit action. ModSecurity 2.6.x (currently in the trunk +only) and better do not have this limitation. +
+

+ SecRequestBodyNoFilesLimit

+

Description: Configures the maximum request body size +ModSecurity will accept for buffering, excluding the size of any files +being transported in the request. This directive is useful to reduce +susceptibility to DoS attacks when someone is sending request bodies of +very large sizes. Web applications that require file uploads must +configure SecRequestBodyLimit to a high value, but because large files +are streamed to disk, file uploads will not increase memory consumption. + However, it’s still possible for someone to take advantage of a large +request body limit and send non-upload requests with large body sizes. +This directive eliminates that loophole. +

Syntax: SecRequestBodyNoFilesLimit NUMBER_IN_BYTES +

Example Usage: SecRequestBodyLimit 131072 +

Scope: Any +

Version: 2.5.0 +

Default: 1048576 (1 MB) +

Generally speaking, the default value is not small enough. For +most applications, you should be able to reduce it down to 128 KB or +lower. Anything over the limit will be rejected with status code 413 +(Request Entity Too Large). There is a hard limit of 1 GB. +

+

+ SecRequestBodyLimitAction

+

Description: Controls what happens once a request body limit, +configured with SecRequestBodyLimit, is encountered +

Syntax: SecRequestBodyLimitAction +Reject|ProcessPartial +

Example Usage: SecRequestBodyLimitAction +ProcessPartial +

Scope: Any +

Version: 2.6.0 +

By default, ModSecurity will reject a request body that is longer + than specified. This is problematic especially when ModSecurity is +being run in DetectionOnly mode and the intent is to be totally passive +and not take any disruptive actions against the transaction. With the +ability to choose what happens once a limit is reached, site +administrators can choose to inspect only the first part of the request, + the part that can fit into the desired limit, and let the rest through. + This is not ideal from a possible evasion issue perspective, however +it may be acceptable under certain circumstances. +

+
Note 
When the SecRuleEngine is set to +DetectionOnly, SecRequestBodyLimitAction is automatically set to +ProcessPartial in order to not cause any disruptions. If you want to +know if/when a request body size is over your limit, you can create a +rule to check for the existence of the INBOUND_ERROR_DATA variable. +
+

SecResponseBodyLimit

+

Description: Configures the maximum response body size that +will be accepted for buffering. +

Syntax: SecResponseBodyLimit LIMIT_IN_BYTES +

Example Usage: SecResponseBodyLimit 524228 +

Scope: Any +

Version: 2.0.0 +

Default: 524288 (512 KB) +

Anything over this limit will be rejected with status code 500 +(Internal Server Error). This setting will not affect the responses with + MIME types that are not selected for buffering. There is a hard limit +of 1 GB. +

+

+ SecResponseBodyLimitAction

+

Description: Controls what happens once a response body limit, + configured with SecResponseBodyLimit, is encountered. +

Syntax: SecResponseBodyLimitAction +Reject|ProcessPartial +

Example Usage: SecResponseBodyLimitAction +ProcessPartial +

Scope: Any +

Version: 2.5.0 +

By default, ModSecurity will reject a response body that is +longer than specified. Some web sites, however, will produce very long +responses, making it difficult to come up with a reasonable limit. Such +sites would have to raise the limit significantly to function properly, +defying the purpose of having the limit in the first place (to control +memory consumption). With the ability to choose what happens once a +limit is reached, site administrators can choose to inspect only the +first part of the response, the part that can fit into the desired +limit, and let the rest through. Some could argue that allowing parts of + responses to go uninspected is a weakness. This is true in theory, but +applies only to cases in which the attacker controls the output (e.g., +can make it arbitrary long). In such cases, however, it is not possible +to prevent leakage anyway. The attacker could compress, obfuscate, or +even encrypt data before it is sent back, and therefore bypass any +monitoring device. +

+

SecResponseBodyMimeType

+

Description: Configures which MIME types are to be considered +for response body buffering. +

Syntax: SecResponseBodyMimeType MIMETYPE MIMETYPE +... +

Example Usage: SecResponseBodyMimeType text/plain +text/html text/xml +

Scope: Any +

Version: 2.0.0 +

Default: text/plain text/html +

Multiple SecResponseBodyMimeType directives can be used to add +MIME types. Use SecResponseBodyMimeTypesClear to clear previously +configured MIME types and start over. +

+

+SecResponseBodyMimeTypesClear

+

Description: Clears the list of MIME types considered for +response body buffering, allowing you to start populating the list from +scratch. +

Syntax: SecResponseBodyMimeTypesClear +

Example Usage: SecResponseBodyMimeTypesClear +

Scope: Any +

Version: 2.0.0 +

+

SecResponseBodyAccess

+

Description: Configures whether response bodies are to be +buffered. +

Syntax: SecResponseBodyAccess On|Off +

Example Usage: SecResponseBodyAccess On +

Scope: Any +

Version: 2.0.0 +

Default: Off +

This directive is required if you plan to inspect HTML responses +and implement response blocking. Possible values are: +

+
  • On: buffer response bodies (but only if the response MIME type +matches the list configured with SecResponseBodyMimeType). +
  • Off: do not buffer response bodies. +
+

+SecRule

+

Description: Creates a rule that will analyze the selected +variables using the selected operator. +

Syntax: SecRule VARIABLES OPERATOR [ACTIONS] +

Example Usage: SecRule ARGS "@rx attack" +"phase:1,log,deny" +

Scope: Any +

Version: 2.0.0 +

Every rule must provide one or more variables along with the +operator that should be used to inspect them. If no actions are +provided, the default list will be used. (There is always a default +list, even if one was not explicitly set with SecDefaultAction.) If +there are actions specified in a rule, they will be merged with the +default list to form the final actions that will be used. (The actions +in the rule will overwrite those in the default list.) Refer to +SecDefaultAction for more information. +

+

SecRuleInheritance

+

Description: Configures whether the current context will +inherit the rules from the parent context. +

Syntax: SecRuleInheritance On|Off +

Example Usage: SecRuleInheritance Off +

Scope: Any +

Version: 2.0.0 +

Default: On +

Sometimes when you create a more specific configuration context +(for example using the <Location> container), you may wish to use a + different set of rules than those used in the parent context. By +setting SecRuleInheritance to Off, you prevent the parent rules to be +inherited, which allows you to start from scratch. In ModSecurity 2.5.x +it is not possible to override phase 1 rules from a <Location> +configuration context. There are no limitations in that respect in the +current development version (and there won’t be in the next major +version). +

The possible values are: +

+
  • On: inherit rules from the parent context +
  • Off: do not inherit rules from the parent context +
+
Note 
Configuration contexts are an Apache +concept. Directives <Directory>, <Files>, <Location>, +and <VirtualHost> are all used to create configuration contexts. +For more information, please go to the Apache documentation, under +Configuration Sections [5]. This directive does not affect how configuration + options are inherited. +
+

SecRuleEngine

+

Description: Configures the rules engine. +

Syntax: SecRuleEngine On|Off|DetectionOnly +

Example Usage: SecRuleEngine On +

Scope: Any +

Version: 2.0.0 +

Default: Off +

The possible values are: +

+
  • On: process rules +
  • Off: do not process rules +
  • DetectionOnly: process rules but never intercept +transactions, even when rules are configured to block +
+

SecRuleRemoveById

+

Description: Removes the matching rules from the current +configuration context. +

Syntax: SecRuleRemoveById ID ID RANGE ... +

Example Usage: SecRuleRemoveByID 1 2 "9000-9010" +

Scope: Any +

Version: 2.0.0 +

This directive supports multiple parameters, each of which can be + a rule ID or a range. Parameters that contain spaces must be delimited +using double quotes. +

+
Note 
This directive must be specified after +the rule in which it is disabling. This should be used within local + custom rule files that are processed after third party rule sets. +Example file - modsecurity_crs_60_customrules.conf. +
+

SecRuleRemoveByMsg

+

Description: Removes the matching rules from the current +configuration context. +

Syntax: SecRuleRemoveByMsg REGEX +

Example Usage: SecRuleRemoveByMsg "FAIL" +

Scope: Any +

Version: 2.0.0 +

Normally, you would use SecRuleRemoveById to remove rules, but +that requires the rules to have IDs defined. If they don’t, then you can + remove them with SecRuleRemoveByMsg, which matches a regular expression + against rule messages. +

+
Note 
This directive must be specified after the +rule in which it is disabling. This should be used within local custom +rule files that are processed after third party rule sets. Example file - + modsecurity_crs_60_customrules.conf. +
+

SecRuleRemoveByTag

+

Description: Removes the matching rules from the current +configuration context. +

Syntax: SecRuleRemoveByTab REGEX +

Example Usage: SecRuleRemoveByTag "WEB_ATTACK/XSS" +

Scope: Any +

Version: 2.6 +

Normally, you would use SecRuleRemoveById to remove rules, but +that requires the rules to have IDs defined. If they don’t, then you can + remove them with SecRuleRemoveByTag, which matches a regular expression + against rule tag data. This is useful if you want to disable entire +groups of rules based on tag data. Example tags used in the OWASP +ModSecurity CRS include: +

+
  • AUTOMATION/MALICIOUS +
  • AUTOMATION/MISC +
  • AUTOMATION/SECURITY_SCANNER +
  • LEAKAGE/SOURCE_CODE_ASP_JSP +
  • LEAKAGE/SOURCE_CODE_CF +
  • LEAKAGE/SOURCE_CODE_PHP +
  • WEB_ATTACK/CF_INJECTION +
  • WEB_ATTACK/COMMAND_INJECTION +
  • WEB_ATTACK/FILE_INJECTION +
  • WEB_ATTACK/HTTP_RESPONSE_SPLITTING +
  • WEB_ATTACK/LDAP_INJECTION +
  • WEB_ATTACK/PHP_INJECTION +
  • WEB_ATTACK/REQUEST_SMUGGLING +
  • WEB_ATTACK/SESSION_FIXATION +
  • WEB_ATTACK/SQL_INJECTION +
  • WEB_ATTACK/SSI_INJECTION +
  • WEB_ATTACK/XSS +
+
Note 
This directive must be specified after the +rule in which it is disabling. This should be used within local custom +rule files that are processed after third party rule sets. Example file - + modsecurity_crs_60_customrules.conf. +
+

SecRuleScript

+

Description: This directive creates a special rule that executes a +Lua script to decide whether to match or not. The main difference from +SecRule is that there are no targets nor operators. The script can fetch + any variable from the ModSecurity context and use any (Lua) operator to + test them. The second optional parameter is the list of actions whose +meaning is identical to that of SecRule. +

Syntax: SecRuleScript /path/to/script.lua [ACTIONS] +

Example Usage: SecRuleScript "/path/to/file.lua" +"block" +

Scope: Any +

Version: 2.5.0 +

+
Note 
All Lua scripts are compiled at +configuration time and cached in memory. To reload scripts you must +reload the entire ModSecurity configuration by restarting Apache. +
+

Example script: +

+
-- Your script must define the main entry
+-- point, as below.
+function main()
+    -- Log something at level 1. Normally you shouldn't be
+    -- logging anything, especially not at level 1, but this is
+    -- just to show you can. Useful for debugging.
+    m.log(1, "Hello world!");
+
+    -- Retrieve one variable.
+    local var1 = m.getvar("REMOTE_ADDR");
+
+    -- Retrieve one variable, applying one transformation function.
+    -- The second parameter is a string.
+    local var2 = m.getvar("ARGS", "lowercase");
+
+    -- Retrieve one variable, applying several transformation functions.
+    -- The second parameter is now a list. You should note that m.getvar()
+    -- requires the use of comma to separate collection names from
+    -- variable names. This is because only one variable is returned.
+    local var3 = m.getvar("ARGS.p", { "lowercase", "compressWhitespace" } );
+
+    -- If you want this rule to match return a string
+    -- containing the error message. The message must contain the name
+    -- of the variable where the problem is located.
+    -- return "Variable ARGS:p looks suspicious!"
+
+    -- Otherwise, simply return nil.
+    return nil;
+end
+
+

In this first example we were only retrieving one variable at the +time. In this case the name of the variable is known to you. In many +cases, however, you will want to examine variables whose names you won't + know in advance, for example script parameters. +

Example showing use of m.getvars() to retrieve many variables at +once: +

+
function main()
+    -- Retrieve script parameters.
+    local d = m.getvars("ARGS", { "lowercase", "htmlEntityDecode" } );
+
+    -- Loop through the paramters.
+    for i = 1, #d do
+        -- Examine parameter value.
+        if (string.find(d[i].value, "<script")) then
+            -- Always specify the name of the variable where the
+            -- problem is located in the error message.
+            return ("Suspected XSS in variable " .. d[i].name .. ".");
+        end
+    end
+
+    -- Nothing wrong found.
+    return nil;
+end
+
+
Note 
Go to http://www.lua.org/ + to find more about the Lua programming language. The reference manual +too is available online, at http://www.lua.org/manual/5.1/. +
+
Note 
Lua support is marked as experimental as +the way the progamming interface may continue to evolve while we are +working for the best implementation style. Any user input into the +programming interface is appreciated. +
+

SecRuleUpdateActionById

+

Description: Updates the action list of the specified rule. +

Syntax: SecRuleUpdateActionById RULEID ACTIONLIST +

Example Usage: SecRuleUpdateActionById 12345 +"deny,status:403" +

Scope: Any +

Version: 2.5.0 +

This directive will overwrite the action list of the specified +rule with the actions provided in the second parameter. It has two +limitations: it cannot be used to change the ID or phase of a rule. Only + the actions that can appear only once are overwritten. The actions that + are allowed to appear multiple times in a list, will be appended to the + end of the list. +

+
SecRule ARGS attack "phase:2,id:12345,t:lowercase,log,pass,msg:'Message text'"
+SecRuleUpdateActionById 12345 "t:none,t:compressWhitespace,deny,status:403,msg:'New message text'"
+
+

The effective resulting rule in the previous example will be as +follows: +

+
SecRule ARGS attack "phase:2,id:12345,t:lowercase,t:none,t:compressWhitespace,deny,status:403,msg:'New Message text'"
+
+

The addition of t:none will neutralize any previous transformation +functions specified (t:lowercase, in the example). +

+
Note 
If the target rule is a chained rule, you +must currently specify chain in the SecRuleUpdateActionById action list +as well. This will be fixed in a future version. +
+

SecRuleUpdateTargetById

+

Description: Updates the target (variable) list of the +specified rule. +

Syntax: SecRuleUpdateTargetById RULEID +TARGET1[,TARGET2,TARGET3] REPLACED_TARGET +

Example Usage: SecRuleUpdateTargetById 12345 +"!ARGS:foo" +

Scope: Any +

Version: 2.6 +

This directive will append (or replace) variables to the current +target list of the specified rule with the targets provided in the +second parameter. +

Explicitly Appending Targets +

This is useful for implementing exceptions where you want to +externally update a target list to exclude inspection of specific +variable(s). +

+
SecRule REQUEST_FILENAME|ARGS_NAMES|ARGS|XML:/* "[\;\|\`]\W*?\bmail\b" \
+     "phase:2,rev:'2.1.1',capture,t:none,t:htmlEntityDecode,t:compressWhitespace,t:lowercase,ctl:auditLogParts=+E,block,msg:'System Command Injection',id:'958895',tag:'WEB_ATTACK/COMMAND_INJECTION',tag:'WASCTC/WASC-31',tag:'OWASP_TOP_10/A1',tag:'PCI/6.5.2',logdata:'%{TX.0}',severity:'2',setvar:'tx.msg=%{rule.msg}',setvar:tx.anomaly_score=+%{tx.critical_anomaly_score},setvar:tx.command_injection_score=+%{tx.critical_anomaly_score},setvar:tx.%{rule.id}-WEB_ATTACK/COMMAND_INJECTION-%{matched_var_name}=%
+{tx.0}"
+
+SecRuleUpdateTargetById 958895 !ARGS:email
+
+

The effective resulting rule in the previous example will append the +target to the end of the variable list as follows: +

+
SecRule REQUEST_FILENAME|ARGS_NAMES|ARGS|XML:/*|!ARGS:email "[\;\|\`]\W*?\bmail\b" \
+     "phase:2,rev:'2.1.1',capture,t:none,t:htmlEntityDecode,t:compressWhitespace,t:lowercase,ctl:auditLogParts=+E,block,msg:'System Command Injection',id:'958895',tag:'WEB_ATTACK/COMMAND_INJECTION',tag:'WASCTC/WASC-31',tag:'OWASP_TOP_10/A1',tag:'PCI/6.5.2',logdata:'%{TX.0}',severity:'2',setvar:'tx.msg=%{rule.msg}',setvar:tx.anomaly_score=+%{tx.critical_anomaly_score},setvar:tx.command_injection_score=+%{tx.critical_anomaly_score},setvar:tx.%{rule.id}-WEB_ATTACK/COMMAND_INJECTION-%{matched_var_name}=%
+{tx.0}""
+
+

Explicitly Replacing Targets +

You can also entirely replace the target list to something more +appropriate for your environment. For example, lets say you want to +inspect REQUEST_URI instead of REQUEST_FILENAME, you could do this: +

+
SecRule REQUEST_FILENAME|ARGS_NAMES|ARGS|XML:/* "[\;\|\`]\W*?\bmail\b" \
+     "phase:2,rev:'2.1.1',capture,t:none,t:htmlEntityDecode,t:compressWhitespace,t:lowercase,ctl:auditLogParts=+E,block,msg:'System Command Injection',id:'958895',tag:'WEB_ATTACK/COMMAND_INJECTION',tag:'WASCTC/WASC-31',tag:'OWASP_TOP_10/A1',tag:'PCI/6.5.2',logdata:'%{TX.0}',severity:'2',setvar:'tx.msg=%{rule.msg}',setvar:tx.anomaly_score=+%{tx.critical_anomaly_score},setvar:tx.command_injection_score=+%{tx.critical_anomaly_score},setvar:tx.%{rule.id}-WEB_ATTACK/COMMAND_INJECTION-%{matched_var_name}=%
+{tx.0}"
+
+SecRuleUpdateTargetById 958895 REQUEST_URI REQUEST_FILENAME
+
+

The effective resulting rule in the previous example will append the +target to the end of the variable list as follows: +

+
SecRule REQUEST_URI|ARGS_NAMES|ARGS|XML:/* "[\;\|\`]\W*?\bmail\b" \
+     "phase:2,rev:'2.1.1',capture,t:none,t:htmlEntityDecode,t:compressWhitespace,t:lowercase,ctl:auditLogParts=+E,block,msg:'System Command Injection',id:'958895',tag:'WEB_ATTACK/COMMAND_INJECTION',tag:'WASCTC/WASC-31',tag:'OWASP_TOP_10/A1',tag:'PCI/6.5.2',logdata:'%{TX.0}',severity:'2',setvar:'tx.msg=%{rule.msg}',setvar:tx.anomaly_score=+%{tx.critical_anomaly_score},setvar:tx.command_injection_score=+%{tx.critical_anomaly_score},setvar:tx.%{rule.id}-WEB_ATTACK/COMMAND_INJECTION-%{matched_var_name}=%
+{tx.0}""
+
+

Conditionally Appending Targets +

You could also do the same by using the ctl action. This is +useful if you want to only update the targets for a particular URL +

+
SecRule REQUEST_FILENAME "@streq /path/to/file.php" "phase:1,t:none,nolog,pass,ctl:ruleUpdateTargetById=958895;!ARGS:email"
+
+

Conditionally Replacing Targets +

You could also replace targets using the ctl action. For +example, lets say you want to only inspect ARGS for a particular URL: +

+
SecRule REQUEST_FILENAME "@streq /path/to/file.php" "phase:1,t:none,nolog,pass,ctl:ruleUpdateTargetById=958895;REQUEST_URI;REQUEST_FILENAME"
+
+

SecServerSignature

+

Description: Instructs ModSecurity to change the data +presented in the "Server:" response header token. +

Syntax: SecServerSignature "WEB SERVER SOFTWARE" +

Example Usage: SecServerSignature +"Microsoft-IIS/6.0" +

Scope: Main +

Version: 2.0.0 +

In order for this directive to work, you must set the Apache +ServerTokens directive to Full. ModSecurity will overwrite the server +signature data held in this memory space with the data set in this +directive. If ServerTokens is not set to Full, then the memory space is +most likely not large enough to hold the new data we are looking to +insert. +

+

+ SecStreamInBodyInspection

+

Description: Configures the ability to use stream inspection +(Apache connection level filter) for inbound request data. +

Syntax: SecStreamInBodyInspection On|Off +

Example Usage: SecStreamInBodyInspection On +

Scope: Any +

Version: 2.6.0 +

Default: Off +

This feature enables the creation of the STREAM_INPUT_BODY +variable and is useful in a prequalification ruleset scenario against a +large list of strings. +

+
Note 
This directive provides stream access to +REQUEST_BODY payload data. It does not include REQUEST_URI or +REQUEST_HEADER data. +
+

+ SecStreamOutBodyInspection

+

Description: Configures the ability to use stream inspection +(Apache connection level filter) for outbound request data. +

Syntax: SecStreamOutBodyInspection On|Off +

Example Usage: SecStreamOutBodyInspection On +

Scope: Any +

Version: 2.6.0 +

Default: Off +

This feature enables the creation of the STREAM_OUTPUT_BODY +variable and is useful in two main scenarios: +

+
  1. A prequalification ruleset scenario against a large list of +strings. This helps with performance as buffering the RESPONSE_BODY +data is slow. +
  2. In situations where the response body must be streamed to the +client (buffering breaks the app). +
+
Note 
This directive provides stream access to +RESPONSE_BODY payload data. It does not include RESPONSE_HEADER data. +
+

+SecTmpDir

+

Description: Configures the directory where temporary files +will be created. +

Syntax: SecTmpDir /path/to/dir +

Example Usage: SecTmpDir /tmp +

Scope: Any +

Version: 2.0.0 +

The location specified needs to be writable by the Apache user +process. This is the directory location where ModSecurity will swap data + to disk if it runs out of memory (more data than what was specified in +the SecRequestBodyInMemoryLimit directive) during inspection. +

+

SecUploadDir

+

Description: Configures the directory where intercepted files +will be stored. +

Syntax: SecUploadDir /path/to/dir +

Example Usage: SecUploadDir /tmp +

Scope: Any +

Version: 2.0.0 +

This directory must be on the same filesystem as the temporary +directory defined with SecTmpDir. This directive is used with +SecUploadKeepFiles. +

+

SecUploadFileLimit

+

Description: Configures the maximum number of file uploads +processed in a multipart POST. +

Syntax: SecUploadFileLimit number +

Example Usage: SecUploadFileLimit 10 +

Scope: Any +

Version: 2.5.12 +

The default is set to 100 files, but you are encouraged to reduce + this value. Any file over the limit will not be extracted and the +MULTIPART_FILE_LIMIT_EXCEEDED and MULTIPART_STRICT_ERROR flags will be +set. To prevent bypassing any file checks, you must check for one of +these flags. +

+
Note 
If the limit is exceeded, the part name and + file name will still be recorded in FILES_NAME and FILES, the file size + will be recorded in FILES_SIZES, but there will be no record in +FILES_TMPNAMES as a temporary file was not created. +
+

SecUploadFileMode

+

Description: Configures the mode (permissions) of any uploaded + files using an octal mode (as used in chmod). +

Syntax: SecUploadFileMode octal_mode|"default" +

Example Usage: SecUploadFileMode 0640 +

Scope: Any +

Version: 2.1.6 +

This feature is not available on operating systems not supporting + octal file modes. The default mode (0600) only grants read/write access + to the account writing the file. If access from another account is +needed (using clamd is a good example), then this directive may be +required. However, use this directive with caution to avoid exposing +potentially sensitive data to unauthorized users. Using the value +"default" will revert back to the default setting. +

+
Note 
The process umask may still limit the mode +if it is being more restrictive than the mode set using this directive. +
+

SecUploadKeepFiles

+

Description: Configures whether or not the intercepted files +will be kept after transaction is processed. +

Syntax: SecUploadKeepFiles On|Off|RelevantOnly +

Example Usage: SecUploadKeepFiles On +

Scope: Any +

Version: 2.0.0 +

This directive requires the storage directory to be defined +(using SecUploadDir). +

Possible values are: +

+
  • On - Keep uploaded files. +
  • Off - Do not keep uploaded files. +
  • RelevantOnly - This will keep only those files that +belong to requests that are deemed relevant. +
+

SecWebAppId

+

Description: Creates an application namespace, allowing for +separate persistent session and user storage. +

Syntax: SecWebAppId "NAME" +

Example Usage: SecWebAppId "WebApp1" +

Scope: Any +

Version: 2.0.0 +

Default: default +

Application namespaces are used to avoid collisions between +session IDs and user IDs when multiple applications are deployed on the +same server. If it isn’t used, a collision between session IDs might +occur. +

+
<VirtualHost *:80> 
+ServerName app1.example.com 
+SecWebAppId "App1" ...
+</VirtualHost>
+
+<VirtualHost *:80> 
+ServerName app2.example.com 
+SecWebAppId "App2" ...
+</VirtualHost>
+
+

In the two examples configurations shown, SecWebAppId is being used +in conjunction with the Apache VirtualHost directives. Applications +namespace information is also recorded in the audit logs (using the +WebApp-Info header of the H part). +

+

Processing Phases

+

ModSecurity 2.x allows rules to be placed in one of the following +five phases of the Apache request cycle: +

+
  • Request headers (REQUEST_HEADERS) +
  • Request body (REQUEST_BODY) +
  • Response headers (RESPONSE_HEADERS) +
  • Response body (RESPONSE_BODY) +
  • Logging (LOGGING) +
+

Below is a diagram of the standard Apache Request Cycle. In the +diagram, the 5 ModSecurity processing phases are shown. +

+

In order to select the phase a rule executes during, use the +phase action either directly in the rule or in using the +SecDefaultAction directive: +

+
SecDefaultAction "log,pass,phase:2"
+SecRule REQUEST_HEADERS:Host "!^$" "deny,phase:1"
+
+
Note 
The data available in each phase is +cumulative. This means that as you move onto later phases, you have +access to more and more data from the transaction. +
Note 
Keep in mind that rules are executed +according to phases, so even if two rules are adjacent in a +configuration file, but are set to execute in different phases, they +would not happen one after the other. The order of rules in the +configuration file is important only within the rules of each phase. +This is especially important when using the skip and skipAfter actions. +
+
Note 
The LOGGING phase is special. It is +executed at the end of each transaction no matter what happened in the +previous phases. This means it will be processed even if the request was + intercepted or the allow action was used to pass the transaction +through. +
+

Phase Request Headers

+

Rules in this phase are processed immediately after Apache completes +reading the request headers (post-read-request phase). At this point the + request body has not been read yet, meaning not all request arguments +are available. Rules should be placed in this phase if you need to have +them run early (before Apache does something with the request), to do +something before the request body has been read, determine whether or +not the request body should be buffered, or decide how you want the +request body to be processed (e.g. whether to parse it as XML or not). +

+
Note 
Rules in this phase can not leverage Apache + scope directives (Directory, Location, LocationMatch, etc...) as the +post-read-request hook does not have this information yet. The exception + here is the VirtualHost directive. If you want to use ModSecurity rules + inside Apache locations, then they should run in Phase 2. Refer to the +Apache Request Cycle/ModSecurity Processing Phases diagram. +
+

Phase Request Body

+

This is the general-purpose input analysis phase. Most of the +application-oriented rules should go here. In this phase you are +guaranteed to have received the request arguments (provided the request +body has been read). ModSecurity supports three encoding types for the +request body phase: +

+
  • application/x-www-form-urlencoded - used to transfer form + data +
  • multipart/form-data - used for file transfers +
  • text/xml - used for passing XML data +
+

Other encodings are not used by most web applications. +

+
Note 
In order to access the Request Body phase +data, you must have SecRequestBodyAccess set to On. +
+

Phase Response Headers

+

This phase takes place just before response headers are sent back to +the client. Run here if you want to observe the response before that +happens, and if you want to use the response headers to determine if you + want to buffer the response body. Note that some response status codes +(such as 404) are handled earlier in the request cycle by Apache and my +not be able to be triggered as expected. Additionally, there are some +response headers that are added by Apache at a later hook (such as Date, + Server and Connection) that we would not be able to trigger on or +sanitize. This should work appropriately in a proxy setup or within +phase:5 (logging). +

+

Phase Response Body

+

This is the general-purpose output analysis phase. At this point you +can run rules against the response body (provided it was buffered, of +course). This is the phase where you would want to inspect the outbound +HTML for information disclosure, error messages or failed authentication + text. +

+
Note 
In order to access the Response Body phase +data, you must have SecResponseBodyAccess set to On +
+

Phase Logging

+

This phase is run just before logging takes place. The rules placed +into this phase can only affect how the logging is performed. This phase + can be used to inspect the error messages logged by Apache. You cannot +deny/block connections in this phase as it is too late. This phase also +allows for inspection of other response headers that weren't available +during phase:3 or phase:4. Note that you must be careful not to inherit a + disruptive action into a rule in this phase as this is a configuration +error in ModSecurity 2.5.0 and later versions +

+

+Variables

+

The following variables are supported in ModSecurity 2.x: +

+

ARGS

+

ARGS is a collection and can be used on its own (means all arguments +including the POST Payload), with a static parameter (matches arguments +with that name), or with a regular expression (matches all arguments +with name that matches the regular expression). To look at only the +query string or body arguments, see the ARGS_GET and ARGS_POST +collections. +

Some variables are actually collections, which are expanded into +more variables at runtime. The following example will examine all +request arguments: +

SecRule ARGS dirty +

Sometimes, however, you will want to look only at parts of a +collection. This can be achieved with the help of the selection +operator(colon). The following example will only look at the arguments +named p (do note that, in general, requests can contain multiple +arguments with the same name): +

SecRule ARGS:p dirty +

It is also possible to specify exclusions. The following will +examine all request arguments for the word dirty, except the ones named z + (again, there can be zero or more arguments named z): +

SecRule ARGS|!ARGS:z dirty +

There is a special operator that allows you to count how many +variables there are in a collection. The following rule will trigger if +there is more than zero arguments in the request (ignore the second +parameter for the time being): +

SecRule &ARGS !^0$ +

And sometimes you need to look at an array of parameters, each +with a slightly different name. In this case you can specify a regular +expression in the selection operator itself. The following rule will +look into all arguments whose names begin with id_: +

SecRule ARGS:/^id_/ dirty +

+
Note 
Using ARGS:p will not result in any +invocations against the operator if argument p does not exist. +
+

In ModSecurity 1.X, the ARGS variable stood for QUERY_STRING + +POST_PAYLOAD, whereas now it expands to individual variables. +

+

ARGS_COMBINED_SIZE

+

Contains the combined size of all request parameters. Files are +excluded from the calculation. This variable can be useful, for example, + to create a rule to ensure that the total size of the argument data is +below a certain threshold. The following rule detects a request whose +para- meters are more than 2500 bytes long: +

SecRule ARGS_COMBINED_SIZE "@gt 2500" +

+

+ARGS_GET

+

ARGS_GET is similar to ARGS, but contains only query string +parameters. +

+

ARGS_GET_NAMES

+

ARGS_GET_NAMES is similar to ARGS_NAMES, but contains only the names +of query string parameters. +

+

+ ARGS_NAMES

+

Contains all request parameter names. You can search for specific +parameter names that you want to inspect. In a positive policy scenario, + you can also whitelist (using an inverted rule with the exclamation +mark) only the authorized argument names. +This example rule allows only two argument names: p and a: +

SecRule ARGS_NAMES "!^(p|a)$" +

+

+ARGS_POST

+

ARGS_POST is similar to ARGS, but only contains arguments from the +POST body. +

+

ARGS_POST_NAMES

+

ARGS_POST_NAMES is similar to ARGS_NAMES, but contains only the names + of request body parameters. +

+

+AUTH_TYPE

+

This variable holds the authentication method used to validate a +user, if any of the methods built into HTTP are used. In a reverse-proxy + deployment, this information will not be available if the +authentication is handled in the backend web server. +

SecRule AUTH_TYPE "Basic" +

+

+DURATION

+

Contains the number of milliseconds elapsed since the beginning of +the current transaction. Available starting with 2.6.0. +

+

ENV

+

Collection that provides access to environment variables set by +ModSecurity. Requires a single parameter to specify the name of the +desired variable. +

+
# Set environment variable 
+SecRule REQUEST_FILENAME "printenv" \
+"phase:2,pass,setenv:tag=suspicious" 
+
+# Inspect environment variable
+SecRule ENV:tag "suspicious" 
+
+
Note 
Use setenv to set environment variables to +be accessed by Apache. +
+

FILES

+

Contains a collection of original file names (as they were called on +the remote user’s filesys- tem). Available only on inspected +multipart/form-data requests. +

SecRule FILES "@rx \.conf$" +

+
Note 
Only available if files were extracted from + the request body. +
+

FILES_COMBINED_SIZE

+

Contains the total size of the files transported in request body. +Available only on inspected multipart/form-data requests. +

SecRule FILES_COMBINED_SIZE "@gt 100000" +

+

FILES_NAMES

+

Contains a list of form fields that were used for file upload. +Available only on inspected multipart/form-data requests. +

SecRule FILES_NAMES "^upfile$" +

+

FILES_SIZES

+

Contains a list of individual file sizes. Useful for implementing a +size limitation on individual uploaded files. Available only on +inspected multipart/form-data requests. +

SecRule FILES_SIZES "@gt 100" +

+

FILES_TMPNAMES

+

Contains a list of temporary files’ names on the disk. Useful when +used together with @inspectFile. Available only on inspected +multipart/form-data requests. +

SecRule FILES_TMPNAMES "@inspectFile +/path/to/inspect_script.pl" +

+

GEO

+

GEO is a collection populated by the results of the last @geoLookup +operator. The collection can be used to match geographical fields looked + from an IP address or hostname. +

Available since ModSecurity 2.5.0. +

Fields: +

+
  • COUNTRY_CODE: Two character country code. EX: US, GB, etc. +
  • COUNTRY_CODE3: Up to three character country code. +
  • COUNTRY_NAME: The full country name. +
  • COUNTRY_CONTINENT: The two character continent that the country + is located. EX: EU +
  • REGION: The two character region. For US, this is state. For +Canada, providence, etc. +
  • CITY: The city name if supported by the database. +
  • POSTAL_CODE: The postal code if supported by the database. +
  • LATITUDE: The latitude if supported by the database. +
  • LONGITUDE: The longitude if supported by the database. +
  • DMA_CODE: The metropolitan area code if supported by the +database. (US only) +
  • AREA_CODE: The phone system area code. (US only) +
+

Example: +

+
SecGeoLookupDb /usr/local/geo/data/GeoLiteCity.dat
+...
+SecRule REMOTE_ADDR "@geoLookup" "chain,drop,msg:'Non-GB IP address'"
+SecRule GEO:COUNTRY_CODE "!@streq GB"
+
+

HIGHEST_SEVERITY

+

This variable holds the highest severity of any rules that have +matched so far. Severities are numeric values and thus can be used with +comparison operators such as @lt, and so on. A value of 255 indicates +that no severity has been set. +

SecRule HIGHEST_SEVERITY "@le 2" \ +"phase:2,deny,status:500,msg:'severity %{HIGHEST_SEVERITY}'" +

+
Note 
Higher severities have a lower numeric +value. +
+

MATCHED_VAR

+

This variable holds the value of the most-recently matched variable. +It is similar to the TX:0, but it is automatically supported by all +operators and there is no need to specify the capture action. +

+
SecRule ARGS pattern chain,deny
+  SecRule MATCHED_VAR "further scrutiny"
+
+
Note 
Be aware that this variable holds data for +the last operator match. This means that if there are +more than one matches, only the last one will be populated. Use +MATCHED_VARS variable if you want all matches. +
+

MATCHED_VARS

+

Similar to MATCHED_VAR except that it is a collection of all +matches for the current operator check. +

+
SecRule ARGS pattern "chain,deny"
+  SecRule MATCHED_VARS "@eq ARGS:param"
+
+

MATCHED_VAR_NAME

+

This variable holds the full name of the variable that was matched +against. +

+
SecRule ARGS pattern "chain,deny"
+  SecRule MATCHED_VAR_NAME "@eq ARGS:param"
+
+
Note 
Be aware that this variable holds data for +the last operator match. This means that if there are +more than one matches, only the last one will be populated. Use +MATCHED_VARS_NAMES variable if you want all matches. +
+

MATCHED_VARS_NAMES

+

Similar to MATCHED_VAR_NAME except that it is a collection of all + matches for the current operator check. +

+
SecRule ARGS pattern "chain,deny"
+  SecRule MATCHED_VARS_NAMES "@eq ARGS:param"
+
+

MODSEC_BUILD

+

This variable holds the ModSecurity build number. This variable is +intended to be used to check the build number prior to using a feature +that is available only in a certain build. Example: +

+
SecRule MODSEC_BUILD "!@ge 02050102" "skipAfter:12345"
+SecRule ARGS "@pm some key words" "id:12345,deny,status:500"
+
+

MULTIPART_CRLF_LF_LINES

+

This flag variable will be set to 1 whenever a multi-part request +uses mixed line terminators. The multipart/form-data RFC requires CRLF +sequence to be used to terminate lines. Since some client +implementations use only LF to terminate lines you might want to allow +them to proceed under certain circumstances (if you want to do this you +will need to stop using MULTIPART_STRICT_ERROR and check each multi-part + flag variable individually, avoiding MULTIPART_LF_LINE). However, +mixing CRLF and LF line terminators is dangerous as it can allow for +evasion. Therefore, in such cases, you will have to add a check for +MULTIPART_CRLF_LF_LINES. +

+

MULTIPART_STRICT_ERROR

+

MULTIPART_STRICT_ERROR will be set to 1 when any of the following +variables is also set to 1: REQBODY_PROCESSOR_ERROR, +MULTIPART_BOUNDARY_QUOTED, MULTIPART_BOUNDARY_WHITESPACE, +MULTIPART_DATA_BEFORE, MULTIPART_DATA_AFTER, MULTIPART_HEADER_FOLDING, +MULTIPART_LF_LINE, MULTIPART_SEMICOLON_MISSING MULTIPART_INVALID_QUOTING + MULTIPART_INVALID_HEADER_FOLDING MULTIPART_FILE_LIMIT_EXCEEDED. Each of + these variables covers one unusual (although sometimes legal) aspect of + the request body in multipart/form-data format. Your policies should +always contain a rule to check either this variable (easier) or one or +more individual variables (if you know exactly what you want to +accomplish). Depending on the rate of false positives and your default +policy you should decide whether to block or just warn when the rule is +triggered. +

The best way to use this variable is as in the example below: +

+
SecRule MULTIPART_STRICT_ERROR "!@eq 0" \
+"phase:2,t:none,log,deny,msg:'Multipart request body \
+failed strict validation: \
+PE %{REQBODY_PROCESSOR_ERROR}, \
+BQ %{MULTIPART_BOUNDARY_QUOTED}, \
+BW %{MULTIPART_BOUNDARY_WHITESPACE}, \
+DB %{MULTIPART_DATA_BEFORE}, \
+DA %{MULTIPART_DATA_AFTER}, \
+HF %{MULTIPART_HEADER_FOLDING}, \
+LF %{MULTIPART_LF_LINE}, \
+SM %{MULTIPART_SEMICOLON_MISSING}, \
+IQ %{MULTIPART_INVALID_QUOTING}, \
+IQ %{MULTIPART_INVALID_HEADER_FOLDING}, \
+FE %{MULTIPART_FILE_LIMIT_EXCEEDED}'"
+
+

The multipart/form-data parser was upgraded in ModSecurity v2.1.3 to +actively look for signs of evasion. Many variables (as listed above) +were added to expose various facts discovered during the parsing +process. The MULTIPART_STRICT_ERROR variable is handy to check on all +abnormalities at once. The individual variables allow detection to be +fine-tuned according to your circumstances in order to reduce the number + of false positives. +

+

+ MULTIPART_UNMATCHED_BOUNDARY

+

Set to 1 when, during the parsing phase of a multipart/request-body, +ModSecurity encounters what feels like a boundary but it is not. Such an + event may occur when evasion of ModSecurity is attempted. +

The best way to use this variable is as in the example below: +

+
SecRule MULTIPART_UNMATCHED_BOUNDARY "!@eq 0" \
+"phase:2,t:none,log,deny,msg:'Multipart parser detected a possible unmatched boundary.'"
+
+

Change the rule from blocking to logging-only if many false positives + are encountered. +

+

+PATH_INFO

+

Contains the extra request URI information, also known as path info. +(For example, in the URI /index.php/123, /123 is the path info.) +Available only in embedded deployments. +

SecRule PATH_INFO "^/(bin|etc|sbin|opt|usr)" +

+

PERF_COMBINED

+

Contains the time, in microseconds, spent in ModSecurity during the +current transaction. The value in this variable is arrived to by adding +all the performance variables except PERF_SREAD (the time spent reading +from persistent storage is already included in the phase measurements). +Available starting with 2.6. +

+

+PERF_GC

+

Contains the time, in microseconds, spent performing garbage +collection. Available starting with 2.6. +

+

PERF_LOGGING

+

Contains the time, in microseconds, spent in audit logging. This +value is known only after the handling of a transaction is finalized, +which means that it can only be logged using mod_log_config and +the %{VARNAME}M syntax. Available starting with 2.6. +

+

PERF_PHASE1

+

Contains the time, in microseconds, spent processing phase 1. +Available starting with 2.6. +

+

PERF_PHASE2

+

Contains the time, in microseconds, spent processing phase 2. +Available starting with 2.6. +

+

PERF_PHASE3

+

Contains the time, in microseconds, spent processing phase 3. +Available starting with 2.6. +

+

PERF_PHASE4

+

Contains the time, in microseconds, spent processing phase 4. +Available starting with 2.6. +

+

PERF_PHASE5

+

Contains the time, in microseconds, spent processing phase 5. +Available starting with 2.6. +

+

+ PERF_SREAD

+

Contains the time, in microseconds, spent reading from persistent +storage. Available starting with 2.6. +

+

PERF_SWRITE

+

Contains the time, in microseconds, spent writing to persistent +storage. Available starting with 2.6. +

+

QUERY_STRING

+

Contains the query string part of a request URI. The value in +QUERY_STRING is always provided raw, without URL decoding taking place. +

SecRule QUERY_STRING "attack" +

+

REMOTE_ADDR

+

This variable holds the IP address of the remote client. +

SecRule REMOTE_ADDR "@ipMatch 192.168.1.101" +

+

REMOTE_HOST

+

If the Apache directive HostnameLookups is set to On, then this +variable will hold the remote hostname resolved through DNS. If the +directive is set to Off, this variable it will hold the remote IP +address (same as REMOTE_ADDR). Possible uses for this variable would be +to deny known bad client hosts or network blocks, or conversely, to +allow in authorized hosts. +

SecRule REMOTE_HOST "\.evil\.network\org$" +

+

REMOTE_PORT

+

This variable holds information on the source port that the client +used when initiating the connection to our web server. +

In the following example, we are evaluating to see whether the +REMOTE_PORT is less than 1024, which would indicate that the user is a +privileged user: +

SecRule REMOTE_PORT "@lt 1024" +

+

REMOTE_USER

+

This variable holds the username of the authenticated user. If there +are no password access controls in place (Basic or Digest +authentication), then this variable will be empty. +

SecRule REMOTE_USER "^admin$" +

+
Note 
In a reverse-proxy deployment, this +information will not be available if the authentication is +
+

handled in the backend web server. +

+

REQBODY_PROCESSOR

+

Contains the name of the currently used request body processor. The +possible values are URLENCODED, MULTIPART, and XML. +

+
SecRule REQBODY_PROCESSOR "^XML$ chain 
+  SecRule XML "@validateDTD /opt/apache-frontend/conf/xml.dtd"
+
+

REQBODY_PROCESSOR_ERROR

+

Contains the status of the request body processor used for request +body parsing. The values can be 0 (no error) or 1 (error). This variable + will be set by request body processors (typically the +multipart/request-data parser or the XML parser) when they fail to do +their work. +

SecRule REQBODY_PROCESSOR_ERROR "@eq 1" deny,phase:2 +

+
Note 
Your policies must have a rule to check for + request body processor errors at the very beginning of phase 2. Failure + to do so will leave the door open for impedance mismatch attacks. It is + possible, for example, that a payload that cannot be parsed by +ModSecurity can be successfully parsed by more tolerant parser operating + in the application. If your policy dictates blocking, then you should +reject the request if error is detected. When operating in +detection-only mode, your rule should alert with high severity when +request body processing fails. +
+

+ REQBODY_PROCESSOR_ERROR_MSG

+

If there’s been an error during request body parsing, the variable +will contain the following error message: +

SecRule REQBODY_PROCESSOR_ERROR_MSG "failed to parse" +

+

REQUEST_BASENAME

+

This variable holds just the filename part of REQUEST_FILENAME (e.g., + index.php). +

SecRule REQUEST_BASENAME "^login\.php$" +phase:2,t:none,t:lowercase +

+
Note 
Please note that anti-evasion +transformations are not applied to this variable by default. +REQUEST_BASENAME will recognise both / and \ as path separators. You +should understand that the value of this variable depends on what was +provided in request, and that it does not have to correspond to the +resource (on disk) that will be used by the web server. +
+

REQUEST_BODY

+

Holds the raw request body. This variable is available only if the +URLENCODED request body processor was used, which will occur by default +when the application/x-www-form-urlencoded content type is detected, or +if the use of the URLENCODED request body parser was forced. +

SecRule REQUEST_BODY +"^username=\w{25,}\&password=\w{25,}\&Submit\=login$" +

As of 2.5.7, it is possible to force the presence of the +REQUEST_BODY variable, but only when there is no request body processor +defined using the ctl:forceRequestBodyVariable option in the +REQUEST_HEADERS phase. +

+

REQUEST_BODY_LENGTH

+

Contains the number of bytes read from a request body. Available +starting with v2.6 +

+

REQUEST_COOKIES

+

This variable is a collection of all of request cookies (values +only). Example: the following example is using the Ampersand special +operator to count how many variables are in the collection. In this +rule, it would trigger if the request does not include any Cookie +headers. +

SecRule &REQUEST_COOKIES "@eq 0" +

+

REQUEST_COOKIES_NAMES

+

This variable is a collection of the names of all request cookies. +For example, the following rule will trigger if the JSESSIONID cookie is + not present: +

SecRule &REQUEST_COOKIES_NAMES:JSESSIONID "@eq 0" +

+

REQUEST_FILENAME

+

This variable holds the relative request URL without the query string + part (e.g., /index.php). +

SecRule REQUEST_FILENAME "^/cgi-bin/login\.php$" +phase:2,t:none,t:normalizePath +

+
Note 
Please note that anti-evasion +transformations are not used on REQUEST_FILENAME, which means that you +will have to specify them in the rules that use this variable. +
+

REQUEST_HEADERS

+

This variable can be used as either a collection of all of the +request headers or can be used to inspect selected headers (by using the + REQUEST_HEADERS:Header-Name syntax). +

SecRule REQUEST_HEADERS:Host "^[\d\.]+$" +"deny,log,status:400,msg:'Host header is a numeric IP address'" +

+

REQUEST_HEADERS_NAMES

+

This variable is a collection of the names of all of the request +headers. +

SecRule REQUEST_HEADERS_NAMES "^x-forwarded-for" +"log,deny,status:403,t:lowercase,msg:'Proxy Server Used'" +

+

REQUEST_LINE

+

This variable holds the complete request line sent to the server +(including the request method and HTTP version information). +

+
# Allow only POST, GET and HEAD request methods, as well as only
+# the valid protocol versions 
+SecRule REQUEST_LINE "!(^((?:(?:POS|GE)T|HEAD))|HTTP/(0\.9|1\.0|1\.1)$)" "phase:1,log,block,t:none"
+
+

REQUEST_METHOD

+

This variable holds the request method used in the transaction. +

SecRule REQUEST_METHOD "^(?:CONNECT|TRACE)$" "t:none" +

+

REQUEST_PROTOCOL

+

This variable holds the request protocol version information. +

SecRule REQUEST_PROTOCOL "!^HTTP/(0\.9|1\.0|1\.1)$" +

+

REQUEST_URI

+

This variable holds the full request URL including the query string +data (e.g., /index.php? p=X). However, it will never contain a domain +name, even if it was provided on the request line. +

SecRule REQUEST_URI "attack" +"phase:1,t:none,t:urlDecode,t:lowercase,t:normalizePath" +

+
Note 
Please note that anti-evasion +transformations are not used on REQUEST_URI, which means that you will +have to specify them in the rules that use this variable. +
+

REQUEST_URI_RAW

+

Same as REQUEST_URI but will contain the domain name if it was +provided on the request line (e.g., http://www.example.com/index.php?p=X). +

SecRule REQUEST_URI_RAW "http:/" +"phase:1,t:none,t:urlDecode,t:lowercase,t:normalizePath" +

+
Note 
Please note that anti-evasion +transformations are not used on REQUEST_URI_RAW, which means that you +will have to specify them in the rules that use this variable. +
+

RESPONSE_BODY

+

This variable holds the data for the response body, but only when +response body buffering is enabled. +

SecRule RESPONSE_BODY "ODBC Error Code" "phase:4,t:none" +

+

RESPONSE_CONTENT_LENGTH

+

Response body length in bytes. Can be available starting with phase +3, but it does not have to be (as the length of response body is not +always known in advance). If the size is not known, this variable will +contain a zero. If RESPONSE_CONTENT_LENGTH contains a zero in phase 5 +that means the actual size of the response body was 0. The value of this + variable can change between phases if the body is modified. For +example, in embedded mode, mod_deflate can compress the response body +between phases 4 and 5. +

+

RESPONSE_CONTENT_TYPE

+

Response content type. Available only starting with phase 3. The +value available in this variable is taken directly from the internal +structures of Apache, which means that it may contain the information +that is not yet available in response headers. In embedded deployments, +you should always refer to this variable, rather than to +RESPONSE_HEADERS:Content-Type. +

+

RESPONSE_HEADERS

+

This variable refers to response headers, in the same way as +REQUEST_HEADERS does to request headers. +

SecRule RESPONSE_HEADERS:X-Cache "MISS" +

This variable may not have access to some headers when running in + embedded mode. Headers such as Server, Date, Connection, and +Content-Type could be added just prior to sending the data to the +client. This data should be available in phase 5 or when deployed in +proxy mode. +

+

RESPONSE_HEADERS_NAMES

+

This variable is a collection of the response header names. +

SecRule RESPONSE_HEADERS_NAMES "Set-Cookie" +"phase:3,t:none" +

The same limitations apply as the ones discussed in +RESPONSE_HEADERS. +

+

RESPONSE_PROTOCOL

+

This variable holds the HTTP response protocol information. +

SecRule RESPONSE_PROTOCOL "^HTTP\/0\.9" "phase:3,t:none" +

+

RESPONSE_STATUS

+

This variable holds the HTTP response status code: +

SecRule RESPONSE_STATUS "^[45]" "phase:3,t:none" +

This variable may not work as expected in embedded mode, as +Apache sometimes handles certain requests differently, and without +invoking ModSecurity (all other modules). +

+

RULE

+

This is a special collection that provides access to the id, rev, +severity, logdata, and msg fields of the rule that triggered the action. + It can be used to refer to only the same rule in which it resides. +

SecRule &REQUEST_HEADERS:Host "@eq 0" +"log,deny,setvar:tx.varname=%{RULE.id}" +

+

SCRIPT_BASENAME

+

This variable holds just the local filename part of SCRIPT_FILENAME. +

SecRule SCRIPT_BASENAME "^login\.php$" +

+
Note 
Not available in proxy mode. +
+

SCRIPT_FILENAME

+

This variable holds the full internal path to the script that will be + used to serve the request. +

SecRule SCRIPT_FILENAME +"^/usr/local/apache/cgi-bin/login\.php$" +

+
Note 
Not available in proxy mode. +
+

+ SCRIPT_GID

+

This variable holds the numerical identifier of the group owner of +the script. +

SecRule SCRIPT_GID "!^46$" +

+
Note 
Not available in proxy mode. +
+

SCRIPT_GROUPNAME

+

This variable holds the name of the group owner of the script. +

SecRule SCRIPT_GROUPNAME "!^apache$" +

+
Note 
Not available in proxy mode. +
+

SCRIPT_MODE

+

This variable holds the script’s permissions mode data (e.g., 644). +

+
# Do not allow scripts that can be written to
+SecRule SCRIPT_MODE "^(2|3|6|7)$"
+
+
Note 
Not available in proxy mode. +
+

+ SCRIPT_UID

+

This variable holds the numerical identifier of the owner of the +script. +

+
# Do not run any scripts that are owned 
+# by Apache (Apache's user id is 46) 
+SecRule SCRIPT_UID "!^46$"
+
+
Note 
Not available in proxy mode. +
+

SCRIPT_USERNAME

+

This variable holds the username of the owner of the script. +

+
# Do not run any scripts owned by Apache SecRule 
+SCRIPT_USERNAME "^apache$"
+
+
Note 
Not available in proxy mode. +
+

SERVER_ADDR

+

This variable contains the IP address of the server. +

SecRule SERVER_ADDR "@ipMatch 192.168.1.100" +

+

SERVER_NAME

+

This variable contains the transaction’s hostname or IP address, +taken from the request itself (which means that, in principle, it should + not be trusted). +

SecRule SERVER_NAME "hostname\.com$" +

+

SERVER_PORT

+

This variable contains the local port that the web server (or reverse + proxy) is listening on. +

SecRule SERVER_PORT "^80$" +

+

+SESSION

+

This variable is a collection that contains session information. It +becomes available only after setsid is executed. +

The following example shows how to initialize SESSION using +setsid, how to use setvar to increase the SESSION.score values, how to +set the SESSION.blocked variable, and finally, how to deny the +connection based on the SESSION:blocked value: +

+
# Initialize session storage 
+SecRule REQUEST_COOKIES:PHPSESSID !^$ "phase:2,nolog,pass,setsid:%{REQUEST_COOKIES.PHPSESSID}"
+
+# Increment session score on attack 
+SecRule REQUEST_URI "^/cgi-bin/finger$" "phase:2,t:none,t:lowercase,t:normalizePath,pass,setvar:SESSION.score=+10" 
+
+# Detect too many attacks in a session
+SecRule SESSION:score "@gt 50" "phase:2,pass,setvar:SESSION.blocked=1"
+
+# Enforce session block 
+SecRule SESSION:blocked "@eq 1" "phase:2,deny,status:403"
+
+

+SESSIONID

+

This variable contains the value set with setsid. See SESSION (above) + for a complete example. +

+

STREAM_INPUT_BODY

+

This variable is created by a Connection-Level Filter hook in Apache +and give access to the raw request body content. This variable is best +used for two use-cases: +

+
  1. For fast pattern matching - using @pm/@pmf to prequalify large +text strings against the data. This is more performant vs. using +REQUEST_BODY/ARGS_POST/ARGS_POST_NAMES as it happens before ModSecurity +parsing/buffering in phase:2 variable population. +
  2. For data substitution - using @rsub against this variable +allows you to manipulate live request body data. Example - to remove +offending payloads or to substitute benign data. +
+
Note 
You must enable the +SecStreamInBodyInspection directive +
+

STREAM_OUTPUT_BODY

+

This variable is created by a Connection-Level Filter hook in Apache +and give access to the raw response body content. This variable is best + used for two use-cases: +

+
  1. For fast pattern matching - using @pm/@pmf to prequalify large +text strings against the data. This is more performant vs. using +RESPONSE_BODY as it happens before ModSecurity parsing/buffering in +phase:2 variable population. +
  2. For data substitution - using @rsub against this variable +allows you to manipulate live request body data. Example - to remove +offending payloads or to substitute benign data. +
+
Note 
You must enable the +SecStreamOutBodyInspection directive +
+

TIME

+

This variable holds a formatted string representing the time +(hour:minute:second). +

SecRule TIME "^(([1](8|9))|([2](0|1|2|3))):\d{2}:\d{2}$" +

+

+TIME_DAY

+

This variable holds the current date (1–31). The following rule +triggers on a transaction that’s happening anytime between the 10th and +20th in a month: +

SecRule TIME_DAY "^(([1](0|1|2|3|4|5|6|7|8|9))|20)$" +

+

+ TIME_EPOCH

+

This variable holds the time in seconds since 1970. +

+

+TIME_HOUR

+

This variable holds the current hour value (0–23). The following rule + triggers when a request is made “off hours”: +

SecRule TIME_HOUR "^(0|1|2|3|4|5|6|[1](8|9)|[2](0|1|2|3))$" +

+

+TIME_MIN

+

This variable holds the current minute value (0–59). The following +rule triggers during the last half hour of every hour: +

SecRule TIME_MIN "^(3|4|5)" +

+

+TIME_MON

+

This variable holds the current month value (0–11). The following +rule matches if the month is either November (value 10) or December +(value 11): +

SecRule TIME_MON "^1" +

+

+TIME_SEC

+

This variable holds the current second value (0–59). +

SecRule TIME_SEC "@gt 30" +

+

+TIME_WDAY

+

This variable holds the current weekday value (0–6). The following +rule triggers only on Satur- day and Sunday: +

SecRule TIME_WDAY "^(0|6)$" +

+

+TIME_YEAR

+

This variable holds the current four-digit year value. +

SecRule TIME_YEAR "^2006$" +

+

TX

+

This is the transient transaction collection, which is used to store +pieces of data, create a transaction anomaly score, and so on. The +variables placed into this collection are available only until the +transaction is complete. +

+
# Increment transaction attack score on attack 
+SecRule ARGS attack "phase:2,nolog,pass,setvar:TX.score=+5"
+
+# Block the transactions whose scores are too high 
+SecRule TX:SCORE "@gt 20" "phase:2,log,deny"
+
+

Some variable names in the TX collection are reserved and cannot be +used: +

+
  • TX:0: the matching value when using the @rx or @pm operator with + the capture action +
  • TX:1-TX:9: the captured subexpression value when using the @rx +operator with capturing parens and the capture action +
  • TX:MSC_.*: ModSecurity processing flags +
  • MSC_PCRE_LIMITS_EXCEEDED: Set to nonzero if PCRE match limits +are exceeded. See SecPcreMatchLimit and SecPcreMatchLimitRecursion for +more information. +
+

+UNIQUE_ID

+

This variable holds the data created by mod_unique_id [6]. This module provides a magic token for each +request which is guaranteed to be unique across "all" requests under +very specific conditions. The unique identifier is even unique across +multiple machines in a properly configured cluster of machines. The +environment variable UNIQUE_ID is set to the identifier for each +request. The UNIQUE_ID environment variable is constructed by encoding +the 112-bit (32-bit IP address, 32 bit pid, 32 bit time stamp, 16 bit +counter) quadruple using the alphabet [A-Za-z0-9@-] in a manner similar +to MIME base64 encoding, producing 19 characters. +

+

URLENCODED_ERROR

+

This variable is created when an invalid URL encoding is encountered +during the parsing of a query string (on every request) or during the +parsing of an application/x-www-form-urlencoded request body (only on +the requests that use the URLENCODED request body processor). +

+

USERID

+

This variable contains the value set with setuid. +

+
# Initialize user tracking
+SecAction "nolog,pass,setuid:%{REMOTE_USER}" 
+
+# Is the current user the administrator?
+SecRule USERID "admin"
+
+

+WEBAPPID

+

This variable contains the current application name, which is set in +configuration using SecWebAppId. +

+

WEBSERVER_ERROR_LOG

+

Contains zero or more error messages produced by the web server. This + variable is best accessed from phase 5 (logging). +

SecRule WEBSERVER_ERROR_LOG "File does not exist" +"phase:5,t:none,nolog,pass,setvar:TX.score=+5" +

+

XML

+

Special collection used to interact with the XML parser. It can be +used standalone as a target for the validateDTD and validateSchema +operator. Otherwise, it must contain a valid XPath expression, which +will then be evaluated against a previously parsed XML DOM tree. +

+
SecDefaultAction log,deny,status:403,phase:2
+SecRule REQUEST_HEADERS:Content-Type ^text/xml$ "phase:1,t:lowercase,nolog,pass,ctl:requestBodyProcessor=XML"
+SecRule REQBODY_PROCESSOR "!^XML$" skipAfter:12345
+
+SecRule XML:/employees/employee/name/text() Fred
+SecRule XML:/xq:employees/employee/name/text() Fred "id:12345,xmlns:xq=http://www.example.com/employees"
+
+

The first XPath expression does not use namespaces. It would match +against payload such as this one: +

+
<employees>
+    <employee>
+        <name>Fred Jones</name>
+        <address location="home">
+            <street>900 Aurora Ave.</street>
+            <city>Seattle</city>
+            <state>WA</state>
+            <zip>98115</zip>
+        </address>
+        <address location="work">
+            <street>2011 152nd Avenue NE</street>
+            <city>Redmond</city>
+            <state>WA</state>
+            <zip>98052</zip>
+        </address>
+        <phone location="work">(425)555-5665</phone>
+        <phone location="home">(206)555-5555</phone>
+        <phone location="mobile">(206)555-4321</phone>
+    </employee>
+</employees>
+
+

The second XPath expression does use namespaces. It would match the +following payload: +

+
<xq:employees xmlns:xq="http://www.example.com/employees">
+    <employee>
+        <name>Fred Jones</name>
+        <address location="home">
+            <street>900 Aurora Ave.</street>
+            <city>Seattle</city>
+            <state>WA</state>
+            <zip>98115</zip>
+        </address>
+        <address location="work">
+            <street>2011 152nd Avenue NE</street>
+            <city>Redmond</city>
+            <state>WA</state>
+            <zip>98052</zip>
+        </address>
+        <phone location="work">(425)555-5665</phone>
+        <phone location="home">(206)555-5555</phone>
+        <phone location="mobile">(206)555-4321</phone>
+    </employee>
+</xq:employees>
+
+

Note the different namespace used in the second example. +

+

+ Transformation functions

+

Transformation functions are used to alter input data before it is +used in matching (i.e., operator execution). The input data is never +modified, actually—whenever you request a transformation function to be +used, ModSecurity will create a copy of the data, transform it, and then + run the operator against the result. +

+
Note 
There are no default transformation +functions, as there were in the first generation of ModSecurity (1.x). +
+

In the following example, the request parameter values are converted +to lowercase before matching: +

SecRule ARGS "xp_cmdshell" "t:lowercase" +

Multiple transformation actions can be used in the same rule, +forming a transformation pipeline. The transformations will be performed + in the order in which they appear in the rule. +

In most cases, the order in which transformations are performed +is very important. In the following example, a series of transformation +functions is performed to counter evasion. Performing the +transformations in any other order would allow a skillful attacker to +evade detection: +

SecRule ARGS +"(asfunction|javascript|vbscript|data|mocha|livescript):" +"t:none,t:htmlEntityDecode,t:lowercase,t:removeNulls,t:removeWhitespace" +

+
Warning 
It is currently possible to use +SecDefaultAction to specify a default list of transformation functions, +which will be applied to all rules that follow the SecDefaultAction +directive. However, this practice is not recommended, because it means +that mistakes are very easy to make. It is recommended that you always +specify the transformation functions that are needed by a particular +rule, starting the list with t:none (which clears the possibly inherited + transformation functions). +
+

The remainder of this section documents the transformation functions +currently available in ModSecurity. +

+

base64Decode

+

Decodes a Base64-encoded string. +

+
SecRule REQUEST_HEADERS:Authorization "^Basic ([a-zA-Z0-9]+=*)$" "phase:1,capture,chain,logdata:%{TX.1}"
+  SecRule TX:1 ^(\w+): t:base64Decode,capture,chain
+    SecRule TX:1 ^(admin|root|backup)$ 
+
+

base64DecodeExt

+

Decodes a Base64-encoded string. Unlike base64Decode, this version +uses a forgiving implementation, which ignores invalid characters. +Available as of 2.5.13. +

See blog post on Base64Decoding evasion issues on PHP sites - http://blog.spiderlabs.com/2010/04/impedance-mismatch-and-base64.html +

+

base64Encode

+

Encodes input string using Base64 encoding. +

+

+cmdLine

+
Note 
This is a community contribution developed +by Marc Stern [7] +
+

In Windows and Unix, commands may be escaped by different means, such + as: +

+
  • c^ommand /c ... +
  • "command" /c ... +
  • command,/c ... +
  • backslash in the middle of a Unix command +
+

The cmdLine transformation function avoids this problem by +manipulating the variable contend in the following ways: +

+
  • deleting all backslashes [\] +
  • deleting all double quotes ["] +
  • deleting all sigle quotes ['] +
  • deleting all carets [^] +
  • deleting spaces before a slash [/] +
  • deleting spaces before an open parentesis [(] +
  • replacing all commas [,] and semicolon [;] into a space +
  • replacing all multiple spaces (including tab, newline, etc.) +into one space +
  • transform all characters to lowercase +
+

Example Usage: +

+
SecRule ARGS "(?:command(?:.com)?|cmd(?:.exe)?)(?:/.*)?/[ck]" "phase:2,t:none, t:cmdLine"
+
+

compressWhitespace

+

Converts any of the whitespace characters (0x20, \f, \t, \n, \r, \v, +0xa0) to spaces (ASCII 0x20), compressing multiple consecutive space +characters into one. +

+

+cssDecode

+

Decodes characters encoded using the CSS 2.x escape rules syndata.html#characters. + This function uses only up to two bytes in the decoding process, +meaning that it is useful to uncover ASCII characters encoded using CSS +encoding (that wouldn’t normally be encoded), or to counter evasion, +which is a combination of a backslash and non-hexadecimal characters +(e.g., ja\vascript is equivalent to javascript). +

+

escapeSeqDecode

+

Decodes ANSI C escape sequences: \a, \b, \f, \n, \r, \t, \v, \\, \?, +\', \", \xHH (hexadecimal), \0OOO (octal). Invalid encodings are left in + the output. +

+

+hexDecode

+

Decodes a string that has been encoded using the same algorithm as +the one used in hexEncode (see following entry). +

+

+hexEncode

+

Encodes string (possibly containing binary characters) by replacing +each input byte with two hexadecimal characters. For example, xyz is +encoded as 78797a. +

+

htmlEntityDecode

+

Decodes the characters encoded as HTML entities. The following +variants are supported: +

+
  • &#xHH and &#xHH; (where H is any hexadecimal number) +
  • &#DDD and &#DDD; (where D is any decimal number) +
  • &quotand" +
  • &nbspand  +
  • &ltand< +
  • &gtand> +
+

This function always converts one HTML entity into one byte, possibly + resulting in a loss of information (if the entity refers to a character + that cannot be represented with the single byte). It is thus useful to +uncover bytes that would otherwise not need to be encoded, but it cannot + do anything meaningful with the characters from the range above 0xff. +

+

+jsDecode

+

Decodes JavaScript escape sequences. If a \uHHHH code is in the range + of FF01-FF5E (the full width ASCII codes), then the higher byte is used + to detect and adjust the lower byte. Otherwise, only the lower byte +will be used and the higher byte zeroed (leading to possible loss of +information). +

+

length

+

Looks up the length of the input string in bytes, placing it (as +string) in output. For example, if it gets ABCDE on input, this +transformation function will return 5 on output. +

+

+lowercase

+

Converts all characters to lowercase using the current C locale. +

+

md5

+

Calculates an MD5 hash from the data in input. The computed hash is +in a raw binary form and may need encoded into text to be printed (or +logged). Hash functions are commonly used in combination with hexEncode +(for example: t:md5,t:hexEncode). +

+

none

+

Not an actual transformation function, but an instruction to +ModSecurity to remove all transformation functions associated with the +current rule. +

+

normalisePath

+

Removes multiple slashes, directory self-references, and directory +back-references (except when at the beginning of the input) from input +string. +

+

normalisePathWin

+

Same as normalisePath, but first converts backslash characters to +forward slashes. +

+

parityEven7bit

+

Calculates even parity of 7-bit data replacing the 8th bit of each +target byte with the calculated parity bit. +

+

parityOdd7bit

+

Calculates odd parity of 7-bit data replacing the 8th bit of each +target byte with the calculated parity bit. +

+

parityZero7bit

+

Calculates zero parity of 7-bit data replacing the 8th bit of each +target byte with a zero-parity bit, which allows inspection of even/odd +parity 7-bit data as ASCII7 data. +

+

removeNulls

+

Removes all NUL bytes from input. +

+

removeWhitespace

+

Removes all whitespace characters from input. +

+

replaceComments

+

Replaces each occurrence of a C-style comment (/* ... */) with a +single space (multiple consecutive occurrences of which will not be +compressed). Unterminated comments will also be replaced with a space +(ASCII 0x20). However, a standalone termination of a comment (*/) will +not be acted upon. +

+

replaceNulls

+

Replaces NUL bytes in input with space characters (ASCII 0x20). +

+

+urlDecode

+

Decodes a URL-encoded input string. Invalid encodings (i.e., the ones + that use non-hexadecimal characters, or the ones that are at the end of + string and have one or two bytes missing) are not converted, but no +error is raised. To detect invalid encodings, use the +@validateUrlEncoding operator on the input data first. The +transformation function should not be used against variables that have +already been URL-decoded (such as request parameters) unless it is your +intention to perform URL decoding twice! +

+

urlDecodeUni

+

Like urlDecode, but with support for the Microsoft-specific %u +encoding. If the code is in the range of FF01-FF5E (the full-width ASCII + codes), then the higher byte is used to detect and adjust the lower +byte. Otherwise, only the lower byte will be used and the higher byte +zeroed. +

+

+urlEncode

+

Encodes input string using URL encoding. +

+

sha1

+

Calculates a SHA1 hash from the input string. The computed hash is in + a raw binary form and may need encoded into text to be printed (or +logged). Hash functions are commonly used in combination with hexEncode +(for example, t:sha1,t:hexEncode). +

+

+trimLeft

+

Removes whitespace from the left side of the input string. +

+

+trimRight

+

Removes whitespace from the right side of the input string. +

+

trim

+

Removes whitespace from both the left and right sides of the input +string. +

+

+Actions

+

Each action belongs to one of five groups: +

+
  • Disruptive actions - Cause ModSecurity to do something. +In many cases something means block transaction, but not in all. For +example, the allow action is classified as a disruptive action, but it +does the opposite of blocking. There can only be one disruptive action +per rule (if there are multiple disruptive actions present, or +inherited, only the last one will take effect), or rule chain (in a +chain, a disruptive action can only appear in the first rule). +
  • Non-disruptive actions - Do something, but that +something does not and cannot affect the rule processing flow. Setting a + variable, or changing its value is an example of a non-disruptive +action. Non-disruptive action can appear in any rule, including each +rule belonging to a chain. +
  • Flow actions - These actions affect the rule flow (for +example skip or skipAfter). +
  • Meta-data actions - Meta-data actions are used to +provide more information about rules. Examples include id, rev, severity + and msg. +
  • Data actions - Not really actions, these are mere +containers that hold data used by other actions. For example, the status + action holds the status that will be used for blocking (if it takes +place). +
+

allow

+

Description: Stops rule processing on a successful match and +allows the transaction to proceed. +

Action Group: Disruptive +

Example: +

+
# Allow unrestricted access from 192.168.1.100 
+SecRule REMOTE_ADDR "^192\.168\.1\.100$" phase:1,nolog,allow
+
+


+Prior to ModSecurity 2.5 the allow action would only affect the current +phase. An allow in phase 1 would skip processing the remaining rules in +phase 1 but the rules from phase 2 would execute. Starting with v2.5.0 +allow was enhanced to allow for fine-grained control of what is done. +The following rules now apply: +

+
  1. If used one its own, like in the example above, allow will +affect the entire transaction, stopping processing of the current phase +but also skipping over all other phases apart from the logging phase. +(The logging phase is special; it is designed to always execute.) +
  2. If used with parameter "phase", allow will cause the engine to +stop processing the current phase. Other phases will continue as normal. +
  3. If used with parameter "request", allow will cause the engine +to stop processing the current phase. The next phase to be processed +will be phase RESPONSE_HEADERS. +
+

Examples: +

+
# Do not process request but process response.
+SecAction phase:1,allow:request
+
+# Do not process transaction (request and response).
+SecAction phase:1,allow
+
+

If you want to allow a response through, put a rule in phase +RESPONSE_HEADERS and simply use allow on its own: +

+
# Allow response through.
+SecAction phase:3,allow
+
+

append

+

Description: Appends text given as parameter to the end of +response body. Content injection must be en- abled (using the +SecContentInjection directive). No content type checks are made, which +means that before using any of the content injection actions, you must +check whether the content type of the response is adequate for +injection. +

Action Group: Non-disruptive +

Processing Phases: 3 and 4. +

Example: +

+
SecRule RESPONSE_CONTENT_TYPE "^text/html" "nolog,pass,append:'<hr>Footer'"
+
Warning 
Although macro expansion is allowed in +the additional content, you are strongly cau- tioned against inserting +user-defined data fields into output. Doing so would create a cross-site + scripting vulnerability. +
+

+auditlog

+

Description: Marks the transaction for logging in the audit +log. +

Action Group: Non-disruptive +

Example: +

SecRule REMOTE_ADDR "^192\.168\.1\.100$" +auditlog,phase:1,allow +

+
Note 
The auditlog action is now explicit if log +is already specified. +
+

block

+

Description: Performs the disruptive action defined by the +previous SecDefaultAction. +

Action Group: Disruptive +

This action is essentially a placeholder that is intended to be +used by rule writers to request a blocking action, but without +specifying how the blocking is to be done. The idea is that such +decisions are best left to rule users, as well as to allow users, to +override blocking if they so desire. +In future versions of ModSecurity, more control and functionality will +be added to define "how" to block. +

Examples: +

+
# Specify how blocking is to be done 
+SecDefaultAction phase:2,deny,status:403,log,auditlog
+
+# Detect attacks where we want to block 
+SecRule ARGS attack1 phase:2,block
+
+# Detect attacks where we want only to warn 
+SecRule ARGS attack2 phase:2,pass
+
+

It is possible to use the SecRuleUpdateActionById directive to +override how a rule handles blocking. This is useful in three cases: +

+
  1. If a rule has blocking hard-coded, and you want it to use the +policy you determine +
  2. If a rule was written to block, but you want it to only warn +
  3. If a rule was written to only warn, but you want it to block +
+

The following example demonstrates the first case, in which the +hard-coded block is removed in favor of the user-controllable block: +

+
# Specify how blocking is to be done 
+SecDefaultAction phase:2,deny,status:403,log,auditlog
+
+# Detect attacks and block 
+SecRule ARGS attack1 phase:2,id:1,deny
+
+# Change how rule ID 1 blocks 
+SecRuleUpdateActionById 1 block
+
+

+capture

+

Description: When used together with the regular expression +operator (@rx), the capture action will create copies of the regular +expression captures and place them into the transaction variable +collection. +

Action Group: Non-disruptive +

Example: +

+
SecRule REQUEST_BODY "^username=(\w{25,})" phase:2,capture,t:none,chain
+  SecRule TX:1 "(?:(?:a(dmin|nonymous)))"
+
+

Up to 10 captures will be copied on a successful pattern match, each +with a name consisting of a digit from 0 to 9. The TX.0 variable always +contains the entire area that the regular expression matched. All the +other variables contain the captured values, in the order in which the +capturing parentheses appear in the regular expression. +

+

chain

+

Description: Chains the current rule with the rule that +immediately follows it, creating a rule chain. Chained rules allow for +more complex processing logic. +

Action Group: Flow +

Example: +

+
# Refuse to accept POST requests that do not contain Content-Length header. 
+# (Do note that this rule should be preceded by a rule 
+# that verifies only valid request methods are used.) 
+SecRule REQUEST_METHOD "^POST$" phase:1,chain,t:none
+  SecRule &REQUEST_HEADERS:Content-Length "@eq 0" t:none
+
+
Note 
Rule chains allow you to simulate logical +AND. The disruptive actions specified in the first portion of the +chained rule will be triggered only if all of the variable checks return + positive hits. If any one aspect of a chained rule comes back negative, + then the entire rule chain will fail to match. Also note that +disruptive actions, execution phases, metadata actions (id, rev, msg), +skip, and skipAfter actions can be specified only by the chain starter +rule. +
+

The following directives can be used in rule chains: +

+
  • SecAction +
  • SecRule +
  • SecRuleScript +
+

Special rules control the usage of actions in chained rules: +

+
  • Any actions that affect the rule flow (i.e., the disruptive +actions, skip and skipAfter) can be used only in the chain starter. They + will be executed only if the entire chain matches. +
  • Non-disruptive rules can be used in any rule; they will be +executed if the rule that contains them matches and not only when the +entire chain matches. +
  • The metadata actions (e.g., id, rev, msg) can be used only in +the chain starter. +
+

ctl

+

Description: Changes ModSecurity configuration on transient, +per-transaction basis. Any changes made using this action will affect +only the transaction in which the action is executed. The default +configuration, as well as the other transactions running in parallel, +will be unaffected. +

Action Group: Non-disruptive +

Example: +

+
# Parse requests with Content-Type "text/xml" as XML 
+SecRule REQUEST_CONTENT_TYPE ^text/xml "nolog,pass,ctl:requestBodyProcessor=XML"
+
+

The following configuration options are supported: +

+
  1. auditEngine +
  2. auditLogParts +
  3. debugLogLevel +
  4. forceRequestBodyVariable +
  5. requestBodyAccess +
  6. requestBodyLimit +
  7. requestBodyProcessor +
  8. responseBodyAccess +
  9. responseBodyLimit +
  10. ruleEngine +
  11. ruleRemoveById - since this action us triggered at run +time, it should be specified before the rule in which it is +disabling. +
  12. ruleUpdateTargetById +
+

With the exception of the requestBodyProcessor and +forceRequestBodyVariable settings, each configuration option corresponds + to one configuration directive and the usage is identical. +

The requestBodyProcessor option allows you to configure the +request body processor. By default, ModSecurity will use the URLENCODED +and MULTIPART processors to process an application/x-www-form-urlencoded + and a multipart/form-data body, respectively. A third processor, XML, +is also supported, but it is never used implicitly. Instead, you must +tell ModSecurity to use it by placing a few rules in the REQUEST_HEADERS + processing phase. After the request body is processed as XML, you will +be able to use the XML-related features to inspect it. +

Request body processors will not interrupt a transaction if an +error occurs during parsing. Instead, they will set the variables +REQBODY_PROCESSOR_ERROR and REQBODY_PROCESSOR_ERROR_MSG. These variables + should be inspected in the REQUEST_BODY phase and an appropriate action + taken. +The forceRequestBodyVariable option allows you to configure the +REQUEST_BODY variable to be set when there is no request body processor +configured. This allows for inspection of request bodies of unknown +types. +

+

deny

+

Description: Stops rule processing and intercepts transaction. +

Action Group: Disruptive +

Example: +SecRule REQUEST_HEADERS:User-Agent "nikto" "log,deny,msg:'Nikto +Scanners Identified'" +

+

deprecatevar

+

Description: Decrements numerical value over time, which makes + sense only applied to the variables stored in persistent storage. +

Action Group: Non-Disruptive +

Example: The following example will decrement the counter by 60 +every 300 seconds. +

+
SecAction phase:5,nolog,pass,deprecatevar:SESSION.score=60/300
+
+

Counter values are always positive, meaning that the value will never + go below zero. Unlike expirevar, the deprecate action must be executed +on every request. +

+

drop

+

Description: Initiates an immediate close of the TCP +connection by sending a FIN packet. +

Action Group: Disruptive +

Example: The following example initiates an IP collection +for tracking Basic Authentication attempts. If the client goes over the +threshold of more than 25 attempts in 2 minutes, it will DROP subsequent + connections. +

+
SecAction phase:1,initcol:ip=%{REMOTE_ADDR},nolog
+SecRule ARGS:login "!^$" "nolog,phase:1,setvar:ip.auth_attempt=+1,deprecatevar:ip.auth_attempt=20/120"
+SecRule IP:AUTH_ATTEMPT "@gt 25" "log,drop,phase:1,msg:'Possible Brute Force Attack'"
+
+
Note 
This action is currently not available on +Windows based builds. +
+

This action is extremely useful when responding to both Brute Force +and Denial of Service attacks in that, in both cases, you want to +minimize both the network bandwidth and the data returned to the client. + This action causes error message to appear in the log "(9)Bad file +descriptor: core_output_filter: writing data to the network" +

+

exec

+

Description: Executes an external script/binary supplied as +parameter. As of v2.5.0, if the parameter supplied to exec is a Lua +script (detected by the .lua extension) the script will be processed +internally. This means you will get direct access to the internal +request context from the script. Please read the SecRuleScript +documentation for more details on how to write Lua scripts. +

Action Group: Non-disruptive +

Example: +

+
# Run external program on rule match 
+SecRule REQUEST_URI "^/cgi-bin/script\.pl" "phase:2,t:none,t:lowercase,t:normalizePath,block,\ exec:/usr/local/apache/bin/test.sh"
+
+# Run Lua script on rule match 
+SecRule ARGS:p attack "phase:2,block,exec:/usr/local/apache/conf/exec.lua"
+
+

The exec action is executed independently from any disruptive actions + specified. External scripts will always be called with no parameters. +Some transaction information will be placed in environment variables. +All the usual CGI environment variables will be there. You should be +aware that forking a threaded process results in all threads being +replicated in the new process. Forking can therefore incur larger +overhead in a multithreaded deployment. The script you execute must +write something (anything) to stdout; if it doesn’t, ModSecurity will +assume that the script failed, and will record the failure. +

+

+expirevar

+

Description: Configures a collection variable to expire after +the given time period (in seconds). +

Action Group: Non-disruptive +

Example: +

+
SecRule REQUEST_COOKIES:JSESSIONID "!^$" "nolog,phase:1,pass,setsid:%{REQUEST_COOKIES:JSESSIONID}"
+SecRule REQUEST_URI "^/cgi-bin/script\.pl" "phase:2,t:none,t:lowercase,t:normalisePath,log,allow,setvar:session.suspicious=1,expirevar:session.suspicious=3600,phase:1"
+
+

You should use the expirevar actions at the same time that you use +setvar actions in order to keep the indented expiration time. If they +are used on their own (perhaps in a SecAction directive), the expire +time will be reset. +

+

id

+

Description: Assigns a unique ID to the rule or chain in which + it appears. +

Action Group: Meta-data +

Example: +

+
SecRule &REQUEST_HEADERS:Host "@eq 0" "log,id:60008,severity:2,msg:'Request Missing a Host Header'"
+
+

These are the reserved ranges: +

+
  • 1–99,999: reserved for local (internal) use. Use as you see fit, + but do not use this range for rules that are distributed to others +
  • 100,000–199,999: reserved for internal use of the engine, to +assign to rules that do not have explicit IDs +
  • 200,000–299,999: reserved for rules published at +modsecurity.org +
  • 300,000–399,999: reserved for rules published at gotroot.com +
  • 400,000–419,999: unused (available for reservation) +
  • 420,000–429,999: reserved for ScallyWhack [8] +
  • 430,000–699,999: unused (available for reservation) +
  • 700,000–799,999: reserved for Ivan Ristic +
  • 900,000–999,999: reserved for the OWASP ModSecurity Core Rule +Set [9] project +
  • 1,000,000-1,999,999: unused (available for reservation) +
  • 2,000,000-2,999,999: reserved for rules from Trustwave's +SpiderLabs Research team +
  • 3,000,000 and above: unused (available for reservation) +
+

+initcol

+

Description: Initializes a named persistent collection, either + by loading data from storage or by creating a new collection in memory. +

Action Group: Non-disruptive +

Example: The following example initiates IP address +tracking, which is best done in phase 1: +

+
SecAction phase:1,nolog,pass,initcol:ip=%{REMOTE_ADDR}
+
+

Collections are loaded into memory on-demand, when the initcol action + is executed. A collection will be persisted only if a change was made +to it in the course of transaction processing. +

See the "Persistant Storage" section for further details. +

+

log

+

Description: Indicates that a successful match of the rule +needs to be logged. +

Action Group: Non-disruptive +

Example: +

+
SecAction phase:1,pass,initcol:ip=%{REMOTE_ADDR},log
+
+

This action will log matches to the Apache error log file and the +ModSecurity audit log. +

+

+logdata

+

Description: Logs a data fragment as part of the alert +message. +

Action Group: Non-disruptive +

Example: +

+
SecRule ARGS:p "@rx <script>" "phase:2,log,pass,logdata:%{MATCHED_VAR}"
+
+

The logdata information appears in the error and/or audit log files. +Macro expansion is performed, so you may use variable names such +as %{TX.0} or %{MATCHED_VAR}. The information is properly +escaped for use with logging of binary data. +

+

msg

+

Description: Assigns a custom message to the rule or chain in +which it appears. The message will be logged along with every alert. +

Action Group: Meta-data +

Example: +

+
SecRule &REQUEST_HEADERS:Host "@eq 0" "log,id:60008,severity:2,msg:'Request Missing a Host Header'"
+
+
Note 
The msg information appears in the error +and/or audit log files and is not sent back to the client in response +headers. +
+

+ multiMatch

+

Description: If enabled, ModSecurity will perform multiple +operator invocations for every target, before and after every +anti-evasion transformation is performed. +

Action Group: Non-disruptive +

Example: +

+
SecRule ARGS "attack" "phase1,log,deny,t:removeNulls,t:lowercase,multiMatch"
+
+

Normally, variables are inspected only once per rule, and only after +all transformation functions have been completed. With multiMatch, +variables are checked against the operator before and after every +transformation function that changes the input. +

+

+ noauditlog

+

Description: Indicates that a successful match of the rule +should not be used as criteria to determine whether the transaction +should be logged to the audit log. +

Action Group: Non-disruptive +

Example: +

+
SecRule REQUEST_HEADERS:User-Agent "Test" allow,noauditlog
+
+

If the SecAuditEngine is set to On, all of the transactions will be +logged. If it is set to RelevantOnly, then you can control the logging +with the noauditlog action. +

The noauditlog action affects only the current rule. If you +prevent audit logging in one rule only, a match in another rule will +still cause audit logging to take place. If you want to prevent audit +logging from taking place, regardless of whether any rule matches, use +ctl:auditEngine=Off. +

+

nolog

+

Description: Prevents rule matches from appearing in both the +error and audit logs. +

Action Group: Non-disruptive +

Example: +

+
SecRule REQUEST_HEADERS:User-Agent "Test" allow,nolog
+
+

Although nolog implies noauditlog, you can override the former by +using nolog,auditlog. +

+

pass

+

Description: Continues processing with the next rule in spite +of a successful match. +

Action Group: Disruptive +

Example: +

+
SecRule REQUEST_HEADERS:User-Agent "Test" "log,pass"
+
+

When using pass with a SecRule with multiple targets, all variables +will be inspected and all non-disruptive actions trigger for every +match. In the following example, the TX.test variable will be +incremented once for every request parameter: +

+
# Set TX.test to zero 
+SecAction "phase:2,nolog,pass,setvar:TX.test=0"
+
+# Increment TX.test for every request parameter 
+SecRule ARGS "test" "phase:2,log,pass,setvar:TX.test=+1"
+
+

pause

+

Description: Pauses transaction processing for the specified +number of milliseconds. +

Action Group: Non-disruptive +

Example: +

+
SecRule REQUEST_HEADERS:User-Agent "Test" "log,deny,status:403,pause:5000"
+
+
Warning 
This feature can be of limited benefit +for slowing down brute force authentication attacks, but use with care. +If you are under a denial of service attack, the pause feature may make +matters worse, as it will cause an entire Apache worker (process or +thread, depending on the deployment mode) to sit idle until the pause is + completed. +
+

phase

+

Description: Places the rule or chain into one of five +available processing phases. It can also be used in SecDefaultAction to +establish the rule defaults. +

Action Group: Meta-data +

Example: +

+
# Initialize IP address tracking in phase 1
+SecAction phase:1,nolog,pass,initcol:IP=%{REMOTE_ADDR}
+
+
Warning 
Keep in mind that if you specify the +incorrect phase, the variable used in the rule may not yet be available. + This could lead to a false negative situation where your variable and +operator may be correct, but it misses malicious data because you +specified the wrong phase. +
+

+prepend

+

Description: Prepends the text given as parameter to response +body. Content injection must be enabled (using the SecContentInjection +directive). No content type checks are made, which means that before +using any of the content injection actions, you must check whether the +content type of the response is adequate for injection. +

Action Group: Non-disruptive +

Processing Phases: 3 and 4. +

Example: +

+
SecRule RESPONSE_CONTENT_TYPE ^text/html \ "phase:3,nolog,pass,prepend:'Header<br>'"
+
+
Warning 
Although macro expansion is allowed in +the injected content, you are strongly cautioned against inserting user +defined data fields int output. Doing so would create a cross-site +scripting vulnerability. +
+

proxy

+

Description: Intercepts the current transaction by forwarding +the request to another web server using the proxy backend. The +forwarding is carried out transparently to the HTTP client (i.e., +there’s no external redirection taking place). +

Action Group: Disruptive +

Example: +

+
SecRule REQUEST_HEADERS:User-Agent "Test" log,proxy:http://honeypothost/
+
+

For this action to work, mod_proxy must also be installed. This +action is useful if you would like to proxy matching requests onto a +honeypot web server, and especially in combination with IP address or +session tracking. +

+

+redirect

+

Description: Intercepts transaction by issuing an external +(client-visible) redirection to the given location.. +

Action Group: Disruptive +

Example: +

+
SecRule REQUEST_HEADERS:User-Agent "Test" "phase:1,log,redirect:http://www.example.com/failed.html"
+
+

If the status action is present on the same rule, and its value can +be used for a redirection (i.e., is one of the following: 301, 302, 303, + or 307), the value will be used for the redirection status code. +Otherwise, status code 302 will be used. +

+

rev

+

Description: Specifies rule revision. It is useful in +combination with the id action to provide an indication that a rule has +been changed. +

Action Group: Meta-data +

Example: +

+
SecRule REQUEST_FILENAME|ARGS_NAMES|ARGS|XML:/* "(?:(?:[\;\|\`]\W*?\bcc|\b(wget|curl))\b|\/cc(?:[\'\"\|\;\`\-\s]|$))" \
+	                "phase:2,rev:'2.1.3',capture,t:none,t:normalisePath,t:lowercase,ctl:auditLogParts=+E,block,msg:'System Command Injection',id:'950907',tag:'WEB_ATTACK/COMMAND_INJECTION',tag:'WASCTC/WASC-31',tag:'OWASP_TOP_10/A1',tag:'PCI/6.5.2',logdata:'%{TX.0}',severity:'2',setvar:'tx.msg=%{rule.msg}',setvar:tx.anomaly_score=+%{tx.critical_anomaly_score},setvar:tx.command_injection_score=+%{tx.critical_anomaly_score},setvar:tx.%{rule.id}-WEB_ATTACK/COMMAND_INJECTION-%{matched_var_name}=%{tx.0},skipAfter:END_COMMAND_INJECTION1"
+
+
Note 
This action is used in combination with the + id action to allow the same rule ID to be used after changes take place + but to still provide some indication the rule changed. +
+

sanitiseArg

+

Description: Prevents sensitive request parameter data from +being logged to audit log. Each byte of the named parameter(s) is +replaced with an asterisk. +

Action Group: Non-disruptive +

Example: +

+
# Never log passwords 
+SecAction "nolog,phase:2,sanitiseArg:password,sanitiseArg:newPassword,sanitiseArg:oldPassword"
+
+
Note 
The sanitize actions affect only the data +as it is logged to audit log. High-level debug logs may contain +sensitive data. Apache access log may contain sensitive data placed in +the request URI. +
+

sanitiseMatched

+

Description: Prevents the matched variable (request argument, +request header, or response header) from being logged to audit log. Each + byte of the named parameter(s) is replaced with an asterisk. +

Action Group: Non-disruptive +

Example: This action can be used to sanitise arbitrary +transaction elements when they match a condition. For example, the +example below will sanitise any argument that contains the word password + in the name. +

+
SecRule ARGS_NAMES password nolog,pass,sanitiseMatched
+
+
Note 
The sanitize actions affect only the data +as it is logged to audit log. High-level debug logs may contain +sensitive data. Apache access log may contain sensitive data placed in +the request URI. +
+

sanitiseMatchedBytes

+

Description: Prevents the matched string in a variable from +being logged to audit log. Each or a range of bytes of the named +parameter(s) is replaced with an asterisk. +

Action Group: Non-disruptive +

Example: This action can be used to sanitise arbitrary +transaction elements when they match a condition. For example, the +example below will sanitise the credit card number. +

+
  • sanitiseMatchedBytes -- This would x out only the bytes that +matched. +
  • sanitiseMatchedBytes:1/4 -- This would x out the bytes that +matched, but keep the first byte and last 4 bytes +
+
# Detect credit card numbers in parameters and 
+# prevent them from being logged to audit log 
+SecRule ARGS "@verifyCC \d{13,16}" "phase:2,nolog,pass,msg:'Potential credit card number in request',sanitiseMatchedBytes"
+SecRule RESPONSE_BODY "@verifyCC \d{13,16}" "phase:4,t:none,log,block,msg:'Potential credit card number is response body',sanitiseMatchedBytes:0/4"
+
+
Note 
The sanitize actions affect only the data +as it is logged to audit log. High-level debug logs may contain +sensitive data. Apache access log may contain sensitive data placed in +the request URI. +
+

sanitiseRequestHeader

+

Description: Prevents a named request header from being logged + to audit log. Each byte of the named request header is replaced with an + asterisk.. +

Action Group: Non-disruptive +

Example: This will sanitise the data in the Authorization +header. +

+
SecAction "phase:1,nolog,pass,sanitiseRequestHeader:Authorization"
+
+
Note 
The sanitize actions affect only the data +as it is logged to audit log. High-level debug logs may contain +sensitive data. Apache access log may contain sensitive data placed in +the request URI. +
+

sanitiseResponseHeader

+

Description: Prevents a named response header from being +logged to audit log. Each byte of the named response header is replaced +with an asterisk. +

Action Group: Non-disruptive +

Example: This will sanitise the Set-Cookie data sent to +the client. +

+
SecAction "phase:3,nolog,pass,sanitiseResponseHeader:Set-Cookie"
+
+
Note 
The sanitize actions affect only the data +as it is logged to audit log. High-level debug logs may contain +sensitive data. Apache access log may contain sensitive data placed in +the request URI. +
+

+severity

+

Description: Assigns severity to the rule in which it is used. +

Action Group: Meta-data +

Example: +

+
SecRule REQUEST_METHOD "^PUT$" "id:340002,rev:1,severity:CRITICAL,msg:'Restricted HTTP function'"
+
+

Severity values in ModSecurity follows the numeric scale of syslog +(where 0 is the most severe). The data below is used by the OWASP +ModSecurity Core Rule Set (CRS): +

+
  • 0 - EMERGENCY: is generated from correlation of anomaly +scoring data where there is an inbound attack and an outbound leakage. +
  • 1 - ALERT: is generated from correlation where there is +an inbound attack and an outbound application level error. +
  • 2 - CRITICAL: Anomaly Score of 5. Is the highest +severity level possible without correlation. It is normally generated +by the web attack rules (40 level files). +
  • 3 - ERROR: Error - Anomaly Score of 4. Is generated +mostly from outbound leakage rules (50 level files). +
  • 4 - WARNING: Anomaly Score of 3. Is generated by +malicious client rules (35 level files). +
  • 5 - NOTICE: Anomaly Score of 2. Is generated by the +Protocol policy and anomaly files. +
  • 6 - INFO +
  • 7 - DEBUG +
+

It is possible to specify severity levels using either the numerical +values or the text values, but you should always specify severity levels + using the text values, because it is difficult to remember what a +number stands for. The use of the numerical values is deprecated as of +version 2.5.0 and may be removed in one of the subsequent major updates. +

+

setuid

+

Description: Special-purpose action that initializes the USER +collection using the username provided as parameter. +

Action Group: Non-disruptive +

Example: +

+
SecRule ARGS:username ".*" "phase:2,t:none,pass,nolog,noauditlog,capture,setvar:session.username=%{TX.0},setuid:%{TX.0}"
+
+

After initialization takes place, the variable USERID will be +available for use in the subsequent rules. This action understands +application namespaces (configured using SecWebAppId), and will use one +if it is configured. +

+

setsid

+

Description: Special-purpose action that initializes the +SESSION collection using the session token provided as parameter. +

Action Group: Non-disruptive +

Example: +

+
# Initialise session variables using the session cookie value 
+SecRule REQUEST_COOKIES:PHPSESSID !^$ "chain,nolog,pass,setsid:%{REQUEST_COOKIES.PHPSESSID}"
+
+

Note +

After the initialization takes place, the variable SESSIONID will + be available for use in the subsequent rules. This action understands +application namespaces (configured using SecWebAppId), and will use one +if it is configured. +

+

setenv

+

Description: Creates, removes, and updates environment +variables that can be accessed by Apache. +

Action Group: Non-disruptive +

Examples: +

+
SecRule RESPONSE_HEADERS:/Set-Cookie2?/ "(?i:(j?sessionid|(php)?sessid|(asp|jserv|jw)?session[-_]?(id)?|cf(id|token)|sid))" "phase:3,t:none,pass,nolog,setvar:tx.sessionid=%{matched_var}"
+SecRule TX:SESSIONID "!(?i:\;? ?httponly;?)" "phase:3,t:none,setenv:httponly_cookie=%{matched_var},pass,log,auditlog,msg:'AppDefect: Missing HttpOnly Cookie Flag.'"
+
+Header set Set-Cookie "%{httponly_cookie}e; HTTPOnly" env=httponly_cookie
+
+

setvar

+

Description: Creates, removes, or updates a variable. Variable + names are case-insensitive. +

Action Group: Non-disruptive +

Examples: +To create a variable and set its value to 1 (usually used for setting +flags), use: setvar:TX.score +

To create a variable and initialize it at the same time, use: setvar:TX.score=10 +

To remove a variable prefix the name with exclamation mark, use: setvar:!TX.score +

To increase or decrease variable value, use + and - characters in + front of a numerical value: setvar:TX.score=+5 +

Example from OWASP CRS: +

+
SecRule REQUEST_FILENAME|ARGS_NAMES|ARGS|XML:/* "\bsys\.user_catalog\b" \
+		"phase:2,rev:'2.1.3',capture,t:none,t:urlDecodeUni,t:htmlEntityDecode,t:lowercase,t:replaceComments,t:compressWhiteSpace,ctl:auditLogParts=+E, \
+block,msg:'Blind SQL Injection Attack',id:'959517',tag:'WEB_ATTACK/SQL_INJECTION',tag:'WASCTC/WASC-19',tag:'OWASP_TOP_10/A1',tag:'OWASP_AppSensor/CIE1', \
+tag:'PCI/6.5.2',logdata:'%{TX.0}',severity:'2',setvar:'tx.msg=%{rule.msg}',setvar:tx.sql_injection_score=+%{tx.critical_anomaly_score}, \
+setvar:tx.anomaly_score=+%{tx.critical_anomaly_score},setvar:tx.%{rule.id}-WEB_ATTACK/SQL_INJECTION-%{matched_var_name}=%{tx.0}"
+
+

skip

+

Description: Skips one or more rules (or chains) on successful + match. +

Action Group: Flow +

Example: +

+
# Require Accept header, but not from access from the localhost 
+SecRule REMOTE_ADDR "^127\.0\.0\.1$" "phase:1,skip:1" 
+
+# This rule will be skipped over when REMOTE_ADDR is 127.0.0.1 
+SecRule &REQUEST_HEADERS:Accept "@eq 0" "phase:1,deny,msg:'Request Missing an Accept Header'"
+
+

The skip action works only within the current processing phase and +not necessarily in the order in which the rules appear in the +configuration file. If you place a phase 2 rule after a phase 1 rule +that uses skip, it will not skip over the phase 2 rule. It will skip +over the next phase 1 rule that follows it in the phase. +

+

+skipAfter

+

Description: Skips one or more rules (or chains) on a successful +match, resuming rule execution with the first rule that follows the rule + (or marker created by SecMarker) with the provided ID. +

Action Group: Flow +

Example: The following rules implement the same logic as +the skip example, but using skipAfter: +

+
# Require Accept header, but not from access from the localhost 
+SecRule REMOTE_ADDR "^127\.0\.0\.1$" "phase:1,skipAfter:IGNORE_LOCALHOST" 
+
+# This rule will be skipped over when REMOTE_ADDR is 127.0.0.1 
+SecRule &REQUEST_HEADERS:Accept "@eq 0" "phase:1,deny,msg:'Request Missing an Accept Header'" 
+SecMarker IGNORE_LOCALHOST
+
+

Example from the OWASP ModSecurity CRS: +

+
SecMarker BEGIN_HOST_CHECK
+
+	SecRule &REQUEST_HEADERS:Host "@eq 0" \
+    		"skipAfter:END_HOST_CHECK,phase:2,rev:'2.1.3',t:none,block,msg:'Request Missing a Host Header',id:'960008',tag:'PROTOCOL_VIOLATION/MISSING_HEADER_HOST',tag:'WASCTC/WASC-21', \
+tag:'OWASP_TOP_10/A7',tag:'PCI/6.5.10',severity:'5',setvar:'tx.msg=%{rule.msg}',setvar:tx.anomaly_score=+%{tx.notice_anomaly_score}, \
+setvar:tx.protocol_violation_score=+%{tx.notice_anomaly_score},setvar:tx.%{rule.id}-PROTOCOL_VIOLATION/MISSING_HEADER-%{matched_var_name}=%{matched_var}"
+
+	SecRule REQUEST_HEADERS:Host "^$" \
+    		"phase:2,rev:'2.1.3',t:none,block,msg:'Request Missing a Host Header',id:'960008',tag:'PROTOCOL_VIOLATION/MISSING_HEADER_HOST',tag:'WASCTC/WASC-21',tag:'OWASP_TOP_10/A7', \
+tag:'PCI/6.5.10',severity:'5',setvar:'tx.msg=%{rule.msg}',setvar:tx.anomaly_score=+%{tx.notice_anomaly_score},setvar:tx.protocol_violation_score=+%{tx.notice_anomaly_score}, \
+setvar:tx.%{rule.id}-PROTOCOL_VIOLATION/MISSING_HEADER-%{matched_var_name}=%{matched_var}"
+
+SecMarker END_HOST_CHECK
+
+

The skipAfter action works only within the current processing phase +and not necessarily the order in which the rules appear in the +configuration file. If you place a phase 2 rule after a phase 1 rule +that uses skip, it will not skip over the phase 2 rule. It will skip +over the next phase 1 rule that follows it in the phase. +

+

status

+

Description: Specifies the response status code to use with +actions deny and redirect. +

Action Group: Data +

Example: +

+
# Deny with status 403
+SecDefaultAction "phase:1,log,deny,status:403"
+
+

Status actions defined in Apache scope locations (such as Directory, +Location, etc...) may be superseded by phase:1 action settings. The +Apache ErrorDocument directive will be triggered if present in the +configuration. Therefore if you have previously defined a custom error +page for a given status then it will be executed and its output +presented to the user. +

+

t

+

Description: This action is used to specify the transformation + pipeline to use to transform the value of each variable used in the +rule before matching. +

Action Group: Non-disruptive +

Example: +

+
SecRule ARGS "(asfunction|javascript|vbscript|data|mocha|livescript):" "t:none,t:htmlEntityDecode,t:lowercase,t:removeNulls,t:removeWhitespace"
+
+

Any transformation functions that you specify in a SecRule will be +added to the previous ones specified in SecDefaultAction. It is +recommended that you always use t:none in your rules, which prevents +them depending on the default configuration. +

+

tag

+

Description: Assigns a tag (category) to a rule or a chain. +

Action Group: Meta-data +

Example: +

+
SecRule REQUEST_FILENAME|ARGS_NAMES|ARGS|XML:/* "\bgetparentfolder\b" \
+	"phase:2,rev:'2.1.3',capture,t:none,t:htmlEntityDecode,t:compressWhiteSpace,t:lowercase,ctl:auditLogParts=+E,block,msg:'Cross-site Scripting (XSS) Attack',id:'958016',tag:'WEB_ATTACK/XSS',tag:'WASCTC/WASC-8',tag:'WASCTC/WASC-22',tag:'OWASP_TOP_10/A2',tag:'OWASP_AppSensor/IE1',tag:'PCI/6.5.1',logdata:'% \
+{TX.0}',severity:'2',setvar:'tx.msg=%{rule.msg}',setvar:tx.xss_score=+%{tx.critical_anomaly_score},setvar:tx.anomaly_score=+%{tx.critical_anomaly_score},setvar:tx.%{rule.id}-WEB_ATTACK/XSS-%{matched_var_name}=%{tx.0}"
+
+

The tag information appears along with other rule metadata. The +purpose of the tagging mechanism to allow easy automated categorization +of events. Multiple tags can be specified on the same rule. Use forward +slashes to create a hierarchy of categories (as in the example). Since +ModSecurity 2.6.0 tag supports macro expansion. +

+

xmlns

+

Description: Configures an XML namespace, which will be used +in the execution of XPath expressions. +

Action Group: Data +

Example: +

+
SecRule REQUEST_HEADERS:Content-Type "text/xml" "phase:1,pass,ctl:requestBodyProcessor=XML,ctl:requestBodyAccess=On, \
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+SecRule XML:/soap:Envelope/soap:Body/q1:getInput/id() "123" phase:2,deny
+
+

+Operators

+

This section documents the operators currently available in +ModSecurity. +

+

+ beginsWith

+

Description: Returns true if the parameter string is found at +the beginning of the input. Macro expansion is performed on the +parameter string before comparison. +

Example: +

+
# Detect request line that does not begin with "GET" 
+SecRule REQUEST_LINE "!@beginsWith GET"
+
+

+contains

+

Description: Returns true if the parameter string is found +anywhere in the input. Macro expansion is performed on the parameter +string before comparison. +

Example: +

+
# Detect ".php" anywhere in the request line 
+SecRule REQUEST_LINE "@contains .php" 
+
+

+endsWith

+

Description: Returns true if the parameter string is found at +the end of the input. Macro expansion is performed on the parameter +string before comparison. +

Example: +

+
# Detect request line that does not end with "HTTP/1.1" 
+SecRule REQUEST_LINE "!@endsWith HTTP/1.1"
+
+

eq

+

Description: Performs numerical comparison and returns true if + the input value is equal to the provided parameter. Macro expansion is +performed on the parameter string before comparison. +

Example: +

+
# Detect exactly 15 request headers 
+SecRule &REQUEST_HEADERS_NAMES "@eq 15"
+
+

ge

+

Description: Performs numerical comparison and returns true if + the input value is greater than or equal to the provided parameter. +Macro expansion is performed on the parameter string before comparison. +

Example: +

+
# Detect 15 or more request headers 
+SecRule &REQUEST_HEADERS_NAMES "@ge 15"
+
+

+geoLookup

+

Description: Performs a geolocation lookup using the IP +address in input against the geolocation database previously configured +using SecGeoLookupDb. If the lookup is successful, the obtained +information is captured in the GEO collection. +

Example: +The geoLookup operator matches on success and is thus best used in +combination with nolog,pass. If you wish to block on a failed lookup +(which may be over the top, depending on how accurate the geolocation +database is), the following example demonstrates how best to do it: +

+
# Configure geolocation database 
+SecGeoLookupDb /path/to/GeoLiteCity.dat 
+... 
+# Lookup IP address 
+SecRule REMOTE_ADDR "@geoLookup" "phase:1,nolog,pass"
+
+# Block IP address for which geolocation failed
+ SecRule &GEO "@eq 0" "phase:1,deny,msg:'Failed to lookup IP'"
+
+

See the GEO variable for an example and more information on various +fields available. +

+

+gsbLookup

+

Description: Performs a local lookup of Google's Safe Browsing + using URLs in input against the GSB database previously configured +using SecGsbLookupDb. When combined with capture operator it will save +the matched url into tx.0 variable. +

Syntax: SecRule TARGET "@gsbLookup REGEX" ACTIONS +

Version: 2.6 +

Example: +The gsbLookup operator matches on success and is thus best used in +combination with a block or redirect action. If you wish to block on +successful lookups, the following example demonstrates how best to do +it: +

+
# Configure Google Safe Browsing database 
+SecGsbLookupDb /path/to/GsbMalware.dat 
+... 
+# Check response bodies for malicious links
+SecRule RESPONSE_BODY "@gsbLookup =\"https?\:\/\/(.*?)\"" "phase:4,capture,log,block,msg:'Bad url detected in RESPONSE_BODY (Google Safe Browsing Check)',logdata:'http://www.google.com/safebrowsing/diagnostic?site=%{tx.0}'"
+
+

gt

+

Description: Performs numerical comparison and returns true if + the input value is greater than the operator parameter. Macro expansion + is performed on the parameter string before comparison. +

Example: +

+
# Detect more than 15 headers in a request 
+SecRule &REQUEST_HEADERS_NAMES "@gt 15"
+
+

inspectFile

+

Description: Executes an external program for every variable +in the target list. The contents of the variable is provided to the +script as the first parameter on the command line. The program must be +specified as the first parameter to the operator. As of version 2.5.0, +if the supplied program filename is not absolute, it is treated as +relative to the directory in which the configuration file resides. Also +as of version 2.5.0, if the filename is determined to be a Lua script +(based on its .lua extension), the script will be processed by the +internal Lua engine. Internally processed scripts will often run faster +(there is no process creation overhead) and have full access to the +transaction context of ModSecurity. +

The @inspectFile operator was initially designed for file +inspection (hence the name), but it can also be used in any situation +that requires decision making using external logic. +

The OWASP ModSecurity Core Rule Set (CRS) includes a utility +script in the /util directory called runav.pl [10] that allows the file approval mechanism to +integrate with the ClamAV virus scanner. This is especially handy to +prevent viruses and exploits from entering the web server through file +upload. +

+
#!/usr/bin/perl
+#
+# runav.pl
+# Copyright (c) 2004-2011 Trustwave
+#
+# This script is an interface between ModSecurity and its
+# ability to intercept files being uploaded through the
+# web server, and ClamAV
+
+
+$CLAMSCAN = "clamscan";
+
+if ($#ARGV != 0) {
+    print "Usage: modsec-clamscan.pl <filename>\n";
+    exit;
+}
+
+my ($FILE) = shift @ARGV;
+
+$cmd = "$CLAMSCAN --stdout --disable-summary $FILE";
+$input = `$cmd`;
+$input =~ m/^(.+)/;
+$error_message = $1;
+
+$output = "0 Unable to parse clamscan output [$1]";
+
+if ($error_message =~ m/: Empty file\.?$/) {
+    $output = "1 empty file";
+}
+elsif ($error_message =~ m/: (.+) ERROR$/) {
+    $output = "0 clamscan: $1";
+}
+elsif ($error_message =~ m/: (.+) FOUND$/) {
+    $output = "0 clamscan: $1";
+}
+elsif ($error_message =~ m/: OK$/) {
+    $output = "1 clamscan: OK";
+}
+
+print "$output\n";
+
+
+

Example: Using the runav.pl script: +

+
# Execute external program to validate uploaded files 
+SecRule FILES_TMPNAMES "@inspectFile /path/to/util/runav.pl"
+
+

Example of using Lua script (placed in the same directory as the +configuration file): +

+
SecRule FILES_TMPNANMES "@inspectFile inspect.lua"
+
+

The contents of inspect.lua: +

+
function main(filename)
+    -- Do something to the file to verify it. In this example, we
+    -- read up to 10 characters from the beginning of the file.
+    local f = io.open(filename, "rb");
+    local d = f:read(10);
+    f:close();
+   
+    -- Return null if there is no reason to believe there is ansything
+    -- wrong with the file (no match). Returning any text will be taken
+    -- to mean a match should be trigerred.
+    return null;
+end
+
+

Reference: http://blog.spiderlabs.com/2010/10/advanced-topic-of-the-week-preventing-malicious-pdf-file-uploads.html +

+

+ipMatch

+

Description: Performs a fast ipv4 or ipv6 match of REMOTE_ADDR + variable data. Can handle the following formats: +

+
  • Full IPv4 Address - 192.168.1.100 +
  • Network Block/CIDR Address - 192.168.1.0/24 +
  • Full IPv6 Address - 2001:db8:85a3:8d3:1319:8a2e:370:7348 +
  • Network Block/CIDR Address - +2001:db8:85a3:8d3:1319:8a2e:370:0/24 +
+

Examples: +

Individual Address: +

+
SecRule REMOTE_ADDR "@ipMatch 192.168.1.100"
+
+

Multiple Addresses w/network block: +

+
SecRule REMOTE_ADDR "@ipMatch 192.168.1.100,192.168.1.50,10.10.50.0/24"
+
+
Note 
Does not work under Windows OS +
+

le

+

Description: Performs numerical comparison and returns true if + the input value is less than or equal to the operator parameter. Macro +expansion is performed on the parameter string before comparison. +

Example: +

+
# Detect 15 or fewer headers in a request 
+SecRule &REQUEST_HEADERS_NAMES "@le 15"
+
+

lt

+

Description: Performs numerical comparison and returns true if + the input value is less than to the operator parameter. Macro expansion + is performed on the parameter string before comparison. +

Example: +

+
# Detect fewer than 15 headers in a request 
+SecRule &REQUEST_HEADERS_NAMES "@lt 15"
+
+

+strmatch

+

Description: Performs a string match of the provided word +against the desired input value. The operator uses the pattern matching + Boyer-Moore-Horspool algorithm, which means that it is a single pattern + matching operator. This operator performs much better than a regular +expression. +

Example: +

+
# Detect suspicious client by looking at the user agent identification 
+SecRule REQUEST_HEADERS:User-Agent "@strmatch WebZIP"
+
+

pm

+

Description: Performs a case-insensitive match of the provided + phrases against the desired input value. The operator uses a set-based +matching algorithm (Aho-Corasick), which means that it will match any +number of keywords in parallel. When matching of a large number of +keywords is needed, this operator performs much better than a regular +expression. +

Example: +

+
# Detect suspicious client by looking at the user agent identification 
+SecRule REQUEST_HEADERS:User-Agent "@pm WebZIP WebCopier Webster WebStripper ... SiteSnagger ProWebWalker CheeseBot"
+
+

pmf

+

Short alias for pmFromFile. +

+

+ pmFromFile

+

Description: Performs a case-insensitive match of the provided + phrases against the desired input value. The operator uses a set-based +matching algorithm (Aho-Corasick), which means that it will match any +number of keywords in parallel. When matching of a large number of +keywords is needed, this operator performs much better than a regular +expression. +

This operator is the same as @pm, except that it takes a list of +files as arguments. It will match any one of the phrases listed in the +file(s) anywhere in the target value. +

Example: +

+
# Detect suspicious user agents using the keywords in 
+# the files /path/to/blacklist1 and blacklist2 (the latter 
+# must be placed in the same folder as the configuration file) 
+SecRule REQUEST_HEADERS:User-Agent "@pm /path/to/blacklist1 blacklist2"
+
+

Notes: +

+
  1. Files must contain exactly one phrase per line. End of line +markers (both LF and CRLF) will be stripped from each phrase and any +whitespace trimmed from both the beginning and the end. Empty lines and +comment lines (those beginning with the # character) will be ignored. +
  2. To allow easier inclusion of phrase files with rule sets, +relative paths may be used to the phrase files. In this case, the path +of the file containing the rule is prepended to the phrase file path. +
  3. The @pm operator phrases do not support metacharacters. +
  4. Because this operator does not check for boundaries when +matching, false positives are possible in some cases. For example, if +you want to use @pm for IP address matching, the phrase 1.2.3.4 will +potentially match more than one IP address (e.g., it will also match +1.2.3.40 or 1.2.3.41). To avoid the false positives, you can use your +own boundaries in phrases. For example, use /1.2.3.4/ instead of just +1.2.3.4. Then, in your rules, also add the boundaries where appropriate. + You will find a complete example in the example. +
+
# Prepare custom REMOTE_ADDR variable 
+SecAction "phase:1,nolog,pass,setvar:tx.REMOTE_ADDR=/%{REMOTE_ADDR}/"
+
+# Check if REMOTE_ADDR is blacklisted 
+SecRule TX:REMOTE_ADDR "@pmFromFile blacklist.txt" "phase:1,deny,msg:'Blacklisted IP address'" 
+
+

The file blacklist.txt may contain: +

+
# ip-blacklist.txt contents:
+# NOTE: All IPs must be prefixed/suffixed with "/" as the rules
+#   will add in this character as a boundary to ensure
+#   the entire IP is matched.
+# SecAction "phase:1,pass,nolog,setvar:tx.remote_addr='/%{REMOTE_ADDR}/'"
+/1.2.3.4/ 
+/5.6.7.8/
+
+
Warning 
Before ModSecurity 2.5.12, the +@pmFromFile operator understood only the LF line endings and did not +trim the whitespace from phrases. If you are using an older version of +ModSecurity, you should take care when editing the phrase files to avoid + using the undesired characters in patterns.e files should be one phrase + per line. End of line markers will be stripped from the phrases (LF and + CRLF), and whitespace is trimmed from both sides of the phrases. Empty +lines and comment lines (beginning with a '#') are ignored. To allow +easier inclusion of phrase files with rulesets, relative paths may be +used to the phrase files. In this case, the path of the file containing +the rule is prepended to the phrase file path. +
+

rbl

+

Description: Looks up the input value in the RBL (real-time +block list) given as parameter. The parameter can be an IPv4 address or a + hostname. +

Example: +

+
SecRule REMOTE_ADDR "@rbl sbl-xbl.spamhaus.org" "phase:1,t:none,pass,nolog,auditlog,msg:'RBL Match for SPAM Source',tag:'AUTOMATION/MALICIOUS',severity:'2',setvar:'tx.msg=%{rule.msg}',setvar:tx.automation_score=+%{tx.warning_anomaly_score},setvar:tx.anomaly_score=+%{tx.warning_anomaly_score}, \
+setvar:tx.%{rule.id}-AUTOMATION/MALICIOUS-%{matched_var_name}=%{matched_var},setvar:ip.spammer=1,expirevar:ip.spammer=86400,setvar:ip.previous_rbl_check=1,expirevar:ip.previous_rbl_check=86400,skipAfter:END_RBL_CHECK"
+
+

rsub

+

Description: Performs regular expression data substitution +when applied to either the STREAM_INPUT_BODY or STREAM_OUTPUT_BODY +variables. This operator also supports macro expasion. +

Syntax: @rsub s/regex/str/[i] +

Examples: +Removing HTML Comments from response bodies: +

+
SecStreamOutBodyInspection On
+SecRule STREAM_OUTPUT_BODY "@rsub s/<!--.*?-->//" "phase:4,t:none,nolog,pass"
+
+

Regular expressions are handled by the PCRE library [11]. ModSecurity +compiles its regular expressions with the following settings: +

+
  1. The entire input is treated as a single line, even when there +are newline characters present. +
  2. All matches are case-sensitive. If you wish to perform +case-insensitive matching, you can either use the lowercase +transformation function or force case-insensitive matching by prefixing +the regular expression pattern with the (?i) modifier (a PCRE feature; +you will find many similar features in the PCRE documentation). +
  3. The PCRE_DOTALL and PCRE_DOLLAR_ENDONLY flags are set during +compilation, meaning that a single dot will match any character, +including the newlines, and a $ end anchor will not match a trailing +newline character. +
+

Regular expressions are a very powerful tool. You are strongly +advised to read the PCRE documentation to get acquainted with its +features. +

+

rx

+

Description: Performs a regular expression match of the +pattern provided as parameter. This is the default operator; the +rules that do not explicitly specify an operator default to @rx. +

Examples: +

+
# Detect Nikto 
+SecRule REQUEST_HEADERS:User-Agent "@rx nikto" phase:1,t:lowercase
+
+# Detect Nikto with a case-insensitive pattern 
+SecRule REQUEST_HEADERS:User-Agent "@rx (?i)nikto" phase:1,t:none
+
+# Detect Nikto with a case-insensitive pattern 
+SecRule REQUEST_HEADERS:User-Agent "(?i)nikto"
+
+

Regular expressions are handled by the PCRE library [12]. ModSecurity +compiles its regular expressions with the following settings: +

+
  1. The entire input is treated as a single line, even when there +are newline characters present. +
  2. All matches are case-sensitive. If you wish to perform +case-insensitive matching, you can either use the lowercase +transformation function or force case-insensitive matching by prefixing +the regular expression pattern with the (?i) modifier (a PCRE feature; +you will find many similar features in the PCRE documentation). +
  3. The PCRE_DOTALL and PCRE_DOLLAR_ENDONLY flags are set during +compilation, meaning that a single dot will match any character, +including the newlines, and a $ end anchor will not match a trailing +newline character. +
+

Regular expressions are a very powerful tool. You are strongly +advised to read the PCRE documentation to get acquainted with its +features. +

+

streq

+

Description: Performs a string comparison and returns true if +the parameter string is identical to the input string. Macro expansion +is performed on the parameter string before comparison. +

Example: +

+
# Detect request parameters "foo" that do not # contain "bar", exactly. 
+SecRule ARGS:foo "!@streq bar"
+
+

validateByteRange

+

Description: Validates that the byte values used in input fall + into the range specified by the operator parameter. This operator +matches on an input value that contains bytes that are not in the +specified range. +

Example: +

+
# Enforce very strict byte range for request parameters (only 
+# works for the applications that do not use the languages other 
+# than English). 
+SecRule ARGS "@validateByteRange 10, 13, 32-126"
+
+

The validateByteRange is most useful when used to detect the presence + of NUL bytes, which don’t have a legitimate use, but which are often +used as an evasion technique. +

+
# Do not allow NUL bytes 
+SecRule ARGS "@validateByteRange 1-255"
+
+
Note 
You can force requests to consist only of +bytes from a certain byte range. This can be useful to avoid stack +overflow attacks (since they usually contain "random" binary content). +Default range values are 0 and 255, i.e. all byte values are allowed. +This directive does not check byte range in a POST payload when +multipart/form-data encoding (file upload) is used. Doing so would +prevent binary files from being uploaded. However, after the parameters +are extracted from such request they are checked for a valid range. +
+

validateByteRange is similar to the ModSecurity 1.X +SecFilterForceByteRange Directive however since it works in a rule +context, it has the following differences: +

+
  • You can specify a different range for different variables. +
  • It has an "event" context (id, msg....) +
  • It is executed in the flow of rules rather than being a built +in pre-check. +
+

validateDTD

+

Description: Validates the XML DOM tree against the supplied +DTD. The DOM tree must have been built previously using the XML request +body processor. This operator matches when the validation fails. +

Example: +

+
# Parse the request bodies that contain XML 
+SecRule REQUEST_HEADERS:Content-Type ^text/xml$ "phase:1,nolog,pass,t:lowercase,ctl:requestBodyProcessor=XML"
+
+# Validate XML payload against DTD 
+SecRule XML "@validateDTD /path/to/xml.dtd" "phase:2,deny,msg:'Failed DTD validation'"
+
+

validateSchema

+

Description: Validates the XML DOM tree against the supplied +XML Schema. The DOM tree must have been built previously using the XML +request body processor. This operator matches when the validation fails. +

Example: +

+
# Parse the request bodies that contain XML 
+SecRule REQUEST_HEADERS:Content-Type ^text/xml$ "phase:1,nolog,pass,t:lowercase,ctl:requestBodyProcessor=XML"
+
+# Validate XML payload against DTD 
+SecRule XML "@validateSchema /path/to/xml.xsd" "phase:2,deny,msg:'Failed DTD validation'"
+
+

validateUrlEncoding

+

Description: Validates the URL-encoded characters in the +provided input string. +

Example: +

+
# Validate URL-encoded characters in the request URI 
+SecRule REQUEST_URI_RAW "@validateUrlEncoding"
+
+

ModSecurity will automatically decode the URL-encoded characters in +request parameters, which means that there is little sense in applying +the @validateUrlEncoding operator to them —that is, unless you know that + some of the request parameters were URL-encoded more than once. Use +this operator against raw input, or against the input that you know is +URL-encoded. For example, some applications will URL-encode cookies, +although that’s not in the standard. Because it is not in the standard, +ModSecurity will neither validate nor decode such encodings. +

+

validateUtf8Encoding

+

Description: Check whether the input is a valid UTF-8 string. +

Example: +

+
# Make sure all request parameters contain only valid UTF-8 
+SecRule ARGS "@validateUtf8Encoding"
+
+

The @validateUtf8Encoding operator detects the following problems: +

+
Not enough bytes 
UTF-8 supports two-, three-, +four-, five-, and six-byte encodings. ModSecurity will locate cases when + one or more bytes is/are missing from a character. +
Invalid characters 
The two most significant +bits in most characters should be fixed to 0x80. Some attack techniques +use different values as an evasion technique. +
Overlong characters 
ASCII characters are mapped + directly into UTF-8, which means that an ASCII character is one UTF-8 +character at the same time. However, in UTF-8 many ASCII characters can +also be encoded with two, three, four, five, and six bytes. This is no +longer legal in the newer versions of Unicode, but many older +implementations still support it. The use of overlong UTF-8 characters +is common for evasion. +
+
Notes 
+
+
  • Most, but not all applications use UTF-8. If you are dealing +with an application that does, validating that all request parameters +are valid UTF-8 strings is a great way to prevent a number of evasion +techniques that use the assorted UTF-8 weaknesses. False positives are +likely if you use this operator in an application that does not use +UTF-8. +
  • Many web servers will also allow UTF-8 in request URIs. If +yours does, you can verify the request URI using @validateUtf8Encoding. +
+

+verifyCC

+

Description: Detects credit card numbers in input. This +operator will first use the supplied regular expression to perform an +initial match, following up with the Luhn algorithm calculation to +minimize false positives. +

Example: +

+
# Detect credit card numbers in parameters and 
+# prevent them from being logged to audit log 
+SecRule ARGS "@verifyCC \d{13,16}" "phase:2,nolog,pass,msg:'Potential credit card number',sanitiseMatched"
+
+

+verifyCPF

+

Description: Detects CPF numbers (Brazilian social number) in +input. This operator will first use the supplied regular expression to +perform an initial match, following up with an algorithm calculation to +minimize false positives. +

Example: +

+
# Detect CPF numbers in parameters and 
+# prevent them from being logged to audit log 
+SecRule ARGS "@verifyCPF /^([0-9]{3}\.){2}[0-9]{3}-[0-9]{2}$/" "phase:2,nolog,pass,msg:'Potential CPF number',sanitiseMatched"
+
+

+verifySSN

+

Description: Detects US social security numbers (SSN) in +input. This operator will first use the supplied regular expression to +perform an initial match, following up with an SSN algorithm calculation + to minimize false positives. +

Example: +

+
# Detect social security numbers in parameters and 
+# prevent them from being logged to audit log 
+SecRule ARGS "@verifySSN \d{3}-?\d{2}-?\d{4}" "phase:2,nolog,pass,msg:'Potential social security number',sanitiseMatched"
+
+

Version: 2.6 +

SSN Format: +

A Social Security number is broken up into 3 sections: +

+
  • Area (3 digits) +
  • Group (2 digits) +
  • Serial (4 digits) +
+

verifySSN checks: +

+
  • Must have 9 digits +
  • Cannot be a sequence number (ie,, 123456789, 012345678) +
  • Cannot be a repetition sequence number ( ie 11111111 , +222222222) +
  • Cannot have area and/or group and/or serial zeroed sequences +
  • Area code must be less than 740 +
  • Area code must be different then 666 +
+

within

+

Description: Returns true if the input value is found anywhere + within the parameter value (the opposite of @contains). Macro expansion + is performed on the parameter string before comparison. +

Example: +

+
# Detect request methods other than GET, POST and HEAD SecRule REQUEST_METHOD "!@within GET,POST,HEAD"
+
+

Macro Expansion

+

Macros allow for using place holders in rules that will be expanded +out to their values at runtime. Currently only variable expansion is +supported, however more options may be added in future versions of +ModSecurity. +

Format: +

+
%{VARIABLE}
+%{COLLECTION.VARIABLE}
+
+

Macro expansion can be used in actions such as initcol, setsid, +setuid, setvar, setenv, logdata. Operators that are evaluated at runtime + support expansion and are noted above. Such operators include +@beginsWith, @endsWith, @contains, @within and @streq. You cannot use +macro expansion for operators that are "compiled" such as @pm, @rx, etc. + as these operators have their values fixed at configure time for +efficiency. +

Some values you may want to expand include: TX, REMOTE_ADDR, +USERID, HIGHEST_SEVERITY, MATCHED_VAR, MATCHED_VAR_NAME, +MULTIPART_STRICT_ERROR, RULE, SESSION, USERID, among others. +

+

Persistant Storage

+

At this time it is only possible to have three collections in which +data is stored persistantly (i.e. data available to multiple requests). +These are: IP, SESSION and USER. +

Every collection contains several built-in variables that are +available and are read-only unless otherwise specified: +

+
  1. CREATE_TIME - date/time of the creation of the +collection. +
  2. IS_NEW - set to 1 if the collection is new (not yet +persisted) otherwise set to 0. +
  3. KEY - the value of the initcol variable (the client's IP + address in the example). +
  4. LAST_UPDATE_TIME - date/time of the last update to the +collection. +
  5. TIMEOUT - date/time in seconds when the collection will +be updated on disk from memory (if no other updates occur). This +variable may be set if you wish to specifiy an explicit expiration time +(default is 3600 seconds). +
  6. UPDATE_COUNTER - how many times the collection has been +updated since creation. +
  7. UPDATE_RATE - is the average rate updates per minute +since creation. +
+

To create a collection to hold session variables (SESSION) use action + setsid. To create a collection to hold user variables (USER) use action + setuid. To create a collection to hold client address variables (IP) +use action initcol. +

+
Note 
ModSecurity implements atomic updates of +persistent variables only for integer variables (counters) at this time. + Variables are read from storage whenever initcol is encountered in the +rules and persisted at the end of request processing. Counters are +adjusted by applying a delta generated by re-reading the persisted data +just before being persisted. This keeps counter data consistent even if +the counter was modified and persisted by another thread/process during +the transaction. +
+
Note 
ModSecurity uses a Berkley Database (SDBM) +for persistant storage. This type of database is generally limited to +storing a maximum of 1008 bytes per key. This may be a limitation if you + are attempting to store a considerable amount of data in variables for a + single key. Some of this limitation is planned to be reduced in a +future version of ModSecurity. +
+

Miscellaneous Topics

+

Impedance Mismatch

+

Web application firewalls have a difficult job trying to make sense +of data that passes by, without any knowledge of the application and its + business logic. The protection they provide comes from having an +independent layer of security on the outside. Because data validation is + done twice, security can be increased without having to touch the +application. In some cases, however, the fact that everything is done +twice brings problems. Problems can arise in the areas where the +communication protocols are not well specified, or where either the +device or the application do things that are not in the specification. +In such cases it may be possible to design payload that will be +interpreted in one way by one device and in another by the other device. + This problem is better known as Impedance Mismatch. It can be exploited + to evade the security devices. +

While we will continue to enhance ModSecurity to deal with +various evasion techniques the problem can only be minimized, but never +solved. With so many different application backend chances are some will + always do something completely unexpected. The only solution is to be +aware of the technologies in the backend when writing rules, adapting +the rules to remove the mismatch. See the next section for some +examples. +

+

+ Impedance Mismatch with PHP Apps

+
  1. When writing rules to protect PHP applications you need to pay +attention to the following facts: +
  2. When "register_globals" is set to "On" request parameters are +automatically converted to script variables. In some PHP versions it is +even possible to override the $GLOBALS array. +
  3. Whitespace at the beginning of parameter names is ignored. +(This is very dangerous if you are writing rules to target specific +named variables.) +
  4. The remaining whitespace (in parameter names) is converted to +underscores. The same applies to dots and to a "[" if the variable name +does not contain a matching closing bracket. (Meaning that if you want +to exploit a script through a variable that contains an underscore in +the name you can send a parameter with a whitespace or a dot instead.) +
  5. Cookies can be treated as request parameters. +
  6. The discussion about variable names applies equally to the +cookie names. +
  7. The order in which parameters are taken from the request and +the environment is EGPCS (environment, GET, POST, Cookies, built-in +variables). This means that a POST parameter will overwrite the +parameters transported on the request line (in QUERY_STRING). +
  8. When "magic_quotes_gpc" is set to "On" PHP will use backslash +to escape the following characters: single quote, double quote, +backslash, and the nul byte. +
  9. If "magic_quotes_sybase" is set to "On" only the single quote +will be escaped using another single quote. In this case the +"magic_quotes_gpc" setting becomes irrelevant. The "magic_quotes_sybase" + setting completely overrides the "magic_quotes_gpc" behaviour but +"magic_quotes_gpc" still must be set to "On" for the Sybase-specific +quoting to be work. +
  10. PHP will also automatically create nested arrays for you. For +example "p[x][y]=1" results in a total of three variables. +
+

+ A Recommended Base Configuration

+

The following is a recommended configuration file which handles the +main ModSecurity directives/setting. These are the items that the Admin + should handle and configure for their own site. These settings should +not be including within 3rd party rules files. +

+
# -- Rule engine initialization ----------------------------------------------
+
+# Enable ModSecurity, attaching it to every transaction. Use detection
+# only to start with, because that minimises the chances of post-installation
+# disruption.
+#
+SecRuleEngine DetectionOnly
+
+
+# -- Request body handling ---------------------------------------------------
+
+# Allow ModSecurity to access request bodies. If you don't, ModSecurity
+# won't be able to see any POST parameters, which opens a large security
+# hole for attackers to exploit.
+#
+SecRequestBodyAccess On
+
+# Maximum request body size we will accept for buffering. If you support
+# file uploads then the value given on the first line has to be as large
+# as the largest file you are willing to accept. The second value refers
+# to the size of data, with files excluded. You want to keep that value as
+# low as practical.
+#
+SecRequestBodyLimit 13107200
+SecRequestBodyNoFilesLimit 131072
+
+# Store up to 128 KB of request body data in memory. When the multipart
+# parser reachers this limit, it will start using your hard disk for
+# storage. That is slow, but unavoidable.
+#
+SecRequestBodyInMemoryLimit 131072
+
+# Verify that we've correctly processed the request body.
+# As a rule of thumb, when failing to process a request body
+# you should reject the request (when deployed in blocking mode)
+# or log a high-severity alert (when deployed in detection-only mode).
+#
+SecRule REQBODY_PROCESSOR_ERROR "!@eq 0" \
+"phase:2,t:none,log,deny,msg:'Failed to parse request body.',severity:2"
+
+# By default be strict with what we accept in the multipart/form-data
+# request body. If the rule below proves to be too strict for your
+# environment consider changing it to detection-only. You are encouraged
+# _not_ to remove it altogether.
+#
+SecRule MULTIPART_STRICT_ERROR "!@eq 0" \
+"phase:2,t:none,log,deny,msg:'Multipart request body \
+failed strict validation: \
+PE %{REQBODY_PROCESSOR_ERROR}, \
+BQ %{MULTIPART_BOUNDARY_QUOTED}, \
+BW %{MULTIPART_BOUNDARY_WHITESPACE}, \
+DB %{MULTIPART_DATA_BEFORE}, \
+DA %{MULTIPART_DATA_AFTER}, \
+HF %{MULTIPART_HEADER_FOLDING}, \
+LF %{MULTIPART_LF_LINE}, \
+SM %{MULTIPART_SEMICOLON_MISSING}, \
+IQ %{MULTIPART_INVALID_QUOTING}, \
+IH %{MULTIPART_INVALID_HEADER_FOLDING}, \
+IH %{MULTIPART_FILE_LIMIT_EXCEEDED}'"
+
+# Did we see anything that might be a boundary?
+#
+SecRule MULTIPART_UNMATCHED_BOUNDARY "!@eq 0" \
+"phase:2,t:none,log,deny,msg:'Multipart parser detected a possible unmatched boundary.'"
+
+# PCRE Tuning
+# We want to avoid a potential RegEx DoS condition
+#
+SecPcreMatchLimit 1000
+SecPcreMatchLimitRecursion 1000
+
+# Some internal errors will set flags in TX and we will need to look for these.
+# All of these are prefixed with "MSC_".  The following flags currently exist:
+#
+# MSC_PCRE_LIMITS_EXCEEDED: PCRE match limits were exceeded.
+#
+SecRule TX:/^MSC_/ "!@streq 0" \
+        "phase:2,t:none,deny,msg:'ModSecurity internal error flagged: %{MATCHED_VAR_NAME}'"
+
+
+# -- Response body handling --------------------------------------------------
+
+# Allow ModSecurity to access response bodies. We leave this disabled
+# because most deployments want to focus on the incoming threats, and
+# leaving this off reduces memory consumption.
+#
+SecResponseBodyAccess Off
+
+# Which response MIME types do you want to inspect? You should adjust the
+# configuration below to catch documents but avoid static files
+# (e.g., images and archives).
+#
+SecResponseBodyMimeType text/plain text/html
+
+# Buffer response bodies of up to 512 KB in length.
+SecResponseBodyLimit 524288
+
+# What happens when we encounter a response body larger than the configured
+# limit? By default, we process what we have and let the rest through.
+# That's somewhat less secure, but does not break any legitimate pages.
+#
+SecResponseBodyLimitAction ProcessPartial
+
+
+# -- Filesystem configuration ------------------------------------------------
+
+# The location where ModSecurity stores temporary files (for example, when
+# it needs to handle a file upload that is larger than the configured limit).
+# If you don't specify a location here your system's default will be used
+# (normally /tmp), but that's less than ideal. It is recommended that you
+# specify a location that's private.
+#
+SecTmpDir /opt/modsecurity/var/tmp/
+
+# The location where ModSecurity will keep its persistent data. This,
+# too, needs to be a place that other users can't access.
+#
+SecDataDir /opt/modsecurity/var/data/
+
+
+# -- File uploads handling configuration -------------------------------------
+
+# The location where ModSecurity stores intercepted uploaded files. This
+# location must be private to ModSecurity. You don't want other users on
+# the server to access the files, do you?
+#
+SecUploadDir /opt/modsecurity/var/upload/
+
+# By default, only keep the files that were determined to be unusual
+# in some way (by an external inspection script). For this to work you
+# will also need at least one file inspection rule.
+#
+SecUploadKeepFiles RelevantOnly
+
+# Uploaded files are by default created with permissions that do not allow
+# any other user to access them. You may need to relax that if you want to
+# interface ModSecurity to an external program (e.g., an anti-virus).
+#
+SecUploadFileMode 0600
+
+
+# -- Debug log configuration -------------------------------------------------
+
+# The default debug log configuration is to duplicate the error, warning
+# and notice messages from the error log.
+#
+SecDebugLog /opt/modsecurity/var/log/debug.log
+SecDebugLogLevel 3
+
+
+# -- Audit log configuration -------------------------------------------------
+
+# Log the transactions that are marked by a rule, as well as those that
+# trigger a server error (determined by a 5xx response status code).
+#
+SecAuditEngine RelevantOnly
+SecAuditLogRelevantStatus "^(?:5|4(?!04))"
+
+# Log everything we know about a transaction.
+SecAuditLogParts ABCDEFHKZ
+
+# Use a single file for logging. This is much easier to look at, but
+# assumes that you will use the audit log only ocassionally.
+#
+SecAuditLogType Serial
+SecAuditLog /opt/modsecurity/var/log/audit.log
+
+# Specify the path for concurrent audit logging.
+SecAuditLogStorageDir /opt/modsecurity/var/audit/
+
+
+# -- Miscellaneous -----------------------------------------------------------
+
+# Use the most commonly used application/x-www-form-urlencded parameter
+# separator. There's probably only one application somewhere that uses
+# something else so don't expect to change this value.
+#
+SecArgumentSeparator &
+
+# Settle on version 0 (zero) cookies, as that is what most applications
+# use. Using an incorrect cookie version may open your installation to
+# evasion attacks (against the rules that examine named cookies).
+#
+SecCookieFormat 0
+
+ + + + + + +
+
+
+
+
+
+
Views
+ +
+
+
Personal tools
+
+
+
    +
+
+
+ + + + + +
+
+ +
+ + + + + + + \ No newline at end of file diff --git a/doc/apache_request_cycle-modsecurity.jpg b/doc/apache_request_cycle-modsecurity.jpg deleted file mode 100644 index 390c649350e15d4a359ca2be8ca15b4a963cc96b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 92271 zcmeFZ2UrwK);Hcb1j&NrG$0@-Ac7#70TED90ZEdxBmqg183X~zf&z*HgOU^h$r&Vr zh~yjxkQ`=+0}M0&_TIhsdiTHK?tc63x8M6LJpFX{bamCK>Z()c{LZfmKZ2hDPTf$s zt^yDc5CC4_KY$+xlz@}O#3aN-CrL<1NJ&qUQP5FRkdsp|)1IcLV`qVKu(PnSaq?W? z<2)nC&Bn$raZd1}h?tldlut@dQdIWBB{9+OnGleYl2VXUFi}!6iE^=ViT=ZX_)h@M zNeGJQEQH_;aDs*aLPLOW2A}{yKmnd|K0-^`Yu9gRY3u0f-PJd+w6eZuV{2#c=I-&()63f@_;E;R*pu*x z_-D@(5|duMOn&n=BQq;I=iU3F;*!#`@`}o;#-`?$*0%PJ&wc#^gG0k3qhrX~x%qDk zi%ZKZ=&kLY-MxLx!QuCM5de^%tMzNm{;Xa!V7*Qd5<&<`zSoQ3geQ1FXb6e8M2Kk> zHA&1}PM;Bdbdv5$TzX*xDfgv2D0&OmUNQzAF(fbgd)0ob*&nM|&_7kPUn}-oy~Y3v z2m$!ho6hE2hW&3Tz~enCKGegz_}O zPPR4rOxHH%{Woc->0_q?JYY(RT|$um&afP&LDl1wE8(lv@Jq(E0G+1te~+zs+(91-Hjin- z!AoFR$SXV$)BC%-VMXQtX7GQZ4F;w-20X||#T|^*)>`M(YZ#8!;}Y1IES|H8@Ia^L z3hc-7;Z4(9Y-pR~5KBDJCtv_9{n9Vb#p8i@@cmozFNF`2@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vw$sOvPZ$^hr=v$d&?eC6cm@>8&^u=^LsFm~z1%o7A}(dkX`D=&4%wdi#|$u7TZTtD;T2ga?^N z;iKB%o;3c-vxLDr6=AnTt~h=RlN?RDM>u(R>B=)Fq2+2af9B*}8r`u^0#FA}U1&hL zbZyu|;ZPULB>W-hpti;E;TWPzvvRnrDX;R@v6xVvhI}I}bB1eHqpM;|(knryhl}-} zObNcB*eCagZ;qItTz2>pH3>nXIo7e(dq9r%7LANT9H|f7dqVr}TcCn^{$%T;4f+H} zBhyoAKm_IZ)Hb=Sn}f2t#I}my7Hns+=lJYKqu{ieVT||ntlSh^=KlMoE2;UET}aDh zwU+~~=RfHD(S6Xd+2i#}XHX(sn0uzZ^v%oYzNagH$@YG!I05QAT2Z3`7xV>0F~_lP z=YZZ2&LM76z*c|Ftw}~OSDF0D?B}KBH*Wtw$%sJzC*`4JpFRiR*0r2C{wk*;tu${^ z^RPIz@|wNQSgFTZ8PGi8Y;ouRhHeoovptaO?)4Q`3wBpV3bQq4;qhNkjTy=7s5H7^vhg#vJn3wCG(+Kldl-FUUOW_w|2c@P8T~YUbWy z)>}q*3T01UKK$X-{!_4n zZYDwciQp5&IC4gUV!Gd$WgG%5vS<#iqs8d*zh(5LNul<8K6Mx`OI{*Lx diff --git a/doc/breach-logo-small.gif b/doc/breach-logo-small.gif deleted file mode 100644 index d732ac5018a0110c7a1bc11349528f3e1bb966c3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2389 zcmV-b399x-Nk%w1VPpU#0Qdg@ML|McT3h=4{`dU;_51$D>Gx8+=R7z$h0yK^pxxE) z`E_%1e|&wEl9R^8#i-u%N4VyvrKPT{tSl)i%gV}?*6;+oF*4iR+tSg|>gwuDy5^?c^DVC8a>?wW+wu~m-oCxPP)$x* zR#t4s>uJU6`27CW)z#ke`WU9)U|wG6=;+Su_~hi|go1+I-Q9c4?XTeUGO**y>-cze zcH{K>jEahg(eL2%``PgNZEI_u+VZ;O_O|2o&d$y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BO-_`$2A@J z%YI zjJVkc9a3Ko+XrU&;|!nwc#TcP#T?*|8_KJFK<@(GfsNp@52OeH{){rbLiR-Ak22fH z&HX@egyGK{w>>2%{i&!$SwYHGxR5paurvM#9{Y1Nm*^5Cn3&SbUdM#4Ox3WF%Zi)P>%CpZBBCJc=rlwg5BSn!WF zkij1Z7(o_O$i;%R5D&`OBPWzmkA&IKj0xMu4gTL_(Y2L%;Ez9y zSO^#an+PNf2o4ip?SQcmHdFy&u)~AyXdo?tpm2)|X`v~U2LfLZ@si3k8$nPhHE61> z8&HhiB>VyYfIlFSe4|*%9FVt+7VyChEvRG%#_^vx?2`!|LPQQI_>cQpu3{e$XENuR zum#*;7KexjAdbcav_;b&YshCGfaVXU)y<0m_`@t_ItxV{;y)m;=KR`mgP!^#VdfBJ zANYVcd0-I{zBmOFG$6|sP7R~YgC{}$kg#RYpam_E-`YmtAvREM8QX#l1&$Vua}5L$ z)-wYQ_`p^^n1Tj``$rs@;ExGtfFL#4CjfFF5K3GlVP;^04~RfSf28ASYh(dC|LPA+ zK#v6B@BkgcLD_Kp!Us7(*BkN>fI18W6+j4sDJb9}5+uU|m94A?Ofe3D{Gk;9h=K=a zp#%Ujct9QlIm9jkkqAN*VjhWj2RTgo4@P7G01N0t#We5>07L+Kql&I{r%T=HTKBpU H2?zi?XVITh diff --git a/doc/hijack-detect.lua b/doc/hijack-detect.lua deleted file mode 100644 index dbaf53cc..00000000 --- a/doc/hijack-detect.lua +++ /dev/null @@ -1,231 +0,0 @@ ---[[ - This is an example ModSecurity 2.5 Lua script to perform Session Hijacking - Detection by storing session information into a SQL database. - - This script simply keeps track of the IP address and User Agent - string for a session. If these change, but keep the same session, - then it is considered hijacking. - - Requires luasqlite3: http://luasqlite.luaforge.net/ - - Author: Brian Rectanus -]]-- - -local t0 = os.clock(); -m.log(9, "HijackDetect: Begin loading script."); - --- Requires luasqlite3: http://luasqlite.luaforge.net/ -require "lsqlite3"; - - ----------------------------------------- ---[[ Edit these to your environment ]]-- ----------------------------------------- - --- Name of the database file -HIJACK_DB = "/tmp/modsec-hijack.db"; - --- Expire session in N seconds (stop tracking session if idle longer than this) -HIJACK_EXPIRE = 300; - --- Always alert even if only one of IP or UserAgent is a mismatch if set true -HIJACK_ALWAYS_ALERT = true; - --- Do not issue warnings at all if set true -HIJACK_NO_WARN = false; - --- What session IDs to look for -HIJACK_SESSID = { - ["REQUEST_COOKIES:sessionid"] = 1, - ["REQUEST_COOKIES:jsessionid"] = 1, - ["REQUEST_COOKIES:sessid"] = 1, - ["REQUEST_COOKIES:phpsessid"] = 1, --- ["REQUEST_COOKIES:aspsession"] = 1, --- ["REQUEST_COOKIES:jservsession"] = 1, --- ["REQUEST_COOKIES:jwsession"] = 1, --- ["REQUEST_COOKIES:aspsession-id"] = 1, --- ["REQUEST_COOKIES:jservsession-id"] = 1, --- ["REQUEST_COOKIES:jwsession-id"] = 1, --- ["REQUEST_COOKIES:aspsession_id"] = 1, --- ["REQUEST_COOKIES:jservsession_id"] = 1, --- ["REQUEST_COOKIES:jwsession_id"] = 1, --- ["REQUEST_COOKIES:cfid"] = 1, --- ["REQUEST_COOKIES:token"] = 1, --- ["REQUEST_COOKIES:sid"] = 1, - ["ARGS:sessionid"] = 1, - ["ARGS:jsessionid"] = 1, - ["ARGS:sessid"] = 1, - ["ARGS:phpsessid"] = 1, --- ["ARGS:aspsession"] = 1, --- ["ARGS:jservsession"] = 1, --- ["ARGS:jwsession"] = 1, --- ["ARGS:aspsession-id"] = 1, --- ["ARGS:jservsession-id"] = 1, --- ["ARGS:jwsession-id"] = 1, --- ["ARGS:aspsession_id"] = 1, --- ["ARGS:jservsession_id"] = 1, --- ["ARGS:jwsession_id"] = 1, --- ["ARGS:cfid"] = 1, --- ["ARGS:token"] = 1, --- ["ARGS:sid"] = 1, -}; - ----------------------------------------- - --- // All the SQL that is used. Probably do not want to touch this. // -- - -HIJACK_CREATE_SQL = [[ - CREATE TABLE sess ( - ip varchar(256) - , ua varchar(256) - , id varchar(256) - , val varchar(256) - , ts INTEGER - , PRIMARY KEY ( ip, ua, id ) - ) -]]; -HIJACK_INDEX_SQL = [[ - CREATE INDEX IF NOT EXISTS session ON sess ( id, val ) -]]; -HIJACK_GET_SQL = [[ - SELECT ua, ip, id, val - FROM sess - WHERE id = :id AND val = :val AND (ip <> :ip OR ua <> :ua) -]]; -HIJACK_ADD_SQL = [[ - INSERT OR REPLACE INTO sess - VALUES (:ip, :ua, :id, :val, :ts) -]] -HIJACK_CLEANUP_SQL = [[ - DELETE FROM sess - WHERE ts <= :ts -]] - --- // The code executed by ModSecurity. // -- - -function main() - m.log(9, "HijackDetect: Begin execution."); - local now = os.time(); - - local db = sqlite3.open(HIJACK_DB); - if db == nil then - return "HijackDetect: Failed to open database, \"" .. HIJACK_DB .. "\""; - end - - -- Retrieve the User Agent String - local ua = m.getvar("REQUEST_HEADERS.User-Agent"); - local ip = m.getvar("REMOTE_ADDR"); - local sess = {}; - local sessn = 0; - - -- Loop through the targets for well-known session IDs - local cookies = m.getvars("REQUEST_COOKIES", "lowercase" ); - for k,v in pairs(cookies) do - name = v["name"]; - if HIJACK_SESSID[name] == 1 then - m.log(9, "HijackDetect: Using sessid " .. name); - sess[name] = v["value"]; - sessn = sessn + 1; - end - end - - local args = m.getvars("ARGS"); - for k,v in pairs(args) do - name = v["name"]; - if HIJACK_SESSID[name] == 1 then - m.log(9, "HijackDetect: Using sessid " .. name); - sess[name] = v["value"]; - sessn = sessn + 1; - end - end - - local n = 0; - local s; - local rc; - - -- Now attempt to create the table (fails if exists, but that is fine) - db:exec(HIJACK_CREATE_SQL); - db:exec(HIJACK_INDEX_SQL); - - -- Cleanup old sessions - m.log(9, "HijackDetect: Cleanup"); - s = db:prepare(HIJACK_CLEANUP_SQL); - if s == nil then - m.log(4, "HijackDetect: Error preparing SQL \"" .. HIJACK_CLEANUP_SQL .."\"" .. rc); - return nil; - end - rc = s:bind_names{ ts=(now - HIJACK_EXPIRE) }; - if rc ~= sqlite3.OK then - m.log(4, "HijackDetect: Error binding data - " .. rc); - return nil; - end - rc = s:step(); - if rc ~= sqlite3.DONE then - m.log(4, "HijackDetect: Error executing - " .. rc); - return nil; - end - s:finalize(); - - -- Make sure the session IDs are the same - m.log(9, "HijackDetect: Fetching"); - s = db:prepare(HIJACK_GET_SQL); - if s == nil then - m.log(4, "HijackDetect: Error preparing SQL \"" .. HIJACK_GET_SQL .."\"" .. rc); - return nil; - end - for sessid, sessval in pairs(sess) do - rc = s:bind_names{ ua=ua, ip=ip, id=sessid, val=sessval}; - if rc ~= sqlite3.OK then - m.log(4, "HijackDetect: Error binding data - " .. rc); - return nil; - end - - -- Alert if another ip/ua has this session - if s:step() == sqlite3.ROW then - local row = s:get_named_values(); - - -- Only alert of both ip/ua change and warn otherwise - if HIJACK_ALWAYS_ALERT or (row["ip"] ~= ip and row["ua"] ~= ua) then - m.log(9, "HijackDetect: End execution (match)."); - return string.format("HijackDetect: Detected session hijacking [ip \"%s\"] [ua \"%s\"] [sessid \"%s\"] [sessval \"%s\"]", ip, ua, sessid, sessval); - elseif HIJACK_NO_WARN == false then - m.log(9, "HijackDetect: End execution (no match)."); - m.log(3, string.format("Warning. Detected possible session hijacking [ip \"%s\"] [ua \"%s\"] [sessid \"%s\"] [sessval \"%s\"]", ip, ua, sessid, sessval)); - return nil; - end - - end - - s:reset(); - end - s:finalize(); - - -- Insert/Update sessions - m.log(9, "HijackDetect: Inserting"); - s = db:prepare(HIJACK_ADD_SQL); - if s == nil then - m.log(4, "HijackDetect: Error preparing SQL \"" .. HIJACK_ADD_SQL .."\"" .. rc); - return nil; - end - for k,v in pairs(sess) do - m.log(9, "HijackDetect: Storing sessid \"" .. k .. "\"."); - rc = s:bind_names{ ua=ua, ip=ip, id=k, val=v, ts=now }; - if rc ~= sqlite3.OK then - m.log(4, "HijackDetect: Error binding data - " .. rc); - return nil; - end - rc = s:step(); - if rc ~= sqlite3.DONE then - m.log(4, "HijackDetect: Error executing - " .. rc); - return nil; - end - s:reset(); - end - s:finalize(); - - m.log(9, "HijackDetect: End execution (no match)."); - return nil; -end - -local t1 = os.clock(); -m.log(9, "HijackDetect: End loading script (" .. os.difftime(t2,t1) .. ")."); diff --git a/doc/html-chunked.xsl b/doc/html-chunked.xsl deleted file mode 100644 index 8b250969..00000000 --- a/doc/html-chunked.xsl +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - - - -modsecurity-reference.css - - -
ModSecurity
-
- - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/doc/html.xsl b/doc/html.xsl deleted file mode 100644 index 4d389ee6..00000000 --- a/doc/html.xsl +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - -
ModSecurity
-
- - - - - - -
-
- -modsecurity-reference.css - -
diff --git a/doc/main-index.html b/doc/main-index.html deleted file mode 100644 index 321caa01..00000000 --- a/doc/main-index.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ModSecurity for Apache Reference - - - - -
-
ModSecurity
-
- -
- -
- -

ModSecurity for Apache Documentation

- -

$version

- - - -
- - - - - diff --git a/doc/migration-matrix.html b/doc/migration-matrix.html deleted file mode 100644 index 70d908a5..00000000 --- a/doc/migration-matrix.html +++ /dev/null @@ -1,74 +0,0 @@ - - - ModSecurity Migration Matrix

ModSecurity Migration Matrix

Version 1.0 / (April 10, 2007)


Migration from 1.x to 2.x

If you are already using an older version of ModSecurity and want to upgrade/migrate your existing custom rules, you will need to ensure that you properly translate all of your Directives to their corresponding 2.0 counterparts. Some directives have simply changed names, however some directives actually behave differently so it is important that you also review the entire 2.0 Reference Manual. -The migration matrix show below should help you to translate ModSecurity 1.X directives to the 2.0 values. There are also some notes that provide additional information is a directive significantly changed how it operates. -

Feature/CapabilityModSecurity 1.xModSecurity 2.xNotesHow To Upgrade
Apache Version SupportedApache 1.x/2.xApache 2.x OnlyModSecurity 2.0 will only work with Apache 2.x and not the older 1.3 version.If you are mainly an Apache 1.3 shop and/or you have other web servers that you want to protect (such as IIS) an alternative solution is to deploy an Apache 2.x reverse proxy server and implement ModSecurity 2.x on it.
InstallationCan be installed as either a DSO module or as a statically compiled module.Can currently only be installed as a DSO module.In 1.x, you could use apxs directly, while in 2.x you must use the provided Makefile.If you can not use DSOs in your current Apache configs, you may look at implementing a front-end Apache reverse proxy server.
Configuration - IfModuleApache 1.x - <IfModule mod_security.c> - -Apache 2.x - <IfModule security_module><IfModule security2_module>The syntax of using IfModule has changed between Apache 1.x and 2.xMake sure that any existing <IfModule> directives uses the correct syntax.
Processing Phases Supported25ModSecurity 1.x supports:
  • Inbound - which corresponds to current Mod 2.x Request Body phase and the Apache “fixups” phase.

  • Outbound - which corresponds to current Mod 2.x Response Body phase and just after the Apache “response” processing phase.

ModSecurity 2.x supports:
  • Request Headers – which corresponds with the Apache “post-read-request” phase.

  • Request Body – which corresponds with the Apache “fixups” phase.

  • Response Headers – which corresponds to the Apache “response” phase.

  • Response Body – which corresponds to just after the Apache “response” phase.

  • Logging - which is the Apache logging phase.

If you are translating existing 1.x rules (SecFilter/SecFilterSelective) then you should use phase:2 in the new rule syntax. Translate existing OUTPUT rules to run in phase:4.
Directive to turn On/Off the Rule EngineSecFilterEngineSecRuleEngine -ctl:ruleEngine=
  • 1.x – values were On, Off and DynamicOnly and was a Global directive.

  • 2.x - values are On, Off or DetectionOnly.

  • 2.x – the “ctl” action can control the RuleEngine dynamically for individual requests.

Replace SecFilterEngine with SecRuleEngine. The DynamicOnly mode is not supported in ModSecurity 2.x because it was sometimes difficult for ModSecurity to determine if a particular request was dynamic in nature or not. Use of AddType vs. AddHandler would cause problems. Since this logic relies on the internal (and not entirely documented) workings of Apache and on the chosen configuration it also makes it somewhat unpredictable.
Directive to handle the Audit EngineSecAuditEngine On, Off, RelevantOnly, DynamicOrRelevantSecAuditEngine On, Off, RelevantOnlyIn 2.x, the DynamicOrRelevant option was discontinued.If you are using DynamicOrRelevant then switch it to RelevantOnly.
Default Rule ActionSecFilterDefaultActionSecDefaultAction
  • 1.x – SecFilterDefaultAction could be used anywhere in the config and it would be picked up by all rules.

  • 2.x – SecDefaultAction must come before rules and be specified in each context. The default setting for this directive (if it is not specified otherwise) is – -SecDefaultAction phase:2,log,deny,status:403,\

    t:lowercase,t:replaceNulls,\

    t:compressWhitespace

Replace SecFilterDefaultAction with SecDefaultAction. Optionally, you can group rules together where you would like to use the same action and then specify a SecDefaultAction line before each group. - -Also keep in mind that while most actions specified on individual rules will supersede those specified in SecDefaultAction, transformation functions are additive. So, if you specify a “t:base64Decode” transformation function to a rule, it will be added after the lowercase, replaceNulls and compressWhitespace transformation functions.
Debug LoggingSecFilterDebugLog -SecFilterDebugLogLevelSecDebugLog -SecDebugLogLevelName change only.Change the names of these directives to their 2.x counterparts.
Rule Directive(s)SecFilter -SecFilterSelectiveSecRule
  • In Mod 1.x, SecFilter and SecFilterSelective were case insensitive.

  • In Mod 2.x, the case of data is not altered unless the lowercase transformation funce is used. -SecRule has essentially the same rule syntax as SecFilterSelective.

Replace SecFilterSelective with SecRule and make sure to translate the variable tested according to this list. -Replace any SecFilter with a new SecRule directive. You will need to specify a new Variable location and a phase. You can optionally specify a disruptive action, otherwise it will be inherited from a previous SecDefaultAction. -
Rule ExceptionsWhitelist approach – use pass, allow actions -False Positive Approach – use SecFilterRemoveWhitelist approach – use pass, allow and ctl actions. -False Positive Approach – use SecRuleRemoveById and Apache Scope contextIn Mod 2.x, using the “allow” action may not be enough to truly let a request through as “allow” only applies to the current processing phase. This means that rules in subsequent phases may act on the request. This is why you need to also use the “ctl:ruleEngine=Off” action if you really want to let a request through.See Blog post on handling false positives and creating custom rules - http://www.modsecurity.org/blog/archives/2007/02/handling_false.html
Directive to control rule inheritance to Apache Scope locations (Virtual Hosts, Location, Directory)SecFilterInheritanceSecRuleInheritanceThe best use of this directive is when you want to start with a “clean slate” so you can use SecRuleInheritance Off and then specify your new rule sets. -Note – Rule Inheritance does not work across Apache Scope directives (such as Vhosts, Location and Directory directives). This means that you can not use SecRuleInheritance On to inherit a SecDefaultAction directive within these new contexts. This is an issue with the way that Apache inherits contexts. It is for this reason that we recommend that you specify new SecDefaultAction directives within each Apache scope location that you create.Translate any existing “SecFilterInheritance Off” rules directly to “SecRuleInheritance Off”. -Then replace any “SecFilterInheritance On” directives inside Apache Scope context locations with a new SecDefaultAction directive and then import the rules that you want with standard Apache Include directives.
Ability to manage rules in Apache Scope locationsSecFilterImport -SecFilterRemoveSecRuleRemoveById -SecRuleRemoveByMsgSecFilterRemove is now SecRuleRemoveById or SecRuleRemoveByMsg. SecFilterImport is no longer supported.Change all of your existing SecFilterRemove rules to SecRuleRemoveById. For any existing SecFilterImport rules, you will need to either copy the rule into the context or use an Apache Include Directive to include entire files (such as including the Core Rules files).
Ability to verify URL/UTF8 EncodingsSecFilterCheckURLEncoding -SecFilterCheckUnicodeEncoding @validateUrlEncoding -@validateUtf8Encoding In Mod 1.x, these were Global Directives and in Mod 2.x they are Operators that can be applied selectively to each rule.Add the rules that will do exactly the same as the directives
Ability to enforce a Byte Range (allowed character set)SecFilterForceByteRange@validateByteRangeIn Mod 1.x, this was a Global Directive and in Mod 2.x it is an Operator that can be applied selectively to each rule. -In Mod 1.x, this directive did not check POST payloads when multipart/form-data encoding was used.You can now add @validateByteRange operators to individual rules. This helps if you have differences in allowed character sets for different portions of the web application.
Ability to Normalize/Transform Request DataModSecurity 1.x automatically applied the following transformations:
  • On Windows only, convert \ to /

  • Reduce /./ to /

  • Reduce // to /

  • Decode URL-encoded characters

  • Converts Null Bytes to Space character

  • base64Decode

  • base64Encode

  • compressWhitespace

  • escapeSeqDecode

  • hexDecode

  • hexEncode

  • htmlEntityDecode

  • lowercase

  • md5

  • none

  • normalisePath

  • normalisePathWin

  • removeNulls

  • removeWhitespace

  • replaceComments

  • replaceNulls

  • urlDecode

  • urlDecodeUni

  • urlEncode

  • sha1

In Mod 1.x, the normalization functions were implicit and you could not control them. In Mod 2.x, not normalization is done by default. There are now “Transformation Functions” that allow you to selectively apply normalizations and other features.You should add the appropriate transformation functions to either SecDefaultAction directive or each individual rule. See the Core Rules files for examples. -Keep in mind that transformation functions are inherited from parent SecDefaultAction directives. Care should be taken to ensure that RegEx patterns match the data after transformation functions are applied. In order to avoid possible unwanted inherited transformation functions, use “t:none” to either not apply any transformation functions or you can then specify specific transformation functions after “t:none”.
Ability to specify an arbitrary Request Header in a ruleHEADER_headername -HTTP_headernameREQUEST_HEADERS REQUEST_HEADERS:headername -REQUEST_HEADERS:/RegEx/The HTTP_headername syntax has been superseded by the new REQUEST_HEADERS:headername syntax and will not be supported in future releases. The advantage to using the new syntax is that you can also use RegEx in the headername portion.Translate any existing HTTP_headername directives to REQUEST_HEADERS:headername. Also consider consolidating header checks by using Regular Expressions in the header name portion of the Variable.
Variable/Location for the entire URL Request LineTHE_REQUESTREQUEST_LINEFunctions the same. The variable includes the Request Method, URI and HTTP version data.Translate any existing THE_REQUEST directives to REQUEST_LINE directives.
Variable/Location for ArgumentsARG_nameARGS:name -ARGS:/RegEx/Similar to the HTTP_headername situation, the advantage of the new syntax is the ability to use RegEx in the argument name.Translate any existing ARG_name directives to ARGS:name directives.
Accessing Request BodiesSecFilterScanPOST -POST_PAYLOADSecRequestBodyAccess -Phase:2 -REQUEST_BODYIn 2.x, the directive is now called SecRequestBodyAccess and it is more flexible than SecFilterScanPOST as it is able to inspect all request bodies (such as PUT and XML, etc…) and not just POST payloads.Replace the existing SecFilterScanPOST directive with SecRequestBodyAccess. -For individual rules where you want to inspect the request bodies, you must specify REQUEST_BODY as the variable and you also must ensure that it is running in phase:2 (by either an inherited SecDefaultAction setting or by explicitly specifying the phase within the rule action).
Ability to disable POST/Request buffering dynamicallyMODSEC_NOPOSTBUFFERINGctl:requestBodyAccess=OffIn 2.x, you can use the ctl action to turn on/off request body access on a per rule basis.Take any existing entries in the httpd.conf file that set the MODSEC_NOPOSTBUFFERING Env variable and translate them to Mod 2.x rules.
Accessing CookiesCOOKIES -COOKIES_COUNT -COOKIES_NAMES -COOKIES_VALUES -COOKIE_nameREQUEST_HEADERS:Cookie -REQUEST_COOKIES_NAMES REQUEST_COOKIES_NAMES:name -REQUEST_COOKIES_NAMES:/RegEx/ -REQUEST_COOKIES -REQUEST_COOKIES:name REQUEST_COOKIES:/RegEx/ In 2.x, you can use the “&” character to “count” the number of variables. -While there are different ways to access request cookies, the main difference between them are that REQUEST_HEADERS:Cookie will include all of the “raw” Cookie data while any of the REQUEST_COOKIES variable values are parsed.Translate rules as follows – -Mod 1.x -> Mod 2.x -COOKIES -> REQUEST_COOKIES -COOKIES_COUNT -> &REQUEST_COOKIES -COOKIES_NAMES -> REQUEST_COOKIES_NAMES COOKIES_VALUES -> REQUEST_COOKIES -COOKIE_name -> REQUEST_COOKIES:name
Counting VariablesARGS_COUNT -COOKIES_COUNT -HEADERS_COUNT -FILES_COUNT&ARGS -&REQUEST_COOKIES &REQUEST_HEADERS -&FILESIn 2.x, prepending the “&” character will count the number of variables. Example – -1.x – HEADERS_COUNT -2.x - &REQUEST_HEADERSTranslate existing 1.x rules as listed.
Accessing HTTP Status CodeOUTPUT_STATUSRESPONSE_STATUS -Phase:3In 2.x, you need to specify both the RESPONSE_STATUS variable and phase:3 with the rule.Translate any existing 1.x OUTPUT STATUS rules to use RESPONSE_STATUS and phase:3.
Accessing Response Bodies/Post PayloadsSecFilterScanOutput -SecFilterOutputMimeTypes -OUTPUTSecResponseBodyAccess -SecResponseBodyMimeTypes -RESPONSE_BODY -Phase:4In 1.x, neither skipnext nor chain could be used on the OUTPUT location. -In 2.x, both actions can be used on RESPONSE_BODYTranslate directives/rules as follows – -Mod 1.x -> Mod 2.x -SecFilterScanOutput -> SecResponseBodyAccess -SecFilterOutputMimeTypes -> SecResponseBodyMimeTypes -OUTPUT -> RESPONSE_BODY/Phase:4
Cookie NormalizationSecFilterCookieFormat -SecFilterNormalizeCookiesSecCookieFormatSecFilterNormalizeCookies is no longer supported as Mod 2.x transformation functions can now be used to normalize all Variables including Cookie data.Change SecFilterCookieFormat to SecCookieFormat. -When specifying Cookie variables, then apply the applicable transformation functions in the action field of the rule.
Ability to skip rulesskipnextskipIn Mod 2.x – skip takes into account chained rulesets and treats them as 1 rule. -In Mod 1.x – skipnext treated each rule directive as an individual rule regardless of whether or not they were tied together as a chained ruleset.Translate all skipnext rules to skip, however make sure to factor in any chained rulesets that may follow and adjust the skip number accordingly.
Adding/Removing Audit Log Data on a per rule basislogpartsclt:auditLogParts=The rules function the same.Translate any existing logparts actions to the ctl:auditLogParts equivalent.
Inspecting uploaded filesSecUploadApproveScript@inspectFile -FILES_TMPNAMESThe main difference here is that now @inspectFile is an Operator vs. a global Directive. This means that you can apply @inspectFile to individual rules and use different scripts as appropriate. -Also, the return codes are now reversed – -In 1.x, a return code of “1” means that the file would be allowed. -In 2.x, a return code of “1” means that the file would be denied. In order to scan/inspect uploaded files in 2.x, you need to create specific rules that use the FILES_TMPNAMES variable (as these are the names of the files that are temporarily stored on disk) and then use the @inspectFile Operator on each rule. -Also, make sure to swap your return codes in existing scripts as mentioned in the notes column.
Memory limits for uploaded filesSecUploadInMemoryLimitSecRequestBodyInMemoryLimitThese two directives function the same.Change the SecUploadInMemoryLimit directive to SecRequestBodyInMemoryLimit.
diff --git a/doc/migration-matrix.xml b/doc/migration-matrix.xml deleted file mode 100644 index 6bd5f049..00000000 --- a/doc/migration-matrix.xml +++ /dev/null @@ -1,808 +0,0 @@ - -
- ModSecurity Migration Matrix - - - Version 1.0 / (April 10, 2007) - - - 2004-2010 - - Breach Security, Inc. (http://www.breach.com) - - - -
- Migration from 1.x to 2.x - -
- If you are already using an older version of ModSecurity and want - to upgrade/migrate your existing custom rules, you will need to ensure - that you properly translate all of your Directives to their - corresponding 2.0 counterparts. Some directives have simply changed - names, however some directives actually behave differently so it is - important that you also review the entire 2.0 Reference Manual. The - migration matrix show below should help you to translate ModSecurity 1.X - directives to the 2.0 values. There are also some notes that provide - additional information is a directive significantly changed how it - operates. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Feature/Capability - - ModSecurity 1.x - - ModSecurity 2.x - - Notes - - How To Upgrade -
- Apache Version Supported - Apache 1.x/2.xApache 2.x OnlyModSecurity 2.0 will only work with Apache 2.x and not the older - 1.3 version.If you are mainly an Apache 1.3 shop and/or you have other web - servers that you want to protect (such as IIS) an alternative - solution is to deploy an Apache 2.x reverse proxy server and - implement ModSecurity 2.x on it.
- Installation - Can be installed as either a DSO module or as a statically - compiled module.Can currently only be installed as a DSO module.In 1.x, you could use apxs directly, while in 2.x you must use - the provided Makefile.If you can not use DSOs in your current Apache configs, you may - look at implementing a front-end Apache reverse proxy server.
- Configuration - IfModule - Apache 1.x - <IfModule mod_security.c> Apache 2.x - - <IfModule security_module><IfModule security2_module>The syntax of using IfModule has changed between Apache 1.x and - 2.xMake sure that any existing <IfModule> directives uses the - correct syntax.
- Processing Phases Supported - 25ModSecurity 1.x supports: - - Inbound - which corresponds to current Mod 2.x Request - Body phase and the Apache “fixups” phase. - - - - Outbound - which corresponds to current Mod 2.x Response - Body phase and just after the Apache “response” processing - phase. - - ModSecurity 2.x supports: - - Request Headers – which corresponds with the Apache - “post-read-request” phase. - - - - Request Body – which corresponds with the Apache - “fixups” phase. - - - - Response Headers – which corresponds to the Apache - “response” phase. - - - - Response Body – which corresponds to just after the - Apache “response” phase. - - - - Logging - which is the Apache logging phase. - - If you are translating existing 1.x rules - (SecFilter/SecFilterSelective) then you should use phase:2 in the - new rule syntax. Translate existing OUTPUT rules to run in - phase:4.
- Directive to turn On/Off the Rule - Engine - SecFilterEngineSecRuleEngine ctl:ruleEngine= - - - 1.x – values were On, Off and DynamicOnly and was a - Global directive. - - - - 2.x - values are On, Off or DetectionOnly. - - - - 2.x – the “ctl” action can control the RuleEngine - dynamically for individual requests. - - - Replace SecFilterEngine with SecRuleEngine. The DynamicOnly mode - is not supported in ModSecurity 2.x because it was sometimes - difficult for ModSecurity to determine if a particular request was - dynamic in nature or not. Use of AddType vs. AddHandler would cause - problems. Since this logic relies on the internal (and not entirely - documented) workings of Apache and on the chosen configuration it - also makes it somewhat unpredictable.
- Directive to handle the Audit - Engine - SecAuditEngine On, Off, RelevantOnly, DynamicOrRelevantSecAuditEngine On, Off, RelevantOnlyIn 2.x, the DynamicOrRelevant option was discontinued.If you are using DynamicOrRelevant then switch it to - RelevantOnly.
- Default Rule Action - SecFilterDefaultActionSecDefaultAction - - - 1.x – SecFilterDefaultAction could be used anywhere in - the config and it would be picked up by all rules. - - - - 2.x – SecDefaultAction must come before rules and be - specified in each context. The default setting for this - directive (if it is not specified otherwise) is – - SecDefaultAction - phase:2,log,deny,status:403,\ - - - t:lowercase,t:replaceNulls,\ - - - - t:compressWhitespace - - - - Replace SecFilterDefaultAction with SecDefaultAction. - Optionally, you can group rules together where you would like to use - the same action and then specify a SecDefaultAction line before each - group. Also keep in mind that while most actions specified on - individual rules will supersede those specified in SecDefaultAction, - transformation functions are additive. So, if you specify a - “t:base64Decode” transformation function to a rule, it will be added - after the lowercase, replaceNulls and compressWhitespace - transformation functions.
- Debug Logging - SecFilterDebugLog SecFilterDebugLogLevelSecDebugLog SecDebugLogLevelName change only.Change the names of these directives to their 2.x - counterparts.
- Rule Directive(s) - SecFilter SecFilterSelectiveSecRule - - - In Mod 1.x, SecFilter and SecFilterSelective were case - insensitive. - - - - In Mod 2.x, the case of data is not altered unless the - lowercase transformation funce is used. SecRule has - essentially the same rule syntax as SecFilterSelective. - - - Replace SecFilterSelective with SecRule and make sure to - translate the variable tested according to this list. Replace any - SecFilter with a new SecRule directive. You will need to specify a - new Variable location and a phase. You can optionally specify a - disruptive action, otherwise it will be inherited from a previous - SecDefaultAction.
- Rule Exceptions - Whitelist approach – use pass, allow actions False Positive - Approach – use SecFilterRemoveWhitelist approach – use pass, allow and ctl actions. False - Positive Approach – use SecRuleRemoveById and Apache Scope - contextIn Mod 2.x, using the “allow” action may not be enough to truly - let a request through as “allow” only applies to the current - processing phase. This means that rules in subsequent phases may act - on the request. This is why you need to also use the - “ctl:ruleEngine=Off” action if you really want to let a request - through.See Blog post on handling false positives and creating custom - rules - - http://www.modsecurity.org/blog/archives/2007/02/handling_false.html
- Directive to control rule inheritance to - Apache Scope locations (Virtual Hosts, Location, - Directory) - SecFilterInheritanceSecRuleInheritanceThe best use of this directive is when you want to start with a - “clean slate” so you can use SecRuleInheritance Off and then specify - your new rule sets. Note – Rule Inheritance does not work across - Apache Scope directives (such as Vhosts, Location and Directory - directives). This means that you can not use SecRuleInheritance On - to inherit a SecDefaultAction directive within these new contexts. - This is an issue with the way that Apache inherits contexts. It is - for this reason that we recommend that you specify new - SecDefaultAction directives within each Apache scope location that - you create.Translate any existing “SecFilterInheritance Off” rules directly - to “SecRuleInheritance Off”. Then replace any “SecFilterInheritance - On” directives inside Apache Scope context locations with a new - SecDefaultAction directive and then import the rules that you want - with standard Apache Include directives.
- Ability to manage rules in Apache Scope - locations - SecFilterImport SecFilterRemoveSecRuleRemoveById SecRuleRemoveByMsgSecFilterRemove is now SecRuleRemoveById or SecRuleRemoveByMsg. - SecFilterImport is no longer supported.Change all of your existing SecFilterRemove rules to - SecRuleRemoveById. For any existing SecFilterImport rules, you will - need to either copy the rule into the context or use an Apache - Include Directive to include entire files (such as including the - Core Rules files).
- Ability to verify URL/UTF8 - Encodings - SecFilterCheckURLEncoding SecFilterCheckUnicodeEncoding @validateUrlEncoding @validateUtf8Encoding In Mod 1.x, these were Global Directives and in Mod 2.x they are - Operators that can be applied selectively to each rule.Add the rules that will do exactly the same as the - directives
- Ability to enforce a Byte Range (allowed - character set) - SecFilterForceByteRange@validateByteRangeIn Mod 1.x, this was a Global Directive and in Mod 2.x it is an - Operator that can be applied selectively to each rule. In Mod 1.x, - this directive did not check POST payloads when multipart/form-data - encoding was used.You can now add @validateByteRange operators to individual - rules. This helps if you have differences in allowed character sets - for different portions of the web application.
- Ability to Normalize/Transform Request - Data - ModSecurity 1.x automatically applied the following - transformations: - - On Windows only, convert \ to / - - - - Reduce /./ to / - - - - Reduce // to / - - - - Decode URL-encoded characters - - - - Converts Null Bytes to Space character - - - - - base64Decode - - - - base64Encode - - - - compressWhitespace - - - - escapeSeqDecode - - - - hexDecode - - - - hexEncode - - - - htmlEntityDecode - - - - lowercase - - - - md5 - - - - none - - - - normalisePath - - - - normalisePathWin - - - - removeNulls - - - - removeWhitespace - - - - replaceComments - - - - replaceNulls - - - - urlDecode - - - - urlDecodeUni - - - - urlEncode - - - - sha1 - - - In Mod 1.x, the normalization functions were implicit and you - could not control them. In Mod 2.x, not normalization is done by - default. There are now “Transformation Functions” that allow you to - selectively apply normalizations and other features.You should add the appropriate transformation functions to - either SecDefaultAction directive or each individual rule. See the - Core Rules files for examples. Keep in mind that transformation - functions are inherited from parent SecDefaultAction directives. - Care should be taken to ensure that RegEx patterns match the data - after transformation functions are applied. In order to avoid - possible unwanted inherited transformation functions, use “t:none” - to either not apply any transformation functions or you can then - specify specific transformation functions after “t:none”.
- Ability to specify an arbitrary Request - Header in a rule - HEADER_headername HTTP_headernameREQUEST_HEADERS REQUEST_HEADERS:headername - REQUEST_HEADERS:/RegEx/The HTTP_headername syntax has been superseded by the new - REQUEST_HEADERS:headername syntax and will not be supported in - future releases. The advantage to using the new syntax is that you - can also use RegEx in the headername portion.Translate any existing HTTP_headername directives to - REQUEST_HEADERS:headername. Also consider consolidating header - checks by using Regular Expressions in the header name portion of - the Variable.
- Variable/Location for the entire URL Request - Line - THE_REQUESTREQUEST_LINEFunctions the same. The variable includes the Request Method, - URI and HTTP version data.Translate any existing THE_REQUEST directives to REQUEST_LINE - directives.
- Variable/Location for Arguments - ARG_nameARGS:name ARGS:/RegEx/Similar to the HTTP_headername situation, the advantage of the - new syntax is the ability to use RegEx in the argument name.Translate any existing ARG_name directives to ARGS:name - directives.
- Accessing Request Bodies - SecFilterScanPOST POST_PAYLOADSecRequestBodyAccess Phase:2 REQUEST_BODYIn 2.x, the directive is now called SecRequestBodyAccess and it - is more flexible than SecFilterScanPOST as it is able to inspect all - request bodies (such as PUT and XML, etc…) and not just POST - payloads.Replace the existing SecFilterScanPOST directive with - SecRequestBodyAccess. For individual rules where you want to inspect - the request bodies, you must specify REQUEST_BODY as the variable - and you also must ensure that it is running in phase:2 (by either an - inherited SecDefaultAction setting or by explicitly specifying the - phase within the rule action).
- Ability to disable POST/Request buffering - dynamically - MODSEC_NOPOSTBUFFERINGctl:requestBodyAccess=OffIn 2.x, you can use the ctl action to turn on/off request body - access on a per rule basis.Take any existing entries in the httpd.conf file that set the - MODSEC_NOPOSTBUFFERING Env variable and translate them to Mod 2.x - rules.
- Accessing Cookies - COOKIES COOKIES_COUNT COOKIES_NAMES COOKIES_VALUES - COOKIE_nameREQUEST_HEADERS:Cookie REQUEST_COOKIES_NAMES - REQUEST_COOKIES_NAMES:name REQUEST_COOKIES_NAMES:/RegEx/ - REQUEST_COOKIES REQUEST_COOKIES:name REQUEST_COOKIES:/RegEx/ In 2.x, you can use the “&” character to “count” the number - of variables. While there are different ways to access request - cookies, the main difference between them are that - REQUEST_HEADERS:Cookie will include all of the “raw” Cookie data - while any of the REQUEST_COOKIES variable values are parsed.Translate rules as follows – Mod 1.x -> Mod 2.x COOKIES -> - REQUEST_COOKIES COOKIES_COUNT -> &REQUEST_COOKIES - COOKIES_NAMES -> REQUEST_COOKIES_NAMES COOKIES_VALUES -> - REQUEST_COOKIES COOKIE_name -> REQUEST_COOKIES:name
- Counting Variables - ARGS_COUNT COOKIES_COUNT HEADERS_COUNT FILES_COUNT&ARGS &REQUEST_COOKIES &REQUEST_HEADERS - &FILESIn 2.x, prepending the “&” character will count the number - of variables. Example – 1.x – HEADERS_COUNT 2.x - - &REQUEST_HEADERSTranslate existing 1.x rules as listed.
- Accessing HTTP Status Code - OUTPUT_STATUSRESPONSE_STATUS Phase:3In 2.x, you need to specify both the RESPONSE_STATUS variable - and phase:3 with the rule.Translate any existing 1.x OUTPUT STATUS rules to use - RESPONSE_STATUS and phase:3.
- Accessing Response Bodies/Post - Payloads - SecFilterScanOutput SecFilterOutputMimeTypes OUTPUTSecResponseBodyAccess SecResponseBodyMimeTypes RESPONSE_BODY - Phase:4In 1.x, neither skipnext nor chain could be used on the OUTPUT - location. In 2.x, both actions can be used on RESPONSE_BODYTranslate directives/rules as follows – Mod 1.x -> Mod 2.x - SecFilterScanOutput -> SecResponseBodyAccess - SecFilterOutputMimeTypes -> SecResponseBodyMimeTypes OUTPUT -> - RESPONSE_BODY/Phase:4
- Cookie Normalization - SecFilterCookieFormat SecFilterNormalizeCookiesSecCookieFormatSecFilterNormalizeCookies is no longer supported as Mod 2.x - transformation functions can now be used to normalize all Variables - including Cookie data.Change SecFilterCookieFormat to SecCookieFormat. When specifying - Cookie variables, then apply the applicable transformation functions - in the action field of the rule.
- Ability to skip rules - skipnextskipIn Mod 2.x – skip takes into account chained rulesets and treats - them as 1 rule. In Mod 1.x – skipnext treated each rule directive as - an individual rule regardless of whether or not they were tied - together as a chained ruleset.Translate all skipnext rules to skip, however make sure to - factor in any chained rulesets that may follow and adjust the skip - number accordingly.
- Adding/Removing Audit Log Data on a per rule - basis - logpartsclt:auditLogParts=The rules function the same.Translate any existing logparts actions to the ctl:auditLogParts - equivalent.
- Inspecting uploaded files - SecUploadApproveScript@inspectFile FILES_TMPNAMESThe main difference here is that now @inspectFile is an Operator - vs. a global Directive. This means that you can apply @inspectFile - to individual rules and use different scripts as appropriate. Also, - the return codes are now reversed – In 1.x, a return code of “1” - means that the file would be allowed. In 2.x, a return code of “1” - means that the file would be denied. In order to scan/inspect uploaded files in 2.x, you need to - create specific rules that use the FILES_TMPNAMES variable (as these - are the names of the files that are temporarily stored on disk) and - then use the @inspectFile Operator on each rule. Also, make sure to - swap your return codes in existing scripts as mentioned in the notes - column.
- Memory limits for uploaded files - SecUploadInMemoryLimitSecRequestBodyInMemoryLimitThese two directives function the same.Change the SecUploadInMemoryLimit directive to - SecRequestBodyInMemoryLimit.
-
-
-
diff --git a/doc/modsecurity-logo.png b/doc/modsecurity-logo.png deleted file mode 100644 index 7fa98c5a3723a4363e1f258c516232f0bac7331b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 100823 zcmV)KK)Sz)P)3BB%Xs|4HkQSf#o&Ud zo7Yy;)mpnpyeY@C-sN!H(k{bOAhCb0`gOkms8$MQ4a^1xFadu5^L+CH_zyhmGzi>V zpwXl(nC1xIXd`qdkgy2=fA1rmJ}J#*htrGlM#^N`DkfXZ1-(+aX*N zXn~SbdCo2YsY^Q|+aA823QW#=- zwxqE3hT5;p6BzIbMy$aQKvP2>7ZD19xmU%2t24*`Rw~u22P4d->oEKZKzEfSIS_*| znE(G-Q*9Or?BtZ{ve_gA{xjj7f8MqL@%H(x4*EV1j45+21dL-^k?_?Xu*w^FO~YvrwuWD)LQk&$8)7fWI_#cQwkOSr zDr$8qKPL@D<^rjTa9gQk!9k_6%F=U8R;)gJ9q2s2yJ}Q(BZCKS;(5m6%TXFc@HYE5aE$ zuwW0cxH{zG70t+W6rk7Q8_D@QHj^b}l1)jq&Ub6HAl?RlQL)cY*?F*C2LtPXA>!_b zK>BwMifA#+{p=D+ThsSOmKN`aO~2G^0WnI68fuS+#W;qPRAPkLr|2tDv1Hm?o)Zb~9g&6bTBME|Y*CJVriW^}NB&>70nyFeOHCWMQ zRoQXV8MQbqLBAOVw~v^_Jz1%Zn%+#(1Dzzm86x2GlMxFO9TK0h43}g+hB^N88E;zI ziYkist%zp!K!Z>hjA570_txuRmUL=q_c5z@=se?`x0*fzTMuEc_uDkkj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sh)Gm;do7@?DgB#f>MvD+f(N+B?q(QE}1(LPg?RjOzrxS3;-8b(|9NxRh2B7W{I_ zIDAf1znYE4f4D<#j=Sa3t^1h7$}bYOr(DSzIP(nZ({N+3s+uw~Dq{WbH}T)4y~j%A z72?i6rcpRJJ7-yq38v36g0B5NO0~h(;#2SPjTi44gsiaj2{xu8kt%gxsqVW;Hy(t= zllxD&zy$8?i!6hwBZ-Je7b{$IV8{Yh+6U7+Vfv6sRJ(X2_J*YUtK@rO1#ZkZcVC|LkVM&H8LE* z2;cc$YS(kINVZmbTJZs7YcK7CDlxBmr40`7d)4SsL9ojPo62QMh@BX}P z&3D=4BY{^KU2si0C=b}>udio2ZrB3YokDV4E+;2v^6@!a4`|GQs%z?SK>C8g{4I?0 z25Z=kLOF_TaiTilf472U^wjZ z%@Xv|(n4BN(j!B|;a|Ug{rvOz!2_5zdz@@IxWgtd^f7|3*9ul}=keqC@YHZzLeL%u zF?pc??AH9;(qqom;n@r2npM-S^4~Y62=@uf#4zhieWO4)3`8GaU=t|fd~aa|$e3mF z#B5otk;EjXCMIAInwU5;BJ}GcD=TT~atJg%=rYxXnD+l3pe$tdpO+XxwIli;{Z`5U hp2Gb9*}2q21h(TVPk3g2M-YI&dw2Ejl-z=a{U2sFX0HGM diff --git a/doc/modsecurity-reference.css b/doc/modsecurity-reference.css deleted file mode 100644 index 1c89c88d..00000000 --- a/doc/modsecurity-reference.css +++ /dev/null @@ -1,102 +0,0 @@ - -body { - font: 13px/20px Arial, Helvetica; - background-color: white; - width: 800px; -} - -/* TEXT */ - -PRE { - font-size: 100%; - padding: 5px; - border-style: solid; - border-width: 1px; - border-color: #CCCCCC; - background-color: #F5F8FA; -} - -p, td, tr, li, ol, ul { - /*font-family: Trebuchet MS, Verdana, Tahoma, Arial, Helvetica, Geneva;*/ - /*font-family: Arial, Helvetica; - font-size: 14px; - line-height: 24px;*/ -} - -.copyright { - font-size: 10px; -} - -h1 { - padding-top: 40px; - font: 24px/30px Arial, Helvetica; - font-weight: bold; -} - -h2 { - font: 20px/30px Arial, Helvetica; - font-weight: bold; -} - -h3 { - padding-top: 15px; - font: 16px/10px Arial, Helvetica; - font-weight: bold; -} - -h4 { - padding-top: 15px; - font: 14px/10px Arial, Helvetica; - font-weight: bold; -} - - - - -.header { - background-color: #00448B; - border-top: 6px solid #002B6E; - height: 84px; - vertical-align: top; - padding-left: 20px; - padding-top: 10px; -} - -.topNavigation { - background-color: #EEEEEE; - background: url('g/topnav-background.gif'); - height: 23px; - line-height: 12px; - vertical-align: top; - padding-left: 12px; - padding-top: 5px; -} - -.topLink, A.topLink:link, A.topLink:active, A.topLink:visited { - font-weight: bold; - color: black; - text-decoration: none; - padding-left: 8px; - padding-right: 8px; -} - -A.topLink:hover { - color: #BB0000; -} - -#navheader td { - font-size: 12px; -} - -#navfooter td { - font-size: 12px; -} - -h3.title { - margin-top: 0px; -} - -.note { - border-top: 1px solid #CCCCCC; - border-bottom: 1px solid #CCCCCC; -} diff --git a/doc/modsecurity.gif b/doc/modsecurity.gif deleted file mode 100644 index 76f5ca1632677cb890e0a5ad57cf47cb8a4a6c8d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2585 zcmV+!3g-1kNk%w1VR!%}0OkMyMS8T;+UNWG{a1IVdy~1WyVD0Zeqx@~4m^P!N{eWu z+9FMj7(|8^LWB}Nfh<&!G+UL8qQhB|$|qKpQi;NvtjcVu-t+bNJ#npVhq6Rxo$c`T zLUys-;_OO*x;kyDV4KktK!Rze+>)imRgK2z?DH^Tp62TExy0F|w9hJ9nIlkm!FW4o`jp2nVgKB zq^Y5Xm8+(xjgO_8v$Kh)u)Ds!qmsX!s<67EtCPvKoXpL&uf)R3$-S!6vX{oYmAI#* z&bZvK!l91m;Mvx|+RCY{*wxL%^V;^HuJyjove%iC0NcSUc8j1fWRs8y)Fn?|EL+tW z4ntRt*D!AL^tB3x1c66$qb#ngn5&qk227Z6`E*ekvt!2^vTS&z$%qjI^!bBn5Z|;- z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BN%W500003 zo6g5V9s-PhoI=pO21j1d5 zX!p4s=Gcr&{EX?<{6jK)dC0c6{f>>eWHOItb-0yM>~3GD-K-|aUm!y4K6{%X--tCx vo - -

- <trademark class="registered">ModSecurity</trademark> Reference - Manual - - - Version 2.6.0-trunk (Feb 11, 2009) - - - 2004-2010 - - Breach Security, Inc. (http://www.breach.com) - - - -
- Introduction - - ModSecurity is a web application firewall (WAF). With over 70% of - attacks now carried out over the web application level, organisations need - all the help they can get in making their systems secure. WAFs are - deployed to establish an increased external security layer to detect - and/or prevent attacks before they reach web applications. ModSecurity - provides protection from a range of attacks against web applications and - allows for HTTP traffic monitoring and real-time analysis with little or - no changes to existing infrastructure. - -
- HTTP Traffic Logging - - Web servers are typically well-equipped to log traffic in a form - useful for marketing analyses, but fall short logging traffic to web - applications. In particular, most are not capable of logging the request - bodies. Your adversaries know this, and that is why most attacks are now - carried out via POST requests, rendering your systems blind. ModSecurity - makes full HTTP transaction logging possible, allowing complete requests - and responses to be logged. Its logging facilities also allow - fine-grained decisions to be made about exactly what is logged and when, - ensuring only the relevant data is recorded. As some of the request - and/or response may contain sensitive data in certain fields, - ModSecurity can be configured to mask these fields before they are - written to the audit log. -
- -
- Real-Time Monitoring and Attack Detection - - In addition to providing logging facilities, ModSecurity can - monitor the HTTP traffic in real time in order to detect attacks. In - this case, ModSecurity operates as a web intrusion detection tool, - allowing you to react to suspicious events that take place at your web - systems. -
- -
- Attack Prevention and Just-in-time Patching - - ModSecurity can also act immediately to prevent attacks from - reaching your web applications. There are three commonly used - approaches: - - - - Negative security model. A negative security model monitors - requests for anomalies, unusual behaviour, and common web - application attacks. It keeps anomaly scores for each request, IP - addresses, application sessions, and user accounts. Requests with - high anomaly scores are either logged or rejected altogether. - - - - Positive security model. When a positive security model is - deployed, only requests that are known to be valid are accepted, - with everything else rejected. This model requires knownledge of the - web applications you are protecting. Therefore a positive security - model works best with applications that are heavily used but rarely - updated so that maintenance of the model is minimized. - - - - Known weaknesses and vulnerabilities. Its rule language makes - ModSecurity an ideal external patching tool. External patching - (sometimes referred to as Virtual Patching) is about reducing the - window of opportunity. Time needed to patch application - vulnerabilities often runs to weeks in many organisations. With - ModSecurity, applications can be patched from the outside, without - touching the application source code (and even without any access to - it), making your systems secure until a proper patch is applied to - the application. - - -
- -
- Flexible Rule Engine - - A flexible rule engine sits in the heart of ModSecurity. It - implements the ModSecurity Rule Language, which is a specialised - programming language designed to work with HTTP transaction data. The - ModSecurity Rule Language is designed to be easy to use, yet flexible: - common operations are simple while complex operations are possible. - Certified ModSecurity Rules, included with ModSecurity, contain a - comprehensive set of rules that implement general-purpose hardening, - protocol validation and detection of common web application security - issues. Heavily commented, these rules can be used as a learning - tool. -
- -
- Embedded-mode Deployment - - ModSecurity is an embeddable web application firewall, which means - it can be deployed as part of your existing web server infrastructure - provided your web servers are Apache-based. This deployment method has - certain advantages: - - - - No changes to existing network. It only takes a few minutes to - add ModSecurity to your existing web servers. And because it was - designed to be completely passive by default, you are free to deploy - it incrementally and only use the features you need. It is equally - easy to remove or deactivate it if required. - - - - No single point of failure. Unlike with network-based - deployments, you will not be introducing a new point of failure to - your system. - - - - Implicit load balancing and scaling. Because it works embedded - in web servers, ModSecurity will automatically take advantage of the - additional load balancing and scalability features. You will not - need to think of load balancing and scaling unless your existing - system needs them. - - - - Minimal overhead. Because it works from inside the web server - process there is no overhead for network communication and minimal - overhead in parsing and data exchange. - - - - No problem with encrypted or compressed content. Many IDS - systems have difficulties analysing SSL traffic. This is not a - problem for ModSecurity because it is positioned to work when the - traffic is decrypted and decompressed. - - -
- -
- Network-based Deployment - - ModSecurity works equally well when deployed as part of an - Apache-based reverse proxy server, and many of our customers choose to - do so. In this scenario, one installation of ModSecurity can protect any - number of web servers (even the non-Apache ones). -
- -
- Portability - - ModSecurity is known to work well on a wide range of operating - systems. Our customers are successfully running it on Linux, Windows, - Solaris, FreeBSD, OpenBSD, NetBSD, AIX, Mac OS X, and HP-UX. -
- -
- Licensing - - ModSecurity is available under two licenses. Users can choose to - use the software under the terms of the GNU General Public License - version 2 (licence text is included with the distribution), as an Open - Source / Free Software product. A range of commercial licenses is also - available, together with a range of commercial support contracts. For - more information on commercial licensing please contact Breach - Security. - - - ModSecurity, mod_security, ModSecurity Pro, and ModSecurity Core - Rules are trademarks or registered trademarks of Breach Security, - Inc. - -
-
- -
- <trademark>ModSecurity Core Rules</trademark> - -
- Overview - - ModSecurity is a web application firewall engine that provides - very little protection on its own. In order to become useful, - ModSecurity must be configured with rules. In order to enable users to - take full advantage of ModSecurity out of the box, Breach Security, Inc. - is providing a free certified rule set for ModSecurity 2.x. Unlike - intrusion detection and prevention systems, which rely on signatures - specific to known vulnerabilities, the Core Rules provide generic - protection from unknown vulnerabilities often found in web applications, - which are in most cases custom coded. The Core Rules are heavily - commented to allow it to be used as a step-by-step deployment guide for - ModSecurity. The latest Core Rules can be found at the ModSecurity - website - http://www.modsecurity.org/projects/rules/. -
- -
- Core Rules Content - - In order to provide generic web applications protection, the Core - Rules use the following techniques: - - - - HTTP protection - detecting violations of the HTTP protocol - and a locally defined usage policy. - - - - Common Web Attacks Protection - detecting common web - application security attack. - - - - Automation detection - Detecting bots, crawlers, scanners and - other surface malicious activity. - - - - Trojan Protection - Detecting access to Trojans horses. - - - - Error Hiding - Disguising error messages sent by the - server. - - -
-
- -
- Installation - - ModSecurity installation requirements: - - - - ModSecurity 2.x works only with Apache 2.0.x or higher. Version - 2.2.x is highly recommended. - - - - Make sure you have mod_unique_id installed. - - mod_unique_id is packaged with Apache httpd. - - - - libapr and libapr-util - - http://apr.apache.org/ - - - - libpcre - - http://www.pcre.org/ - - - - libxml2 - - http://xmlsoft.org/downloads.html - - - - liblua v5.1.x - - This library is optional and only needed if you will be using - the new Lua engine. - - http://www.lua.org/download.html - - Note that ModSecurity requires the dynamic libraries. These are - not built by default in the source distribution, so the binary - distribution is recommended. - - - - libcurl v7.15.1 or higher - - If you will be using the ModSecurity Log Collector (mlogc) to - send audit logs to a central repository, then you will also need the - curl library. - - http://curl.haxx.se/libcurl/ - - - Many have had issues with libcurl linked with the GnuTLS - library for SSL/TLS support. It is recommended that the openssl - library be used for SSL/TLS support in libcurl. - - - - - ModSecurity installation consists of the following steps: - - - - Stop Apache httpd - - - - Unpack the ModSecurity archive - - - - Building differs for UNIX (or UNIX-like) operating systems and - Windows. - - - - UNIX - - - - Run the configure script to generate a Makefile. - Typically no options are needed except the prefix directory - for installation and possibly the location of the Apache apxs - (or apxs2) utility: - - ./configure --prefix=/usr/local/modsecurity - --with-apxs=/path/to/httpd-2.x.y/bin/apxs - - Other options are available for more customization (use - ./configure --help for a full list). - - - There are certain configure options that are meant for - debugging an other development use. If enabled, these - options can substantially impact performance. These options - include all --debug-* options as well as - the --enable-performance-measurements - options. - - - - - Compile with: make - - - - Optionally test with: make - test - - - This is step is still a bit experimental. If you have - problems, please send the full output and error from the - build to the support list. Most common issues are related to - not finding the required headers and/or libraries. - - - - - Install ModSecurity module and utilities with: - make install - - - - - - Windows (MS VC++ 8) - - - - Edit Makefile.win to configure the - Apache base and library paths. - - - - Compile with: nmake -f - Makefile.win - - - - Install the ModSecurity module with: nmake -f - Makefile.win install - - - - Copy the libxml2.dll and - lua5.1.dll to the Apache - bin directory. Alternatively you can follow - the step below for using LoadFile to load these - libraries. - See the included - README_WINDOWS.TXT file for more - details. This file contains the Windows build notes from - Tom Donovan who helps with the Apache Lounge builds - (http://www.apachelounge.com/). - - - - - - - - - Edit the main Apache httpd config file (usually - httpd.conf) - - On UNIX (and Windows if you did not copy the DLLs as stated - above) you must load libxml2 and lua5.1 before ModSecurity with - something like this: - - LoadFile /usr/lib/libxml2.so -LoadFile /usr/lib/liblua5.1.so - - Load the ModSecurity module with:LoadModule security2_module modules/mod_security2.so - - - - Configure ModSecurity - - - - Start Apache httpd - - - - You should now have ModSecurity 2.x up and running. - - - - - If you have compiled Apache yourself you might experience problems - compiling ModSecurity against PCRE. This is because Apache bundles PCRE - but this library is also typically provided by the operating system. I - would expect most (all) vendor-packaged Apache distributions to be - configured to use an external PCRE library (so this should not be a - problem). - - You want to avoid Apache using the bundled PCRE library and - ModSecurity linking against the one provided by the operating system. - The easiest way to do this is to compile Apache against the PCRE library - provided by the operating system (or you can compile it against the - latest PCRE version you downloaded from the main PCRE distribution - site). You can do this at configure time using the --with-pcre switch. If you are not in a - position to recompile Apache, then, to compile ModSecurity successfully, - you'd still need to have access to the bundled PCRE headers (they are - available only in the Apache source code) and change the include path - for ModSecurity (as you did in step 7 above) to point to them (via the - --with-pcre ModSecurity configure option). - - Do note that the current version of PCRE packaged with Apache - 2.2.14 is using an older version which does not support some of the more - advanced features to aide in preventing regex denial of service attacks - (REDoS) on poorly designed regular expressions. - - Non-gcc compilers may have problems running out-of-the-box as the - current build system was designed around the gcc compiler and some - compiler/linker flags may differ. To use a non-gcc compiler you may need - some manual Makefile tweaks if issues cannot be solved by exporting - custom CFLAGS and CPPFLAGS environment variables. - - If you are upgrading from ModSecurity 1.x, please refer to the - migration matrix at http://www.modsecurity.org/documentation/ModSecurity-Migration-Matrix.pdf - -
- -
- Configuration Directives - - The following section outlines all of the ModSecurity directives. - Most of the ModSecurity directives can be used inside the various Apache - Scope Directives such as VirtualHost, - Location, LocationMatch, - Directory, etc... There are others, however, that can - only be used once in the main configuration file. This information is - specified in the Scope sections below. The first version to use a given - directive is given in the Version sections below. - - These rules, along with the Core rules files, should be contained is - files outside of the httpd.conf file and called up with Apache "Include" - directives. This allows for easier updating/migration of the rules. If you - create your own custom rules that you would like to use with the Core - rules, you should create a file called - - modsecurity_crs_15_customrules.conf and place it in - the same directory as the Core rules files. By using this file name, your - custom rules will be called up after the standard ModSecurity Core rules - configuration file but before the other Core rules. This allows your rules - to be evaluated first which can be useful if you need to implement - specific "allow" rules or to correct any false positives in the Core rules - as they are applied to your site. - - - It is highly encouraged that you do not edit the Core rules files - themselves but rather place all changes (such as - SecRuleRemoveByID, etc...) in your custom rules file. - This will allow for easier upgrading as newer Core rules are released by - Breach Security on the ModSecurity website. - - -
- <literal>SecAction</literal> - - Description: Unconditionally processes the - action list it receives as the first and only parameter. It accepts one - parameter, the syntax of which is identical to the third parameter - of SecRule. - - Syntax: SecAction - action1,action2,action3 - - Example Usage: SecAction - nolog,phase:1,initcol:RESOURCE=%{REQUEST_FILENAME} - - Processing Phase: Any - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: None - - SecAction is best used when you unconditionally execute an action. - This is explicit triggering whereas the normal actions are conditional - based on data inspection of the request/response. This is a useful - directive when you want to run certain actions such as - initcol to initialize collections. -
- -
- <literal>SecArgumentSeparator</literal> - - Description: Specifies which character to use - as separator for - application/x-www-form-urlencoded content. Defaults to - &. Applications are sometimes - (very rarely) written to use a semicolon (;). - - Syntax: SecArgumentSeparator character - - Example Usage: SecArgumentSeparator ; - - Processing Phase: Any - - Scope: Main - - Version: 2.0.0 - - Dependencies/Notes: None - - This directive is needed if a backend web application is using a - non-standard argument separator. If this directive is not set properly - for each web application, then ModSecurity will not be able to parse the - arguments appropriately and the effectiveness of the rule matching will - be significantly decreased. -
- -
- <literal>SecAuditEngine</literal> - - Description: Configures the audit logging - engine. - - Syntax: SecAuditEngine On|Off|RelevantOnly - - Example Usage: SecAuditEngine On - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: Can be set/changed with - the "ctl" action for the current transaction. - - Example: The following example shows the various audit directives - used together. - - SecAuditEngine RelevantOnly -SecAuditLog logs/audit/audit.log -SecAuditLogParts ABCFHZ -SecAuditLogType concurrent -SecAuditLogStorageDir logs/audit -SecAuditLogRelevantStatus ^(?:5|4\d[^4]) - - Possible values are: - - - - On - log all transactions - by default. - - - - Off - do not log - transactions by default. - - - - RelevantOnly - by default - only log transactions that have triggered a warning or an error, or - have a status code that is considered to be relevant (see SecAuditLogRelevantStatus). - - -
- -
- <literal>SecAuditLog</literal> - - Description: Defines the path to the main - audit log file. - - Syntax: SecAuditLog - /path/to/auditlog - - Example Usage: SecAuditLog - /usr/local/apache/logs/audit.log - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: This file is open on - startup when the server typically still runs as - root. You should not allow non-root users to have write - privileges for this file or for the directory it is stored in.. - - This file will be used to store the audit log entries if serial - audit logging format is used. If concurrent audit logging format is used - this file will be used as an index, and contain a record of all audit - log files created. If you are planning to use Concurrent audit logging - and sending your audit log data off to a remote Console host or - commercial ModSecurity Management Appliance, then you will need to - configure and use the ModSecurity Log Collector (mlogc) and use the - following format for the audit log: - - - Prior to 2.5.13 you may have been able to use a relative path to - a piped logger command, but this was broken on some platforms and the - feature was removed in 2.5.13 to make the platforms more - consitent. - - - SecAuditLog "|/path/to/mlogc /path/to/mlogc.conf" -
- -
- <literal>SecAuditLog2</literal> - - Description: Defines the path to the - secondary audit log index file when concurrent logging is enabled. See - SecAuditLog2 for more details. - - Syntax: SecAuditLog2 - /path/to/auditlog2 - - Example Usage: SecAuditLog2 - /usr/local/apache/logs/audit2.log - - Processing Phase: N/A - - Scope: Any - - Version: 2.1.2 - - Dependencies/Notes: A main audit log must be - defined via SecAuditLog before this - directive may be used. Additionally, this log is only used for - replicating the main audit log index file when concurrent audit logging - is used. It will not be used for non-concurrent - audit logging. -
- -
- <literal>SecAuditLogDirMode</literal> - - Description: Configures the mode - (permissions) of any directories created for concurrent audit logs using - an octal mode (as used in chmod). See SecAuditLogFileMode for controlling the mode - of audit log files. - - Syntax: SecAuditLogDirMode octal_mode|"default" - - Example Usage: SecAuditLogDirMode 02750 - - Processing Phase: N/A - - Scope: Any - - Version: 2.5.10 - - Dependencies/Notes: This feature is not - available on operating systems not supporting octal file modes. The - default mode (0600) only grants read/write access to the account writing - the file. If access from another account is needed (using mpm-itk is a - good example), then this directive may be required. However, use this - directive with caution to avoid exposing potentially sensitive data to - unauthorized users. Using the value "default" will revert back to the - default setting. - - - The process umask may still limit the mode if it is being more - restrictive than the mode set using this directive. - -
- -
- <literal>SecAuditLogFileMode</literal> - - Description: Configures the mode - (permissions) of any files created for concurrent audit logs using an - octal mode (as used in chmod). See SecAuditLogDirMode for controlling the mode of - created audit log directories. - - Syntax: SecAuditLogFileMode - octal_mode|"default" - - Example Usage: SecAuditLogFileMode 00640 - - Processing Phase: N/A - - Scope: Any - - Version: 2.5.10 - - Dependencies/Notes: This feature is not - available on operating systems not supporting octal file modes. The - default mode (0600) only grants read/write access to the account writing - the file. If access from another account is needed (using mpm-itk is a - good example), then this directive may be required. However, use this - directive with caution to avoid exposing potentially sensitive data to - unauthorized users. Using the value "default" will revert back to the - default setting. - - - The process umask may still limit the mode if it is being more - restrictive than the mode set using this directive. - -
- -
- <literal>SecAuditLogParts</literal> - - Description: Defines which part of each - transaction are going to be recorded in audit log. Each part is assigned - a single letter. If a letter appears in the list then the equivalent - part of each transactions will be recorded. See below for the list of - all parts. - - Syntax: SecAuditLogParts PARTS - - Example Usage: SecAuditLogParts ABCFHZ - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: At this time ModSecurity - does not log response bodies of stock Apache responses (e.g. 404), or the Server and Date response headers. - - Default: ABCFHZ. - - - Please refer to the ModSecurity Data Formats document for a - detailed description of every available part. - - - Available audit log parts: - - - - A - audit log header - (mandatory) - - - - B - request headers - - - - C - request body (present - only if the request body exists and ModSecurity is configured to - intercept it) - - - - D - RESERVED for - intermediary response headers, not implemented yet. - - - - E - intermediary response - body (present only if ModSecurity is configured to intercept - response bodies, and if the audit log engine is configured to record - it). Intermediary response body is the same as the actual response - body unless ModSecurity intercepts the intermediary response body, - in which case the actual response body will contain the error - message (either the Apache default error message, or the - ErrorDocument page). - - - - F - final response headers - (excluding the Date and Server headers, which are always added by - Apache in the late stage of content delivery). - - - - G - RESERVED for the actual - response body, not implemented yet. - - - - H - audit log - trailer - - - - I - This part is a - replacement for part C. It will log the same data as C in all cases - except when multipart/form-data - encoding in used. In this case it will log a fake application/x-www-form-urlencoded body - that contains the information about parameters but not about the - files. This is handy if you don't want to have (often large) files - stored in your audit logs. - - - - J - RESERVED. This part, - when implemented, will contain information about the files uploaded - using multipart/form-data encoding. - - - - K - This part contains a - full list of every rule that matched (one per line) in the order - they were matched. The rules are fully qualified and will thus show - inherited actions and default operators. Supported as of - v2.5.0 - - - - Z - final boundary, - signifies the end of the entry (mandatory) - - -
- -
- <literal>SecAuditLogRelevantStatus</literal> - - Description: Configures which response status - code is to be considered relevant for the purpose of audit - logging. - - Syntax: SecAuditLogRelevantStatus REGEX - - Example Usage: SecAuditLogRelevantStatus - ^(?:5|4\d[^4]) - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: Must have the - SecAuditEngine set to - RelevantOnly. The parameter is a regular - expression. - - The main purpose of this directive is to allow you to configure - audit logging for only transactions that generate the specified HTTP - Response Status Code. This directive is often used to the decrease the - total size of the audit log file. Keep in mind that if this parameter is - used, then successful attacks that result in a 200 OK status code will - not be logged. -
- -
- <literal>SecAuditLogStorageDir</literal> - - Description: Configures the storage directory - where concurrent audit log entries are to be stored. - - Syntax: SecAuditLogStorageDir - /path/to/storage/dir - - Example Usage: SecAuditLogStorageDir - /usr/local/apache/logs/audit - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: SecAuditLogType must be - set to Concurrent. The directory must already be created before starting - Apache and it must be writable by the web server user as new files are - generated at runtime. - - As with all logging mechanisms, ensure that you specify a file - system location that has adequate disk space and is not on the root - partition. -
- -
- <literal>SecAuditLogType</literal> - - Description: Configures the type of audit - logging mechanism to be used. - - Syntax: SecAuditLogType Serial|Concurrent - - Example Usage: SecAuditLogType Serial - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: Must specify - SecAuditLogStorageDir if you use concurrent - logging. - - Possible values are: - - - - Serial - all audit log - entries will be stored in the main audit logging file. This is more - convenient for casual use but it is slower as only one audit log - entry can be written to the file at any one file. - - - - Concurrent - audit log - entries will be stored in separate files, one for each transaction. - Concurrent logging is the mode to use if you are going to send the - audit log data off to a remote ModSecurity Console host. - - -
- -
- <literal>SecCacheTransformations</literal> - (Deprecated/Experimental) - - Description: Controls caching of - transformations. Caching is off by default starting with 2.5.6, when it - was deprecated and downgraded back to experimental. - - Syntax: SecCacheTransformations On|Off - [options] - - Example Usage: SecCacheTransformations On - "minlen:64,maxlen:0" - - Processing Phase: N/A - - Scope: Any - - Version: 2.5.0 - - Dependencies/Notes: N/A - - First parameter: - - - - On - cache transformations - (per transaction, per phase) allowing identical transformations to - be performed only once. (default) - - - - Off - do not cache any - transformations, forcing all transformations to be performed for - each rule executed. - - - - The following options are allowed (comma separated): - - - - incremental:on|off - - enabling this option will cache every transformation instead of just - the final transformation. (default: off) - - - - maxitems:N - do not allow - more than N transformations to be cached. The cache will then be - disabled. A zero value is interpreted as "unlimited". This option - may be useful to limit caching for a form with a large number of - ARGS. (default: 512) - - - - minlen:N - do not cache the - transformation if the value's length is less than N bytes. (default: - 32) - - - - maxlen:N - do not cache the - transformation if the value's length is more than N bytes. A zero - value is interpreted as "unlimited". (default: 1024) - - -
- -
- <literal>SecChrootDir</literal> - - Description: Configures the directory path - that will be used to jail the web server process. - - Syntax: SecChrootDir - /path/to/chroot/dir - - Example Usage: SecChrootDir /chroot - - Processing Phase: N/A - - Scope: Main - - Version: 2.0.0 - - Dependencies/Notes: This feature is not - available on Windows builds. The internal chroot functionality provided - by ModSecurity works great for simple setups. One example of a simple - setup is Apache serving static files only, or running scripts using - modules.builds. Some problems you might encounter with more complex - setups: - - - - DNS lookups do not work (this is because this feature requires - a shared library that is loaded on demand, after chroot takes - place). - - - - You cannot send email from PHP because it uses sendmail and - sendmail is outside the jail. - - - - In some cases Apache graceful (reload) no longer works. - - - - You should be aware that the internal chroot feature might not be - 100% reliable. Due to the large number of default and third-party - modules available for the Apache web server, it is not possible to - verify the internal chroot works reliably with all of them. A module, - working from within Apache, can do things that make it easy to break out - of the jail. In particular, if you are using any of the modules that - fork in the module initialisation phase (e.g. - mod_fastcgi, mod_fcgid, - mod_cgid), you are advised to examine each Apache - process and observe its current working directory, process root, and the - list of open files. Consider what your options are and make your own - decision. -
- -
- <literal>SecComponentSignature</literal> - - Description: Appends component signature to - the ModSecurity signature. - - Syntax: SecComponentSignature - "COMPONENT_NAME/X.Y.Z (COMMENT)" - - Example usage: SecComponentSignature - "Core Rules/1.2.3" - - Processing Phase: N/A - - Scope: Main - - Version: 2.5.0 - - Dependencies/Notes: This directive should be - used to make the presence of significant ModSecurity components known. - The entire signature will be recorded in transaction audit log. It - should be used by ModSecurity module and rule set writers to make - debugging easier. -
- -
- <literal>SecContentInjection</literal> - - Description: Enables content injection using - actions append and prepend. - - Syntax: SecContentInjection - (On|Off) - - Example Usage: SecContentInjection - On - - Processing Phase: N/A - - Scope: Any - - Version: 2.5.0 - - Dependencies/Notes: N/A -
- -
- <literal>SecCookieFormat</literal> - - Description: Selects the cookie format that - will be used in the current configuration context. - - Syntax: SecCookieFormat 0|1 - - Example Usage: SecCookieFormat 0 - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: None - - Possible values are: - - - - 0 - use version 0 - (Netscape) cookies. This is what most applications use. It is the - default value. - - - - 1 - use version 1 - cookies. - - -
- -
- <literal>SecDataDir</literal> - - Description: Path where persistent data (e.g. - IP address data, session data, etc) is to be stored. - - Syntax: SecDataDir - /path/to/dir - - Example Usage: SecDataDir /usr/local/apache/logs/data - - Processing Phase: N/A - - Scope: Main - - Dependencies/Notes: This directive is needed - when initcol, setsid an setuid are used. Must be writable by the web - server user. -
- -
- <literal>SecDebugLog</literal> - - Description: Path to the ModSecurity debug - log file. - - Syntax: SecDebugLog - /path/to/modsec-debug.log - - Example Usage: SecDebugLog - /usr/local/apache/logs/modsec-debug.log - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: None -
- -
- <literal>SecDebugLogLevel</literal> - - Description: Configures the verboseness of - the debug log data. - - Syntax: SecDebugLogLevel 0|1|2|3|4|5|6|7|8|9 - - Example Usage: SecDebugLogLevel 4 - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: Levels 1 - 3 are always sent to the Apache error log. - Therefore you can always use level 0 - as the default logging level in production. Level 5 is useful when debugging. It is not - advisable to use higher logging levels in production as excessive - logging can slow down server significantly. - - Possible values are: - - - - 0 - no logging. - - - - 1 - errors (intercepted - requests) only. - - - - 2 - warnings. - - - - 3 - notices. - - - - 4 - details of how - transactions are handled. - - - - 5 - as above, but including - information about each piece of information handled. - - - - 9 - log everything, - including very detailed debugging information. - - -
- -
- <literal>SecDefaultAction</literal> - - Description: Defines the default action to - take on a rule match. - - Syntax: SecDefaultAction - action1,action2,action3 - - Example Usage: SecDefaultAction - log,auditlog,deny,status:403,phase:2 - - Processing Phase: Any - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: Rules following a - SecDefaultAction directive will inherit this setting - unless a specific action is specified for an individual rule or until - another SecDefaultAction is specified. Take special - note that in the logging disruptive actions are not allowed, but this - can inadvertently be inherited using a disruptive action in - SecDefaultAction. - - The default value is minimal (differing from previous - versions): - - SecDefaultAction phase:2,log,auditlog,pass - - - SecDefaultAction must specify a disruptive - action and a processing phase and cannot contain metadata - actions. - - - - SecDefaultAction is not - inherited across configuration contexts. (For an example of why this - may be a problem for you, read the following ModSecurity Blog entry - http://blog.modsecurity.org/2008/07/modsecurity-tri.html). - -
- -
- <literal>SecGeoLookupDb</literal> - - Description: Defines the path to the - geographical database file. - - Syntax: SecGeoLookupDb /path/to/db - - Example Usage: SecGeoLookupDb - /usr/local/geo/data/GeoLiteCity.dat - - Processing Phase: N/A - - Scope: Any - - Version: 2.5.0 - - Dependencies/Notes: Check out - maxmind.com for free database files. -
- -
- <literal>SecGuardianLog</literal> - - Description: Configuration directive to use - the httpd-guardian script to monitor for Denial of Service (DoS) - attacks. - - Syntax: SecGuardianLog |/path/to/httpd-guardian - - Example Usage: SecGuardianLog - |/usr/local/apache/bin/httpd-guardian - - Processing Phase: N/A - - Scope: Main - - Version: 2.0.0 - - Dependencies/Notes: By default httpd-guardian - will defend against clients that send more than 120 requests in a - minute, or more than 360 requests in five minutes. - - Since 1.9, ModSecurity supports a new directive, SecGuardianLog, - that is designed to send all access data to another program using the - piped logging feature. Since Apache is typically deployed in a - multi-process fashion, making information sharing difficult, the idea is - to deploy a single external process to observe all requests in a - stateful manner, providing additional protection. - - Development of a state of the art external protection tool will be - a focus of subsequent ModSecurity releases. However, a fully functional - tool is already available as part of the Apache httpd tools - project. The tool is called httpd-guardian and can be used to - defend against Denial of Service attacks. It uses the blacklist tool - (from the same project) to interact with an iptables-based (Linux) or - pf-based (*BSD) firewall, dynamically blacklisting the offending IP - addresses. It can also interact with SnortSam (http://www.snortsam.net). - Assuming httpd-guardian is already configured (look into the source code - for the detailed instructions) you only need to add one line to your - Apache configuration to deploy it: - - SecGuardianLog |/path/to/httpd-guardian -
- -
- <literal>SecMarker</literal> - - Description: Adds a fixed rule marker in the - ruleset to be used as a target in a skipAfter action. - A SecMarker directive essentially creates a rule that - does nothing and whose only purpose it to carry the given ID. - - Syntax: SecMarker - ID - - Example Usage: SecMarker 9999 - - Processing Phase: Any - - Scope: Any - - Version: 2.5.0 - - Dependencies/Notes: None - - SecRule REQUEST_URI "^/$" \ - "chain,t:none,t:urlDecode,t:lowercase,t:normalisePath,skipAfter:99" -SecRule REMOTE_ADDR "^127\.0\.0\.1$" "chain" -SecRule REQUEST_HEADERS:User-Agent \ - "^Apache \(internal dummy connection\)$" "t:none" -SecRule &REQUEST_HEADERS:Host "@eq 0" \ - "deny,log,status:400,id:08,severity:4,msg:'Missing a Host Header'" -SecRule &REQUEST_HEADERS:Accept "@eq 0" \ - "log,deny,log,status:400,id:15,msg:'Request Missing an Accept Header'" - -SecMarker 99 -
- -
- <literal>SecPcreMatchLimit</literal> - - Description:Sets the the match limit in the - PCRE library. See the pcre_extra field in the pcreapi man page. - - Syntax: SecPcreMatchLimit value - - Example Usage: SecPcreMatchLimit 1500 - - Processing Phase: N/A - - Scope: Global - - Version: 2.5.12 - - Dependencies/Notes: Default is set at compile - (1500 by default). See also - SecPcreMatchLimitRecursion - - If the limits are exceeded this will be logged at level 3 in the - debug log, added as a Message line in the audit log and the TX:MSC_PCRE_LIMITS_EXCEEDED flag will be set - to a non-zero value. To prevent bypass, you should write a rule to check - for the existance of the TX:MSC_PCRE_LIMITS_EXCEEDED flag. - - SecPcreMatchLimit 100 -SecPcreMatchLimitRecursion 100 - ... -SecRule TX:/^MSC_/ "!@eq 0" "phase:5,pass,log,auditlog,msg:'Potential REDoS'" - - - The --enable-pcre-match-limit=val configure - option will set a custom default and the - --disable-pcre-match-limit option will resort to - the compiled PCRE library default. - -
- -
- <literal>SecPcreMatchLimitRecursion</literal> - - Description:Sets the the match limit - recursion in the PCRE library. See the pcre_extra field in the pcreapi - man page. - - Syntax: SecPcreMatchLimitRecursion value - - Example Usage: SecPcreMatchLimitRecursion 1500 - - Processing Phase: N/A - - Scope: Global - - Version: 2.5.12 - - Dependencies/Notes: Default is set at compile - (1500 by default). See also SecPcreMatchLimit - - If the limits are exceeded this will be logged at level 3 in the - debug log, added as a Message line in the audit log and the TX:MSC_PCRE_LIMITS_EXCEEDED flag will be set - to a non-zero value. To prevent bypass, you should write a rule to check - for the existance of the TX:MSC_PCRE_LIMITS_EXCEEDED flag. - - SecPcreMatchLimit 100 -SecPcreMatchLimitRecursion 100 - ... -SecRule TX:/^MSC_/ "!@eq 0" "phase:5,pass,log,auditlog,msg:'Potential REDoS'" - - - The --enable-pcre-match-limit-recursion=val - configure option will set a custom default and the - --disable-pcre-match-limit-recursion option will - resort to the compiled PCRE library default. - -
- -
- <literal>SecPdfProtect</literal> - - Description: Enables the PDF XSS protection - functionality. Once enabled access to PDF files is tracked. Direct - access attempts are redirected to links that contain one-time tokens. - Requests with valid tokens are allowed through unmodified. Requests with - invalid tokens are also allowed through but with forced download of the - PDF files. This implementation uses response headers to detect PDF files - and thus can be used with dynamically generated PDF files that do not - have the .pdf extension in the request URI. - - Syntax: SecPdfProtect On|Off - - Example Usage: SecPdfProtect On - - Processing Phase: N/A - - Scope: Any - - Version: 2.5.0 - - Dependencies/Notes: None -
- -
- <literal>SecPdfProtectMethod</literal> - - Description: Configure desired protection - method to be used when requests for PDF files are detected. Possible - values are TokenRedirection and - ForcedDownload. The token redirection approach will - attempt to redirect with tokens where possible. This allows PDF files to - continue to be opened inline but only works for GET requests. Forced - download always causes PDF files to be delivered as opaque binaries and - attachments. The latter will always be used for non-GET requests. Forced - download is considered to be more secure but may cause usability - problems for users ("This PDF won't open anymore!"). - - Syntax: SecPdfProtectMethod method - - Example Usage: SecPdfProtectMethod TokenRedirection - - Processing Phase: N/A - - Scope: Any - - Version: 2.5.0 - - Dependencies/Notes: None - - Default: - TokenRedirection -
- -
- <literal>SecPdfProtectSecret</literal> - - Description: Defines the secret that will be - used to construct one-time tokens. You should use a reasonably long - value for the secret (e.g. 16 characters is good). Once selected the - secret should not be changed as it will break the tokens that were sent - prior to change. But it's not a big deal even if you change it. It will - just force download of PDF files with tokens that were issued in the - last few seconds. - - Syntax: SecPdfProtectSecret secret - - Example Usage: SecPdfProtectSecret - MyRandomSecretString - - Processing Phase: N/A - - Scope: Any - - Version: 2.5.0 - - Dependencies/Notes: None -
- -
- <literal>SecPdfProtectTimeout</literal> - - Description: Defines the token timeout. After - token expires it can no longer be used to allow access to PDF file. - Request will be allowed through but the PDF will be delivered as - attachment. - - Syntax: SecPdfProtectTimeout timeout - - Example Usage: SecPdfProtectTimeout 10 - - Processing Phase: N/A - - Scope: Any - - Version: 2.5.0 - - Dependencies/Notes: None - - Default: 10 -
- -
- <literal>SecPdfProtectTokenName</literal> - - Description: Defines the name of the token. - The only reason you would want to change the name of the token is if you - wanted to hide the fact you are running ModSecurity. It's a good reason - but it won't really help as the adversary can look into the algorithm - used for PDF protection and figure it out anyway. It does raise the bar - slightly so go ahead if you want to. - - Syntax: SecPdfProtectTokenName name - - Example Usage: SecPdfProtectTokenName PDFTOKEN - - Processing Phase: N/A - - Scope: Any - - Version: 2.5.0 - - Dependencies/Notes: None - - Default: PDFTOKEN -
- -
- <literal>SecRequestBodyAccess</literal> - - Description: Configures whether request - bodies will be buffered and processed by ModSecurity by default. - - Syntax: SecRequestBodyAccess On|Off - - Example Usage: SecRequestBodyAccess On - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: This directive is - required if you plan to inspect request bodies. Inspection can only be - carried out in phases 2 and higher, using the - REQUEST_BODY variable/location. If any of these 3 - conditions aren't satisfied, the inspection will not work. - - Possible values are: - - - - On - access request - bodies. - - - - Off - do not attempt to - access request bodies. - - -
- -
- <literal>SecRequestBodyLimit</literal> - - Description: Configures the maximum request - body size ModSecurity will accept for buffering. - - Syntax: SecRequestBodyLimit NUMBER_IN_BYTES - - Example Usage: SecRequestBodyLimit 134217728 - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: 131072 KB (134217728 - bytes) is the default setting. Anything over this limit will be rejected - with status code 413 Request Entity Too Large. There is a hard limit of - 1 GB. -
- -
- <literal>SecRequestBodyNoFilesLimit</literal> - - Description: Configures the maximum request - body size ModSecurity will accept for buffering, excluding the size of - files being transported in the request. This directive comes handy to - further reduce susceptibility to DoS attacks when someone is sending - request bodies of very large sizes. Web applications that require file - uploads must configure SecRequestBodyLimit to a high - value. Since large files are streamed to disk file uploads will not - increase memory consumption. However, it's still possible for someone to - take advantage of a large request body limit and send non-upload - requests with large body sizes. This directive eliminates that - loophole. - - Syntax: SecRequestBodyNoFilesLimit - NUMBER_IN_BYTES - - Example Usage: SecRequestBodyLimit 131072 - - Scope: Any - - Version: 2.5.0 - - Dependencies/Notes: 1 MB (1048576 bytes) is - the default setting. This value is very conservative. For most - applications you should be able to reduce it down to 128 KB or lower. - Anything over the limit will be rejected with status code 413 - Request Entity Too Large. There is a hard limit of 1 - GB. -
- -
- <literal>SecRequestBodyInMemoryLimit</literal> - - Description: Configures the maximum request - body size ModSecurity will store in memory. - - Syntax: SecRequestBodyInMemoryLimit - NUMBER_IN_BYTES - - Example Usage: SecRequestBodyInMemoryLimit 131072 - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: None - - By default the limit is 128 KB: - - # Store up to 128 KB in memory -SecRequestBodyInMemoryLimit 131072 -
- -
- <literal>SecResponseBodyLimit</literal> - - Description: Configures the maximum response - body size that will be accepted for buffering. - - Syntax: SecResponseBodyLimit NUMBER_IN_BYTES - - Example Usage: SecResponseBodyLimit 524228 - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: Anything over this limit - will be rejected with status code 500 Internal Server Error. This - setting will not affect the responses with MIME types that are not - marked for buffering. There is a hard limit of 1 GB. - - By default this limit is configured to 512 KB: - - # Buffer response bodies of up to 512 KB in length -SecResponseBodyLimit 524288 -
- -
- <literal>SecResponseBodyLimitAction</literal> - - Description: Controls what happens once a - response body limit, configured with - SecResponseBodyLimit, is encountered. By default - ModSecurity will reject a response body that is longer than specified. - Some web sites, however, will produce very long responses making it - difficult to come up with a reasonable limit. Such sites would have to - raise the limit significantly to function properly defying the purpose - of having the limit in the first place (to control memory consumption). - With the ability to choose what happens once a limit is reached site - administrators can choose to inspect only the first part of the - response, the part that can fit into the desired limit, and let the rest - through. Some could argue that allowing parts of responses to go - uninspected is a weakness. This is true in theory but only applies to - cases where the attacker controls the output (e.g. can make it arbitrary - long). In such cases, however, it is not possible to prevent leakage - anyway. The attacker could compress, obfuscate, or even encrypt data - before it is sent back, and therefore bypass any monitoring - device. - - Syntax: SecResponseBodyLimitAction - Reject|ProcessPartial - - Example Usage: - SecResponseBodyLimitAction ProcessPartial - - Processing Phase: N/A - - Scope: Any - - Version: 2.5.0 - - Dependencies/Notes: None -
- -
- <literal>SecResponseBodyMimeType</literal> - - Description: Configures which MIME types are to be considered for response - body buffering. - - Syntax: SecResponseBodyMimeType mime/type - - Example Usage: SecResponseBodyMimeType text/plain - text/html - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: Multiple SecResponseBodyMimeType directives can be - used to add to the list of MIME - types. You can also use the special null value to - request ModSecurity to inspect the bodies of the responses that do not - specify a MIME type. - - The default value is text/plain - text/html: - - SecResponseBodyMimeType text/plain text/html -
- -
- <literal>SecResponseBodyMimeTypesClear</literal> - - Description: Clears the list of MIME types considered for response body - buffering, allowing you to start populating the list from - scratch. - - Syntax: SecResponseBodyMimeTypesClear - - Example Usage: SecResponseBodyMimeTypesClear - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: None -
- -
- <literal>SecResponseBodyAccess</literal> - - Description: Configures whether response - bodies are to be buffer and analysed or not. - - Syntax: SecResponseBodyAccess On|Off - - Example Usage: SecResponseBodyAccess On - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: This directive is - required if you plan to inspect HTML responses. This directive must be - used along with the "phase:4" processing phase action and RESPONSE_BODY - variable/location. If any of these 3 parts are not configured, you will - not be able to inspect the response bodies. - - Possible values are: - - - - On - access response bodies - (but only if the MIME type matches, see above). - - - - Off - do not attempt to - access response bodies. - - -
- -
- <literal>SecRule</literal> - - Description: SecRule is the main ModSecurity directive. It - is used to analyse data and perform actions based on the results. - - Syntax: SecRule - VARIABLES OPERATOR [ACTIONS] - - Example Usage: SecRule REQUEST_URI "attack" \ - - - "phase:1,t:none,t:urlDecode,t:lowercase,t:normalisePath" - - Processing Phase: Any - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: None - - In general, the format of this rule is as follows: - - SecRule VARIABLES OPERATOR [ACTIONS] - - The second part, OPERATOR, - specifies how they are going to be checked. The third (optional) part, - ACTIONS, specifies what to do - whenever the operator used performs a successful match against a - variable. - -
- Variables in rules - - The first part, VARIABLES, - specifies which variables are to be checked. For example, the - following rule will reject a transaction that has the word - dirty in the URI: - - SecRule ARGS dirty - - Each rule can specify one or more variables: - - SecRule ARGS|REQUEST_HEADERS:User-Agent dirty - - There is a third format supported by the selection operator - - XPath expression. XPath expressions can only used against the special - variable XML, which is available only of the request body was - processed as XML. - - SecRule XML:/xPath/Expression dirty - - - Not all collections support all selection operator format - types. You should refer to the documentation of each collection to - determine what is and isn't supported. - -
- -
- Collections - - A variable can contain one or many pieces of data, depending on - the nature of the variable and the way it is used. We've seen examples - of both approaches in the previous section. When a variable can - contain more than one value we refer to it as a - collection. - - Collections are always expanded before a rule is run. For - example, the following rule: - - SecRule ARGS dirty - - will be expanded to: - - SecRule ARGS:p dirty -SecRule ARGS:q dirty - - in a requests that has only two parameters, named - p and q. - - Collections come in several flavours: - - - - Read-only - - - Created at runtime using transaction data. For example: - ARGS (contains a list of all request - parameter values) and REQUEST_HEADERS - (contains a list of all request header values). - - - - - Transient Read/Write - - - The TX collection is created (empty) - for every transaction. Rules can read from it and write to it - (using the setvar action, for example), but - the information stored in this collection will not survive the - end of transaction. - - - - - Persistent Read/Write - - - There are several collections that can be written to, but - which are persisted to the storage backend. These collections - are used to track clients across transactions. Examples of - collections that fall into this type are IP, - SESSION and USER. - - - -
- -
- Operators in rules - - In the simplest possible case you will use a regular expression - pattern as the second rule parameter. This is what we've done in the - examples above. If you do this ModSecurity assumes you want to use the - rx (regular expression) operator. - You can also explicitly specify the operator you want to use by using - @, followed by the name of an - operator, at the beginning of the second SecRule - parameter: - - SecRule ARGS "@rx dirty" - - Note how we had to use double quotes to delimit the second rule - parameter. This is because the second parameter now has whitespace in - it. Any number of whitespace characters can follow the name of the - operator. If there are any non-whitespace characters there, they will - all be treated as a special parameter to the operator. In the case of - the regular expression operator the special parameter is the pattern - that will be used for comparison. - - The @ can be the second character if you are using negation to - negate the result returned by the operator: - - SecRule &ARGS "!@rx ^0$" -
- -
- Operator negation - - Operator results can be negated by using an exclamation mark at - the beginning of the second parameter. The following rule matches if - the word dirty does not appear - in the User-Agent request header: - - SecRule REQUEST_HEADERS:User-Agent !dirty - - You can use the exclamation mark in combination with any - parameter. If you do, the exclamation mark needs to go first, followed - by the explicit operator reference. The following rule has the same - effect as the previous example: - - SecRule REQUEST_HEADERS:User-Agent "!@rx dirty" - - If you need to use negation in a rule that is going to be - applied to several variables then it may not be immediately clear what - will happen. Consider the following example: - - SecRule ARGS:p|ARGS:q !dirty - - The above rule is identical to: - - SecRule ARGS:p !dirty -SecRule ARGS:q !dirty - - - Negation is applied to operations against individual - operations, not agains the entire variable list. - -
- -
- Actions in rules - - The third parameter, ACTIONS, - can be omitted only because there is a helper feature that specifies - the default action list. If the parameter isn't omitted the actions - specified in the parameter will be merged with the default action list - to create the actual list of actions that will be processed on a rule - match. -
-
- -
- <literal>SecRuleInheritance</literal> - - Description: Configures whether the current - context will inherit rules from the parent context (configuration - options are inherited in most cases - you should look up the - documentation for every directive to determine if it is inherited or - not). - - Syntax: SecRuleInheritance On|Off - - Example Usage: SecRuleInheritance Off - - Processing Phase: Any - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: Before ModSecurity 2.6.x - it was not possible for resource-specific contexts (e.g. Location, Directory, etc) to override phase 1 rules - configured in the main server or in the virtual server. Starting with - ModSecurity 2.6 this limitation has been lifted and the rules and the - configuration directives can be freely used across configuration - contexts. - - Example: The following example shows where ModSecurity may be - enabled in the main Apache configuration scope, however you might want - to configure your VirtualHosts differently. In the first example, the - first VirtualHost is not inheriting the ModSecurity main config - directives and in the second one it is. - - SecRuleEngine On -SecDefaultAction log,pass,phase:2 -... - -<VirtualHost *:80> -ServerName app1.com -ServerAlias www.app1.com -SecRuleInheritance Off -SecDefaultAction log,deny,phase:1,redirect:http://www.site2.com -... -</VirtualHost> - -<VirtualHost *:80> -ServerName app2.com -ServerAlias www.app2.com -SecRuleInheritance On SecRule ARGS "attack" -... -</VirtualHost> - - Possible values are: - - - - On - inherit rules from the - parent context. - - - - Off - do not inherit rules - from the parent context. - - - Configuration contexts are an Apache concept. Directives - <Directory>, - <Files>, - <Location> and - <VirtualHost> are all used to create - configuration contexts. For more information please go to the - Apache documentation section Configuration - Sections. - - - -
- -
- <literal>SecRuleEngine</literal> - - Description: Configures the rules - engine. - - Syntax: SecRuleEngine On|Off|DetectionOnly - - Example Usage: SecRuleEngine On - - Processing Phase: Any - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: This directive can also - be controlled by the ctl action (ctl:ruleEngine=off) for per rule - processing. - - Possible values are: - - - - On - process rules. - - - - Off - do not process - rules. - - - - DetectionOnly - process - rules but never intercept transactions, even when rules are - configured to do so. - - -
- -
- <literal>SecRuleRemoveById</literal> - - Description: Removes matching rules from the - parent contexts. - - Syntax: SecRuleUpdateActionById RULEID - ACTIONLIST - - Example Usage: SecRuleRemoveByID 1 2 "9000-9010" - - Processing Phase: Any - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: This directive supports - multiple parameters, where each parameter can either be a rule ID, or a - range. Parameters that contain spaces must be delimited using double - quotes. - - SecRuleRemoveById 1 2 5 10-20 "400-556" 673 -
- -
- <literal>SecRuleRemoveByMsg</literal> - - Description: Removes matching rules from the - parent contexts. - - Syntax: SecRuleRemoveByMsg REGEX - - Example Usage: SecRuleRemoveByMsg "FAIL" - - Processing Phase: Any - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: This directive supports - multiple parameters. Each parameter is a regular expression that will be - applied to the message (specified using the msg action). -
- -
- <literal>SecRuleScript</literal> (Experimental) - - Description: This directive creates a special - rule that executes a Lua script to decide whether to match or not. The - main difference from SecRule is that there are no - targets nor operators. The script can fetch any variable from the - ModSecurity context and use any (Lua) operator to test them. The second - optional parameter is the list of actions whose meaning is identical to - that of SecRule. - - Syntax: SecRuleScript - /path/to/script.lua [ACTIONS] - - Example Usage: SecRuleScript "/path/to/file.lua" - "block" - - Processing Phase: Any - - Scope: Any - - Version: 2.5.0 - - Dependencies/Notes: None - - - All Lua scripts are compiled at configuration time and cached in - memory. To reload scripts you must reload the entire ModSecurity - configuration by restarting Apache. - - - Example script: - - -- Your script must define the main entry --- point, as below. -function main() - -- Log something at level 1. Normally you shouldn't be - -- logging anything, especially not at level 1, but this is - -- just to show you can. Useful for debugging. - m.log(1, "Hello world!"); - - -- Retrieve one variable. - local var1 = m.getvar("REMOTE_ADDR"); - - -- Retrieve one variable, applying one transformation function. - -- The second parameter is a string. - local var2 = m.getvar("ARGS", "lowercase"); - - -- Retrieve one variable, applying several transformation functions. - -- The second parameter is now a list. You should note that m.getvar() - -- requires the use of comma to separate collection names from - -- variable names. This is because only one variable is returned. - local var3 = m.getvar("ARGS.p", { "lowercase", "compressWhitespace" } ); - - -- If you want this rule to match return a string - -- containing the error message. The message must contain the name - -- of the variable where the problem is located. - -- return "Variable ARGS:p looks suspicious!" - - -- Otherwise, simply return nil. - return nil; -end - - In this first example we were only retrieving one variable at the - time. In this case the name of the variable is known to you. In many - cases, however, you will want to examine variables whose names you won't - know in advance, for example script parameters. - - Example showing use of m.getvars() to retrieve - many variables at once: - - function main() - -- Retrieve script parameters. - local d = m.getvars("ARGS", { "lowercase", "htmlEntityDecode" } ); - - -- Loop through the paramters. - for i = 1, #d do - -- Examine parameter value. - if (string.find(d[i].value, "<script")) then - -- Always specify the name of the variable where the - -- problem is located in the error message. - return ("Suspected XSS in variable " .. d[i].name .. "."); - end - end - - -- Nothing wrong found. - return nil; -end - - - Go to http://www.lua.org/ to find more - about the Lua programming language. The reference manual too is - available online, at http://www.lua.org/manual/5.1/. - - - - Lua support is marked as experimental as - the way the progamming interface may continue to evolve while we are - working for the best implementation style. Any user input into the - programming interface is appreciated. - -
- -
- <literal>SecRuleUpdateActionById</literal> - - Description: Updates the action list of the - specified rule. - - Syntax: SecRuleRemoveById RULEID ACTIONLIST - - Example Usage: SecRuleUpdateActionById 12345 - deny,status:403 - - Processing Phase: Any - - Scope: Any - - Version: 2.5.0 - - Dependencies/Notes: This directive merges the - specified action list with the rule's action list. There are two - limitations. The rule ID cannot be changed, nor can the phase. Further - note that actions that may be specified multiple times are appended to - the original. - - SecAction \ - "t:lowercase,phase:2,id:12345,pass,msg:'The Message',log,auditlog" -SecRuleUpdateActionById 12345 "t:compressWhitespace,deny,status:403,msg:'A new message' - - The example above will cause the rule to be executed as if it was - specified as follows: - - SecAction \ - "t:lowercase,phase:2,id:12345,log,auditlog,t:compressWhitespace,deny,status:403,msg:'A new message'" -
- -
- <literal>SecServerSignature</literal> - - Description: Instructs ModSecurity to change - the data presented in the "Server:" response header token. - - Syntax: SecServerSignature "WEB SERVER - SOFTWARE" - - Example Usage: SecServerSignature - "Netscape-Enterprise/6.0" - - Processing Phase: N/A - - Scope: Main - - Version: 2.0.0 - - Dependencies/Notes: In order for this - directive to work, you must set the Apache ServerTokens directive to - Full. ModSecurity will overwrite the server signature data held in this - memory space with the data set in this directive. If ServerTokens is not - set to Full, then the memory space is most likely not large enough to - hold the new data we are looking to insert. -
- -
- <literal>SecTmpDir</literal> - - Description: Configures the directory where - temporary files will be created. - - Syntax: SecTmpDir - /path/to/dir - - Example Usage: SecTmpDir /tmp - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: Needs to be writable by - the Apache user process. This is the directory location where Apache - will swap data to disk if it runs out of memory (more data than what was - specified in the SecRequestBodyInMemoryLimit directive) during - inspection. -
- -
- <literal>SecUploadDir</literal> - - Description: Configures the directory where - intercepted files will be stored. - - Syntax: SecUploadDir - /path/to/dir - - Example Usage: SecUploadDir /tmp - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: This directory must be on - the same filesystem as the temporary directory defined with SecTmpDir. This directive is used with - SecUploadKeepFiles. -
- -
- <literal>SecUploadFileLimit</literal> - - Description: Configures the maximum number of - file uploads processed in a multipart POST. - - Syntax: SecUploadFileLimit number - - Example Usage: SecUploadFileLimit 10 - - Processing Phase: N/A - - Scope: Any - - Version: 2.5.12 - - Dependencies/Notes: The default is set to 100 - files, but you are encouraged to reduce this value. Any file over the - limit will not be extracted and the MULTIPART_FILE_LIMIT_EXCEEDED and MULTIPART_STRICT_ERROR flags will be set. To - prevent bypassing any file checks, you must check for one of these - flags. - - - If the limit is exceeded, the part name and file name will still - be recorded in FILES_NAME and - FILES, the file size will be - recorded in FILES_SIZES, but there - will be no record in FILES_TMPNAMES - as a temporary file was not created. - -
- -
- <literal>SecUploadFileMode</literal> - - Description: Configures the mode - (permissions) of any uploaded files using an octal mode (as used in - chmod). - - Syntax: SecUploadFileMode octal_mode|"default" - - Example Usage: SecUploadFileMode 0640 - - Processing Phase: N/A - - Scope: Any - - Version: 2.1.6 - - Dependencies/Notes: This feature is not - available on operating systems not supporting octal file modes. The - default mode (0600) only grants read/write access to the account writing - the file. If access from another account is needed (using clamd is a - good example), then this directive may be required. However, use this - directive with caution to avoid exposing potentially sensitive data to - unauthorized users. Using the value "default" will revert back to the - default setting. - - - The process umask may still limit the mode if it is being more - restrictive than the mode set using this directive. - -
- -
- <literal>SecUploadKeepFiles</literal> - - Description: Configures whether or not the - intercepted files will be kept after transaction is processed. - - Syntax: SecUploadKeepFiles On|Off|RelevantOnly - - Example Usage: SecUploadKeepFiles On - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: This directive requires - the storage directory to be defined (using SecUploadDir). - - Possible values are: - - - - On - Keep uploaded - files. - - - - Off - Do not keep uploaded - files. - - - - RelevantOnly - This will - keep only those files that belong to requests that are deemed - relevant. - - -
- -
- <literal>SecWebAppId</literal> - - Description: Creates a partition on the - server that belongs to one web application. - - Syntax: SecWebAppId - "NAME" - - Example Usage: SecWebAppId "WebApp1" - - Processing Phase: N/A - - Scope: Any - - Version: 2.0.0 - - Dependencies/Notes: Partitions are used to - avoid collisions between session IDs and user IDs. This directive must - be used if there are multiple applications deployed on the same server. - If it isn't used, a collision between session IDs might occur. The - default value is default. - Example: - - <VirtualHost *:80> -ServerName app1.com -ServerAlias www.app1.com -SecWebAppId "App1" -SecRule REQUEST_COOKIES:PHPSESSID !^$ chain,nolog,pass -SecAction setsid:%{REQUEST_COOKIES.PHPSESSID} -... -</VirtualHost> - -<VirtualHost *:80> -ServerName app2.com -ServerAlias www.app2.com -SecWebAppId "App2" -SecRule REQUEST_COOKIES:PHPSESSID !^$ chain,nolog,pass -SecAction setsid:%{REQUEST_COOKIES.PHPSESSID} -... -</VirtualHost> - - In the two examples configurations shown, SecWebAppId is being - used in conjunction with the Apache VirtualHost directives. What this - achieves is to create more unique collection names when being hosted on - one server. Normally, when setsid is used, ModSecurity will create a - collection with the name "SESSION" and it will hold the value specified. - With using SecWebAppId as shown in the examples, however, the name of - the collection would become "App1_SESSION" and "App2_SESSION". - - SecWebAppId is relevant in two cases: - - - - You are logging transactions/alerts to the ModSecurity Console - and you want to use the web application ID to search only the - transactions belonging to that application. - - - - You are using the data persistence facility (collections - SESSION and USER) and you need to avoid collisions between sessions - and users belonging to different applications. - - -
-
- -
- Processing Phases - - ModSecurity 2.x allows rules to be placed in one of the following - five phases: - - - - Request headers (REQUEST_HEADERS) - - - - Request body (REQUEST_BODY) - - - - Response headers (RESPONSE_HEADERS) - - - - Response body (RESPONSE_BODY) - - - - Logging (LOGGING) - - - - Below is a diagram of the normal Apache request cycle. In the - diagram, the 5 ModSecurity processing phases are shown. - - - - In order to select the phase a rule executes during, use the phase - action either directly in the rule or in using the - SecDefaultAction directive: - - SecDefaultAction "log,pass,phase:2" -SecRule REQUEST_HEADERS:Host "!^$" "deny,phase:1" - - - Keep in mind that rules are executed according to phases, so even - if two rules are adjacent in a configuration file, but are set to - execute in different phases, they would not happen one after the other. - The order of rules in the configuration file is important only within - the rules of each phase. This is especially important when using the - skip and skipAfter actions. - - - - The LOGGING phase is special. It is executed at - the end of each transaction no matter what happened in the previous - phases. This means it will be processed even if the request was - intercepted or the allow action was used to pass the - transaction through. - - -
- Phase Request Headers - - Phase 1 allows you to inspect a transaction of which request - headers are available, but before a request body (if any) has been read. - Place rules into this phase when you want something to happen before a - body has been read, or if you want to influence how a body will be - processed (e.g., configure the buffering options or configure request - body processors). Beware that you won't have complete request - information available at this point. If a request has a body, there may - be further parameters in it. Use phase 2 when you need to inspect all - request parameters. -
- -
- Phase Request Body - - This is the general-purpose input analysis phase. Most of the - application-oriented rules should go here. In this phase you are - guaranteed to have received the request arguments (provided the request - body has been read). ModSecurity supports three encoding types for the - request body phase: - - - - application/x-www-form-urlencoded - used to - transfer form data (used automatically) - - - - multipart/form-data - used for file - transfers (used automatically) - - - - text/xml - used for passing XML data (must - be explicitly configured) - - - - Other encodings are not used by most web applications. -
- -
- Phase Response Headers - - This phase takes place just before response headers are sent back - to the client. Run here if you want to observe the response before that - happens, and if you want to use the response headers to determine if you - want to buffer the response body. Note that some response status codes - (such as 404) are handled earlier in the request cycle by Apache and my - not be able to be triggered as expected. Additionally, there are some - response headers that are added by Apache at a later hook (such as Date, - Server and Connection) that we would not be able to trigger on or - sanitize. This should work appropriately in a proxy setup or within - phase:5 (logging). -
- -
- Phase Response Body - - This is the general-purpose output analysis phase. At this point - you can run rules against the response body (provided it was buffered, - of course). This is the phase where you would want to inspect the - outbound HTML for information disclosure, error messages or failed - authentication text. -
- -
- Phase Logging - - This phase is run just before logging takes place. The rules - placed into this phase can only affect how the logging is performed. - This phase can be used to inspect the error messages logged by Apache. - You cannot deny/block connections in this phase as it is too late. This - phase also allows for inspection of other response headers that weren't - available during phase:3 or phase:4. Note that you must be careful not - to inherit a disruptive action into a rule in this phase as this is a - configuration error in ModSecurity 2.5.0 and later versions. -
-
- -
- Variables - - The following variables are supported in ModSecurity 2.x: - -
- <literal moreinfo="none">ARGS</literal> - - ARGS is a collection and can be used on its own - (means all arguments including the POST Payload), with a static - parameter (matches arguments with that name), or with a regular - expression (matches all arguments with name that matches the regular - expression). To look at only the query string or body arguments, see the - ARGS_GET and ARGS_POST - collections. - - Some variables are actually collections, which are expanded into - more variables at runtime. The following example will examine all - request arguments:SecRule ARGS dirty - Sometimes, however, you will want to look only at parts of a collection. - This can be achieved with the help of the selection - operator(colon). The following example will only look at the - arguments named p (do note that, in - general, requests can contain multiple arguments with the same name): - SecRule ARGS:p dirty - It is also possible to specify exclusions. The following will examine - all request arguments for the word dirty, except - the ones named z (again, there can be - zero or more arguments named z): - SecRule ARGS|!ARGS:z dirty - There is a special operator that allows you to count how many variables - there are in a collection. The following rule will trigger if there is - more than zero arguments in the request (ignore the second parameter for - the time being): SecRule &ARGS !^0$ - And sometimes you need to look at an array of parameters, each with a - slightly different name. In this case you can specify a regular - expression in the selection operator itself. The following rule will - look into all arguments whose names begin with id_: SecRule ARGS:/^id_/ dirty - - - Using ARGS:p will not result in any - invocations against the operator if argument p does not exist. - - In ModSecurity 1.X, the ARGS variable stood - for QUERY_STRING + POST_PAYLOAD, - whereas now it expands to individual variables. - -
- -
- <literal moreinfo="none">ARGS_COMBINED_SIZE</literal> - - This variable allows you to set more targeted evaluations on the - total size of the Arguments as compared with normal Apache LimitRequest - directives. For example, you could create a rule to ensure that the - total size of the argument data is below a certain threshold (to help - prevent buffer overflow issues). Example: Block request if the size of - the arguments is above 25 characters. - - SecRule REQUEST_FILENAME "^/cgi-bin/login\.php" \ - "chain,log,deny,phase:2,t:none,t:lowercase,t:normalisePath" -SecRule ARGS_COMBINED_SIZE "@gt 25" -
- -
- <literal moreinfo="none">ARGS_NAMES</literal> - - Is a collection of the argument names. You can search for specific - argument names that you want to block. In a positive policy scenario, - you can also whitelist (using an inverted rule with the ! character) - only authorized argument names. Example: This example rule will only - allow 2 argument names - p and a. If any other argument names are - injected, it will be blocked. - - SecRule REQUEST_FILENAME "/index.php" \ - "chain,log,deny,status:403,phase:2,t:none,t:lowercase,t:normalisePath" -SecRule ARGS_NAMES "!^(p|a)$" "t:none,t:lowercase" -
- -
- <literal moreinfo="none">ARGS_GET</literal> - - ARGS_GET is similar to ARGS, - but only contains arguments from the query string. -
- -
- <literal moreinfo="none">ARGS_GET_NAMES</literal> - - ARGS_GET_NAMES is similar to - ARGS_NAMES, but only contains argument names from the - query string. -
- -
- <literal moreinfo="none">ARGS_POST</literal> - - ARGS_POST is similar to - ARGS, but only contains arguments from the POST - body. -
- -
- <literal moreinfo="none">ARGS_POST_NAMES</literal> - - ARGS_POST_NAMES is similar to - ARGS_NAMES, but only contains argument names from the - POST body. -
- -
- <literal moreinfo="none">AUTH_TYPE</literal> - - This variable holds the authentication method used to validate a - user. Example: - - SecRule AUTH_TYPE "basic" log,deny,status:403,phase:1,t:lowercase - - Note - - This data will not be available in a proxy-mode deployment as the - authentication is not local. In a proxy-mode deployment, you would need - to inspect the REQUEST_HEADERS:Authorization - header. -
- -
- <literal moreinfo="none">ENV</literal> - - Collection, requires a single parameter (after colon). The - ENV variable is set with setenv and does not give - access to the CGI environment variables. Example: - - SecRule REQUEST_FILENAME "printenv" pass,setenv:tag=suspicious -SecRule ENV:tag "suspicious" -
- -
- <literal moreinfo="none">FILES</literal> - - Collection. Contains a collection of original file names (as they - were called on the remote user's file system). Note: only available if - files were extracted from the request body. Example: - - SecRule FILES "\.conf$" log,deny,status:403,phase:2 -
- -
- <literal moreinfo="none">FILES_COMBINED_SIZE</literal> - - Single value. Total size of the uploaded files. Note: only - available if files were extracted from the request body. Example: - - SecRule FILES_COMBINED_SIZE "@gt 1000" log,deny,status:403,phase:2 -
- -
- <literal moreinfo="none">FILES_NAMES</literal> - - Collection w/o parameter. Contains a list of form fields that were - used for file upload. Note: only available if files were extracted from - the request body. Example: - - SecRule FILES_NAMES "^upfile$" log,deny,status:403,phase:2 -
- -
- <literal moreinfo="none">FILES_SIZES</literal> - - Collection. Contains a list of file sizes. Useful for implementing - a size limitation on individual uploaded files. Note: only available if - files were extracted from the request body. Example: - - SecRule FILES_SIZES "@gt 100" log,deny,status:403,phase:2 -
- -
- <literal moreinfo="none">FILES_TMPNAMES</literal> - - Collection. Contains a collection of temporary files' names on the - disk. Useful when used together with @inspectFile. Note: only available if files - were extracted from the request body. Example: - - SecRule FILES_TMPNAMES "@inspectFile /path/to/inspect_script.pl" -
- -
- <literal moreinfo="none">GEO</literal> - - GEO is a collection populated by the results of - the last @geoLookup operator. The - collection can be used to match geographical fields looked from an IP - address or hostname. - - Available since ModSecurity 2.5.0. - - Fields: - - - - COUNTRY_CODE: Two character country code. - EX: US, GB, etc. - - - - COUNTRY_CODE3: Up to three character - country code. - - - - COUNTRY_NAME: The full country - name. - - - - COUNTRY_CONTINENT: The two character - continent that the country is located. EX: EU - - - - REGION: The two character region. For US, - this is state. For Canada, providence, etc. - - - - CITY: The city name if supported by the - database. - - - - POSTAL_CODE: The postal code if supported - by the database. - - - - LATITUDE: The latitude if supported by - the database. - - - - LONGITUDE: The longitude if supported by - the database. - - - - DMA_CODE: The metropolitan area code if - supported by the database. (US only) - - - - AREA_CODE: The phone system area code. - (US only) - - - - Example: - - SecGeoLookupDb /usr/local/geo/data/GeoLiteCity.dat -... -SecRule REMOTE_ADDR "@geoLookup" "chain,drop,msg:'Non-GB IP address'" -SecRule GEO:COUNTRY_CODE "!@streq GB" -
- -
- <literal moreinfo="none">HIGHEST_SEVERITY</literal> - - This variable holds the highest severity of any rules that have - matched so far. Severities are numeric values and thus can be used with - comparison operators such as @lt, - etc. - - - Higher severities have a lower numeric value. - - A value of 255 indicates no severity has been set. - - - SecRule HIGHEST_SEVERITY "@le 2" "phase:2,deny,status:500,msg:'severity %{HIGHEST_SEVERITY}'" -
- -
- <literal moreinfo="none">MATCHED_VAR</literal> - - This variable holds the value of the variable that was matched - against. It is similar to the TX:0, except it can be used for all - operators and does not require that the capture action be specified. - - SecRule ARGS pattern chain,deny -... -SecRule MATCHED_VAR "further scrutiny" -
- -
- <literal moreinfo="none">MATCHED_VAR_NAME</literal> - - This variable holds the full name of the variable that was matched - against. - - SecRule ARGS pattern setvar:tx.mymatch=%{MATCHED_VAR_NAME} -... -SecRule TX:MYMATCH "@eq ARGS:param" deny -
- -
- <literal moreinfo="none">MODSEC_BUILD</literal> - - This variable holds the ModSecurity build number. This variable is - intended to be used to check the build number prior to using a feature - that is available only in a certain build. Example: - - SecRule MODSEC_BUILD "!@ge 02050102" skipAfter:12345 -SecRule ARGS "@pm some key words" id:12345,deny,status:500 -
- -
- <literal>MULTIPART_CRLF_LF_LINES</literal> - - This flag variable will be set to 1 whenever a - multi-part request uses mixed line terminators. The - multipart/form-data RFC requires - CRLF sequence to be used to terminate lines. Since - some client implementations use only LF to terminate - lines you might want to allow them to proceed under certain - circumstances (if you want to do this you will need to stop using - MULTIPART_STRICT_ERROR and check each multi-part flag - variable individually, avoiding MULTIPART_LF_LINE). - However, mixing CRLF and LF line - terminators is dangerous as it can allow for evasion. Therefore, in such - cases, you will have to add a check for - MULTIPART_CRLF_LF_LINES. -
- -
- <literal>MULTIPART_STRICT_ERROR</literal> - - MULTIPART_STRICT_ERROR will be set to - 1 when any of the following variables is also set to - 1: REQBODY_PROCESSOR_ERROR, - MULTIPART_BOUNDARY_QUOTED, - MULTIPART_BOUNDARY_WHITESPACE, - MULTIPART_DATA_BEFORE, - MULTIPART_DATA_AFTER, - MULTIPART_HEADER_FOLDING, - MULTIPART_LF_LINE, - MULTIPART_SEMICOLON_MISSING - MULTIPART_INVALID_QUOTING - MULTIPART_INVALID_HEADER_FOLDING - MULTIPART_FILE_LIMIT_EXCEEDED. Each of these - variables covers one unusual (although sometimes legal) aspect of the - request body in multipart/form-data format. Your - policies should always contain a rule to check - either this variable (easier) or one or more individual variables (if - you know exactly what you want to accomplish). Depending on the rate of - false positives and your default policy you should decide whether to - block or just warn when the rule is triggered. - - The best way to use this variable is as in the example - below: - - SecRule MULTIPART_STRICT_ERROR "!@eq 0" \ -"phase:2,t:none,log,deny,msg:'Multipart request body \ -failed strict validation: \ -PE %{REQBODY_PROCESSOR_ERROR}, \ -BQ %{MULTIPART_BOUNDARY_QUOTED}, \ -BW %{MULTIPART_BOUNDARY_WHITESPACE}, \ -DB %{MULTIPART_DATA_BEFORE}, \ -DA %{MULTIPART_DATA_AFTER}, \ -HF %{MULTIPART_HEADER_FOLDING}, \ -LF %{MULTIPART_LF_LINE}, \ -SM %{MULTIPART_SEMICOLON_MISSING}, \ -IQ %{MULTIPART_INVALID_QUOTING}, \ -IQ %{MULTIPART_INVALID_HEADER_FOLDING}, \ -FE %{MULTIPART_FILE_LIMIT_EXCEEDED}'" - - The multipart/form-data parser was upgraded in - ModSecurity v2.1.3 to actively look for signs of evasion. Many variables - (as listed above) were added to expose various facts discovered during - the parsing process. The MULTIPART_STRICT_ERROR - variable is handy to check on all abnormalities at once. The individual - variables allow detection to be fine-tuned according to your - circumstances in order to reduce the number of false positives. Detailed - analysis of various evasion techniques covered will be released as a - separated document at a later date. -
- -
- <literal>MULTIPART_UNMATCHED_BOUNDARY</literal> - - Set to 1 when, during the parsing phase of a - multipart/request-body, ModSecurity encounters what - seems like a boundary but it is not. Such an event may occur when - evasion of ModSecurity is attempted. - - The best way to use this variable is as in the example - below: - - SecRule MULTIPART_UNMATCHED_BOUNDARY "!@eq 0" \ -"phase:2,t:none,log,deny,msg:'Multipart parser detected a possible unmatched boundary.'" - - Change the rule from blocking to logging-only if many false - positives are encountered. -
- -
- <literal moreinfo="none">PATH_INFO</literal> - - Besides passing query information to a script/handler, you can - also pass additional data, known as extra path information, as part of - the URL. Example: - - SecRule PATH_INFO "^/(bin|etc|sbin|opt|usr)" -
- -
- <literal moreinfo="none">QUERY_STRING</literal> - - This variable holds form data passed to the script/handler by - appending data after a question mark. Warning: Not URL-decoded. - Example: - - SecRule QUERY_STRING "attack" -
- -
- <literal moreinfo="none">REMOTE_ADDR</literal> - - This variable holds the IP address of the remote client. - Example: - - SecRule REMOTE_ADDR "^192\.168\.1\.101$" -
- -
- <literal moreinfo="none">REMOTE_HOST</literal> - - If HostnameLookUps are set to On, then this variable will hold the - DNS resolved remote host name. If it is set to Off, then it will hold - the remote IP address. Possible uses for this variable would be to deny - known bad client hosts or network blocks, or conversely, to allow in - authorized hosts. Example: - - SecRule REMOTE_HOST "\.evil\.network\org$" -
- -
- <literal moreinfo="none">REMOTE_PORT</literal> - - This variable holds information on the source port that the client - used when initiating the connection to our web server. Example: in this - example, we are evaluating to see if the REMOTE_PORT - is less than 1024, which would indicate that the user is a privileged - user (root). - - SecRule REMOTE_PORT "@lt 1024" phase:1,log,pass,setenv:remote_port=privileged -
- -
- <literal moreinfo="none">REMOTE_USER</literal> - - This variable holds the username of the authenticated user. If - there are no password (basic|digest) access controls in place, then this - variable will be empty. Example: - - SecRule REMOTE_USER "admin" - - Note - - This data will not be available in a proxy-mode deployment as the - authentication is not local. -
- -
- <literal moreinfo="none">REQBODY_PROCESSOR</literal> - - Built-in processors are URLENCODED, - MULTIPART, and XML. - Example: - - SecRule REQBODY_PROCESSOR "^XML$ chain -SecRule XML "@validateDTD /opt/apache-frontend/conf/xml.dtd" -
- -
- <literal - moreinfo="none">REQBODY_PROCESSOR_ERROR</literal> - - Possible values are 0 (no error) or 1 (error). This variable will - be set by request body processors (typically the - multipart/request-data parser or the XML parser) - when they fail to properly parse a request payload. - - Example: - - SecRule REQBODY_PROCESSOR_ERROR "@eq 1" deny,phase:2 - - - Your policies must have a rule to check - REQBODY_PROCESSOR_ERROR at the beginning of phase - 2. Failure to do so will leave the door open for impedance mismatch - attacks. It is possible, for example, that a payload that cannot be - parsed by ModSecurity can be successfully parsed by more tolerant - parser operating in the application. If your policy dictates blocking - then you should reject the request if error is detected. When - operating in detection-only mode your rule should alert with high - severity when request body processing fails. - -
- -
- <literal - moreinfo="none">REQBODY_PROCESSOR_ERROR_MSG</literal> - - Empty, or contains the error message from the processor. - Example: - - SecRule REQBODY_PROCESSOR_ERROR_MSG "failed to parse" t:lowercase -
- -
- <literal moreinfo="none">REQUEST_BASENAME</literal> - - This variable holds just the filename part of - REQUEST_FILENAME (e.g. index.php). - - Example: - - SecRule REQUEST_BASENAME "^login\.php$" phase:2,t:none,t:lowercase - - - Please note that anti-evasion transformations are not applied to - this variable by default. REQUEST_BASENAME will - recognise both / and \ as path - separators. - -
- -
- <literal moreinfo="none">REQUEST_BODY</literal> - - This variable holds the data in the request body (including - POST_PAYLOAD data). REQUEST_BODY - should be used if the original order of the arguments is important - (ARGS should be used in all other cases). - Example: - - SecRule REQUEST_BODY "^username=\w{25,}\&password=\w{25,}\&Submit\=login$" - - - This variable is only available if the - URLENCODED request body processor parsed a request - body. This will occur by default when an - application/x-www-form-urlencoded is detected, or - the URLENCODED request body parser is forced. As of - 2.5.7 it is possible to force the presence of the - REQUEST_BODY variable, but only when there is no - request body processor defined, using the - ctl:forceRequestBodyVariable option in the - REQUEST_HEADERS phase. - -
- -
- <literal moreinfo="none">REQUEST_COOKIES</literal> - - This variable is a collection of all of the cookie data. Example: - the following example is using the Ampersand special operator to count - how many variables are in the collection. In this rule, it would trigger - if the request does not include any Cookie headers. - - SecRule &REQUEST_COOKIES "@eq 0" -
- -
- <literal moreinfo="none">REQUEST_COOKIES_NAMES</literal> - - This variable is a collection of the cookie names in the request - headers. Example: the following rule will trigger if the JSESSIONID - cookie is not present. - - SecRule &REQUEST_COOKIES_NAMES:JSESSIONID "@eq 0" -
- -
- <literal moreinfo="none">REQUEST_FILENAME</literal> - - This variable holds the relative REQUEST_URI - minus the QUERY_STRING part (e.g. /index.php). - Example: - - SecRule REQUEST_FILENAME "^/cgi-bin/login\.php$" phase:2,t:none,t:normalisePath - - - Please note that anti-evasion transformations are not used on - REQUEST_FILENAME by default. - -
- -
- <literal moreinfo="none">REQUEST_HEADERS</literal> - - This variable can be used as either a collection of all of the - request headers or can be used to specify individual headers (by using - REQUEST_HEADERS:Header-Name). Example: the first - example uses REQUEST_HEADERS as a collection and is - applying the validateUrlEncoding operator against all - headers. - - SecRule REQUEST_HEADERS "@validateUrlEncoding" - - Example: the second example is targeting only the - Host header. - - SecRule REQUEST_HEADERS:Host "^[\d\.]+$" \ - "deny,log,status:400,msg:'Host header is a numeric IP address'" -
- -
- <literal moreinfo="none">REQUEST_HEADERS_NAMES</literal> - - This variable is a collection of the names of all of the request - headers. Example: - - SecRule REQUEST_HEADERS_NAMES "^x-forwarded-for" \ - "log,deny,status:403,t:lowercase,msg:'Proxy Server Used'" -
- -
- <literal moreinfo="none">REQUEST_LINE</literal> - - This variable holds the complete request line sent to the server - (including the REQUEST_METHOD and HTTP version data). Example: this - example rule will trigger if the request method is something other than - GET, HEAD, POST or if the HTTP is something other than HTTP/0.9, 1.0 or - 1.1. - - SecRule REQUEST_LINE "!(^((?:(?:pos|ge)t|head))|http/(0\.9|1\.0|1\.1)$)" t:none,t:lowercase -
- -
- <literal moreinfo="none">REQUEST_METHOD</literal> - - This variable holds the request method used by the client. - - The following example will trigger if the request method is either - CONNECT or TRACE. - - SecRule REQUEST_METHOD "^((?:connect|trace))$" t:none,t:lowercase -
- -
- <literal moreinfo="none">REQUEST_PROTOCOL</literal> - - This variable holds the request protocol version information. - Example: - - SecRule REQUEST_PROTOCOL "!^http/(0\.9|1\.0|1\.1)$" t:none,t:lowercase -
- -
- <literal moreinfo="none">REQUEST_URI</literal> - - This variable holds the full URL including the - QUERY_STRING data (e.g. /index.php?p=X), however it - will never contain a domain name, even if it was provided on the request - line. It also does not include either the - REQUEST_METHOD or the HTTP version info. - - Example: - - SecRule REQUEST_URI "attack" phase:1,t:none,t:urlDecode,t:lowercase,t:normalisePath - - - Please note that anti-evasion transformations are not used on - REQUEST_URI by default. - -
- -
- <literal moreinfo="none">REQUEST_URI_RAW</literal> - - Same as REQUEST_URI but will contain the domain - name if it was provided on the request line (e.g. - http://www.example.com/index.php?p=X). - - Example: - - SecRule REQUEST_URI_RAW "http:/" phase:1,t:none,t:urlDecode,t:lowercase,t:normalisePath - - - Please note that anti-evasion transformations are not used on - REQUEST_URI_RAW by default. - -
- -
- <literal moreinfo="none">RESPONSE_BODY</literal> - - This variable holds the data for the response payload. - - Example: - - SecRule RESPONSE_BODY "ODBC Error Code" -
- -
- <literal>RESPONSE_CONTENT_LENGTH</literal> - - Response body length in bytes. Can be available starting with - phase 3 but it does not have to be (as the length of response body is - not always known in advance.) If the size is not known this variable - will contain a zero. If RESPONSE_CONTENT_LENGTH - contains a zero in phase 5 that means the actual size of the response - body was 0. - - The value of this variable can change between phases if the body - is modified. For example, in embedded mode - mod_deflate can compress the response body between - phases 4 and 5. -
- -
- <literal>RESPONSE_CONTENT_TYPE</literal> - - Response content type. Only available starting with phase - 3. -
- -
- <literal moreinfo="none">RESPONSE_HEADERS</literal> - - This variable is similar to the REQUEST_HEADERS variable and can - be used in the same manner. Example: - - SecRule RESPONSE_HEADERS:X-Cache "MISS" - - Note - - This variable may not have access to some headers when running in - embedded-mode. Headers such as Server, Date, Connection and Content-Type - are added during a later Apache hook just prior to sending the data to - the client. This data should be available, however, either during - ModSecurity phase:5 (logging) or when running in proxy-mode. -
- -
- <literal moreinfo="none">RESPONSE_HEADERS_NAMES</literal> - - This variable is a collection of the response header names. - Example: - - SecRule RESPONSE_HEADERS_NAMES "Set-Cookie" - - Note - - Same limitations as RESPONSE_HEADERS with regards to access to - some headers in embedded-mode. -
- -
- <literal moreinfo="none">RESPONSE_PROTOCOL</literal> - - This variable holds the HTTP response protocol information. - Example: - - SecRule RESPONSE_PROTOCOL "^HTTP\/0\.9" -
- -
- <literal moreinfo="none">RESPONSE_STATUS</literal> - - This variable holds the HTTP response status code as generated by - Apache. Example: - - SecRule RESPONSE_STATUS "^[45]" - - Note - - This directive may not work as expected in embedded-mode as Apache - handles many of the stock response codes (404, 401, etc...) earlier in - Phase 2. This variable should work as expected in a proxy-mode - deployment. -
- -
- <literal moreinfo="none">RULE</literal> - - This variable provides access to the id, rev, - severity, logdata, and msg fields of the rule that triggered the - action. Only available for expansion in action strings (e.g.setvar:tx.varname=%{rule.id}). Example: - - SecRule &REQUEST_HEADERS:Host "@eq 0" "log,deny,setvar:tx.varname=%{rule.id}" -
- -
- <literal moreinfo="none">SCRIPT_BASENAME</literal> - - This variable holds just the local filename part of - SCRIPT_FILENAME. Example: - - SecRule SCRIPT_BASENAME "^login\.php$" - - Note - - This variable is not available in proxy mode. -
- -
- <literal moreinfo="none">SCRIPT_FILENAME</literal> - - This variable holds the full path on the server to the requested - script. (e.g. SCRIPT_NAME plus the server path). Example: - - SecRule SCRIPT_FILENAME "^/usr/local/apache/cgi-bin/login\.php$" - - Note - - This variable is not available in proxy mode. -
- -
- <literal moreinfo="none">SCRIPT_GID</literal> - - This variable holds the group id (numerical value) of the group - owner of the script. Example: - - SecRule SCRIPT_GID "!^46$" - - Note - - This variable is not available in proxy mode. -
- -
- <literal moreinfo="none">SCRIPT_GROUPNAME</literal> - - This variable holds the group name of the group owner of the - script. Example: - - SecRule SCRIPT_GROUPNAME "!^apache$" - - Note - - This variable is not available in proxy mode. -
- -
- <literal moreinfo="none">SCRIPT_MODE</literal> - - This variable holds the script's permissions mode data (numerical - - 1=execute, 2=write, 4=read and 7=read/write/execute). Example: will - trigger if the script has the WRITE permissions set. - - SecRule SCRIPT_MODE "^(2|3|6|7)$" - - Note - - This variable is not available in proxy mode. -
- -
- <literal moreinfo="none">SCRIPT_UID</literal> - - This variable holds the user id (numerical value) of the owner of - the script. Example: the example rule below will trigger if the UID is - not 46 (the Apache user). - - SecRule SCRIPT_UID "!^46$" - - Note - - This variable is not available in proxy mode. -
- -
- <literal moreinfo="none">SCRIPT_USERNAME</literal> - - This variable holds the username of the owner of the script. - Example: - - SecRule SCRIPT_USERNAME "!^apache$" - - Note - - This variable is not available in proxy mode. -
- -
- <literal moreinfo="none">SERVER_ADDR</literal> - - This variable contains the IP address of the server. - Example: - - SecRule SERVER_ADDR "^192\.168\.1\.100$" -
- -
- <literal moreinfo="none">SERVER_NAME</literal> - - This variable contains the server's hostname or IP address. - Example: - - SecRule SERVER_NAME "hostname\.com$" - - Note - - This data is taken from the Host header submitted in the client - request. -
- -
- <literal moreinfo="none">SERVER_PORT</literal> - - This variable contains the local port that the web server is - listening on. Example: - - SecRule SERVER_PORT "^80$" -
- -
- <literal moreinfo="none">SESSION</literal> - - This variable is a collection, available only after setsid is executed. Example: the following - example shows how to initialize a SESSION collection with setsid, how to - use setvar to increase the session.score values, how to set the - session.blocked variable and finally how to deny the connection based on - the session:blocked value. - - SecRule REQUEST_COOKIES:PHPSESSID !^$ chain,nolog,pass -SecAction setsid:%{REQUEST_COOKIES.PHPSESSID} -SecRule REQUEST_URI "^/cgi-bin/finger$" \ - "phase:2,t:none,t:lowercase,t:normalisePath,pass,log,setvar:session.score=+10" -SecRule SESSION:SCORE "@gt 50" "pass,log,setvar:session.blocked=1" -SecRule SESSION:BLOCKED "@eq 1" "log,deny,status:403" -
- -
- <literal moreinfo="none">SESSIONID</literal> - - This variable is the value set with setsid. Example: - - SecRule SESSIONID !^$ chain,nolog,pass -SecRule REQUEST_COOKIES:PHPSESSID !^$ -SecAction setsid:%{REQUEST_COOKIES.PHPSESSID} -
- -
- <literal moreinfo="none">TIME</literal> - - This variable holds a formatted string representing the time - (hour:minute:second). Example: - - SecRule TIME "^(([1](8|9))|([2](0|1|2|3))):\d{2}:\d{2}$" -
- -
- <literal moreinfo="none">TIME_DAY</literal> - - This variable holds the current date (1-31). Example: this rule - would trigger anytime between the 10th and 20th days of the - month. - - SecRule TIME_DAY "^(([1](0|1|2|3|4|5|6|7|8|9))|20)$" -
- -
- <literal moreinfo="none">TIME_EPOCH</literal> - - This variable holds the time in seconds since 1970. - Example: - - SecRule TIME_EPOCH "@gt 1000" -
- -
- <literal moreinfo="none">TIME_HOUR</literal> - - This variable holds the current hour (0-23). Example: this rule - would trigger during "off hours". - - SecRule TIME_HOUR "^(0|1|2|3|4|5|6|[1](8|9)|[2](0|1|2|3))$" -
- -
- <literal moreinfo="none">TIME_MIN</literal> - - This variable holds the current minute (0-59). Example: this rule - would trigger during the last half hour of every hour. - - SecRule TIME_MIN "^(3|4|5)" -
- -
- <literal moreinfo="none">TIME_MON</literal> - - This variable holds the current month (0-11). Example: this rule - would match if the month was either November (10) or December - (11). - - SecRule TIME_MON "^1" -
- -
- <literal moreinfo="none">TIME_SEC</literal> - - This variable holds the current second count (0-59). - Example: - - SecRule TIME_SEC "@gt 30" -
- -
- <literal moreinfo="none">TIME_WDAY</literal> - - This variable holds the current weekday (0-6). Example: this rule - would trigger only on week-ends (Saturday and Sunday). - - SecRule TIME_WDAY "^(0|6)$" -
- -
- <literal moreinfo="none">TIME_YEAR</literal> - - This variable holds the current four-digit year data. - Example: - - SecRule TIME_YEAR "^2006$" -
- -
- <literal moreinfo="none">TX</literal> - - Transaction Collection. This is used to store pieces of data, - create a transaction anomaly score, and so on. Transaction variables are - set for 1 request/response cycle. The scoring and evaluation will not - last past the current request/response process. Example: In this - example, we are using setvar to increase the tx.score value by 5 points. - We then have a follow-up run that will evaluate the transactional score - this request and then it will decided whether or not to allow/deny the - request through. - - The following is a list of reserved names in the TX - collection: - - - - TX:0 - The matching value - when using the @rx or @pm operator with the capture action. - - - - TX:1-TX:9 - The captured - subexpression value when using the @rx operator with capturing parens and the - capture action. - - - - TX:MSC_* - ModSecurity - processing flags. - - - - MSC_PCRE_LIMITS_EXCEEDED - Set - non-zero if PCRE match limits are exceeded. See SecPcreMatchLimit and SecPcreMatchLimitRecursion. - - - - - - SecRule WEBSERVER_ERROR_LOG "does not exist" "phase:5,pass,setvar:tx.score=+5" -SecRule TX:SCORE "@gt 20" deny,log -
- -
- <literal moreinfo="none">USERID</literal> - - This variable is the value set with setuid. Example: - - SecAction setuid:%{REMOTE_USER},nolog -SecRule USERID "Admin" -
- -
- <literal moreinfo="none">WEBAPPID</literal> - - This variable is the value set with SecWebAppId. Example: - - SecWebAppId "WebApp1" -SecRule WEBAPPID "WebApp1" "chain,log,deny,status:403" -SecRule REQUEST_HEADERS:Transfer-Encoding "!^$" -
- -
- <literal moreinfo="none">WEBSERVER_ERROR_LOG</literal> - - Contains zero or more error messages produced by the web server. - Access to this variable is in phase:5 (logging). Example: - - SecRule WEBSERVER_ERROR_LOG "File does not exist" "phase:5,setvar:tx.score=+5" -
- -
- <literal moreinfo="none">XML</literal> - - Can be used standalone (as a target for - validateDTD and validateSchema) or - with an XPath expression parameter (which makes it a valid target for - any function that accepts plain text). Example using XPath: - - SecDefaultAction log,deny,status:403,phase:2 -SecRule REQUEST_HEADERS:Content-Type ^text/xml$ \ - phase:1,t:lowercase,nolog,pass,ctl:requestBodyProcessor=XML -SecRule REQBODY_PROCESSOR "!^XML$" skipAfter:12345 -SecRule XML:/employees/employee/name/text() Fred -SecRule XML:/xq:employees/employee/name/text() Fred \ - id:12345,xmlns:xq=http://www.example.com/employees - - The first XPath expression does not use namespaces. It would match - against payload such as this one: - - <employees> - <employee> - <name>Fred Jones</name> - <address location="home"> - <street>900 Aurora Ave.</street> - <city>Seattle</city> - <state>WA</state> - <zip>98115</zip> - </address> - <address location="work"> - <street>2011 152nd Avenue NE</street> - <city>Redmond</city> - <state>WA</state> - <zip>98052</zip> - </address> - <phone location="work">(425)555-5665</phone> - <phone location="home">(206)555-5555</phone> - <phone location="mobile">(206)555-4321</phone> - </employee> -</employees> - - The second XPath expression does use namespaces. It would match - the following payload: - - <xq:employees xmlns:xq="http://www.example.com/employees"> - <employee> - <name>Fred Jones</name> - <address location="home"> - <street>900 Aurora Ave.</street> - <city>Seattle</city> - <state>WA</state> - <zip>98115</zip> - </address> - <address location="work"> - <street>2011 152nd Avenue NE</street> - <city>Redmond</city> - <state>WA</state> - <zip>98052</zip> - </address> - <phone location="work">(425)555-5665</phone> - <phone location="home">(206)555-5555</phone> - <phone location="mobile">(206)555-4321</phone> - </employee> -</xq:employees> - - Note the different namespace used in the second example. - - To learn more about XPath we suggest the following - resources: - - - - XPath - Standard - - - - XPath - Tutorial - - -
-
- -
- Transformation functions - - When ModSecurity receives request or response information, it makes - a copy of this data and places it into memory. It is on this data in - memory that transformation functions are applied. The raw request/response - data is never altered. Transformation functions are used to transform a - variable before testing it in a rule. - - Note - - There are no default transformation functions as there were in - previous versions of ModSecurity. - - The following rule will ensure that an attacker does not use mixed - case in order to evade the ModSecurity rule: - - SecRule ARGS:p "xp_cmdshell" "t:lowercase" - multiple transformation actions can be used in the same rule, for example - the following rule also ensures that an attacker does not use URL encoding - (%xx encoding) for evasion. Note the order of the transformation - functions, which ensures that a URL encoded letter is first decoded and - than translated to lower case. - - SecRule ARGS:p "xp_cmdshell" "t:urlDecode,t:lowercase" - - One can use the SecDefaultAction command to ensure the translation - occurs for every rule until the next. Note that transformation actions are - additive, so if a rule explicitly list actions, the translation actions - set by SecDefaultAction are still performed. - - SecDefaultAction t:urlDecode,t:lowercase - - The following transformation functions are supported: - -
- <literal>base64Decode</literal> - - This function decodes a base64-encoded string. -
- -
- <literal>base64Encode</literal> - - This function encodes input string using base64 encoding. -
- -
- <literal>compressWhitespace</literal> - - It converts whitespace characters (32, \f, \t, \n, \r, \v, 160) to - spaces (ASCII 32) and then compresses multiple consecutive space - characters into one. -
- -
- cssDecode - - Decodes CSS-encoded characters, as specified at http://www.w3.org/TR/REC-CSS2/syndata.html. - This function uses only up to two bytes in the decoding process, meaning - it is useful to uncover ASCII characters (that wouldn't normally be - encoded) encoded using CSS encoding, or to counter evasion which is a - combination of a backslash and non-hexadecimal characters (e.g. - ja\vascript is equivalent to - javascript). -
- -
- <literal>escapeSeqDecode</literal> - - This function decode ANSI C escape sequences: \a, \b, - \f, \n, \r, - \t, \v, \\, - \?, \', \", - \xHH (hexadecimal), \0OOO (octal). Invalid encodings are left in - the output. -
- -
- <literal>hexDecode</literal> - - This function decodes a hex-encoded string. -
- -
- <literal>hexEncode</literal> - - This function encodes input as hex-encoded string. -
- -
- <literal>htmlEntityDecode</literal> - - This function decodes HTML entities present in input. The - following variants are supported: - - - - &#xHH and &#xHH; (where H is any hexadecimal - number) - - - - &#DDD and &#DDD; (where D is any decimal - number) - - - - &quot and &quot; - - - - &nbsp and &nbsp; - - - - &lt and &lt; - - - - &gt and &gt; - - - - This function will convert any entity into a single byte only, - possibly resulting in a loss of information. It is thus useful to - uncover bytes that would otherwise not need to be encoded, but it cannot - do anything with the characters from the range above 255. -
- -
- <literal>jsDecode</literal> - - Decodes JavaScript escape sequences. If a - \uHHHH code is in the range of - FF01-FF5E (the full width ASCII - codes), then the higher byte is used to detect and adjust the lower - byte. Otherwise, only the lower byte will be used and the higher byte - zeroed. -
- -
- <literal>length</literal> - - This function converts the input to its numeric length (count of - bytes). -
- -
- <literal>lowercase</literal> - - This function converts all characters to lowercase using the - current C locale. -
- -
- <literal>md5</literal> - - This function calculates an MD5 hash from input. Note that the - computed hash is in a raw binary form and may need encoded into text to - be usable (for example: t:md5,t:hexEncode). -
- -
- <literal><literal>none</literal></literal> - - Not an actual transformation function, but an instruction to - ModSecurity to remove all transformation functions associated with the - current rule. -
- -
- <literal>normalisePath</literal> - - This function will remove multiple slashes, self-references and - directory back-references (except when they are at the beginning of the - input). -
- -
- <literal>normalisePathWin</literal> - - Same as normalisePath, but will first convert - backslash characters to forward slashes. -
- -
- <literal>parityEven7bit</literal> - - This function calculates even parity of 7-bit data replacing the - 8th bit of each target byte with the calculated parity bit. -
- -
- <literal>parityOdd7bit</literal> - - This function calculates odd parity of 7-bit data replacing the - 8th bit of each target byte with the calculated parity bit. -
- -
- <literal>parityZero7bit</literal> - - This function calculates zero parity of 7-bit data replacing the - 8th bit of each target byte with a zero parity bit which allows - inspection of even/odd parity 7bit data as ASCII7 data. -
- -
- <literal>removeNulls</literal> - - This function removes NULL bytes from input. -
- -
- <literal>removeWhitespace</literal> - - This function removes all whitespace characters from input. -
- -
- <literal>replaceComments</literal> - - This function replaces each occurrence of a C-style comments - (/* ... */) with a single space - (multiple consecutive occurrences of a space will not be compressed). - Unterminated comments will too be replaced with a space (ASCII 32). - However, a standalone termination of a comment (*/) will not be acted upon. -
- -
- <literal>replaceNulls</literal> - - This function is enabled by default. It replaces NULL bytes in - input with spaces (ASCII 32). -
- -
- <literal>urlDecode</literal> - - This function decodes an URL-encoded input string. Invalid - encodings (i.e. the ones that use non-hexadecimal characters, or the - ones that are at the end of string and have one or two characters - missing) will not be converted. If you want to detect invalid encodings - use the @validateUrlEncoding - operator. The transformation function should not be used against - variables that have already been URL-decoded unless it is your intention - to perform URL decoding twice! -
- -
- <literal>urlDecodeUni</literal> - - In addition to decoding %xx like urlDecode, urlDecodeUni also decodes %uXXXX encoding. If the code is in the range - of FF01-FF5E (the full width ASCII - codes), then the higher byte is used to detect and adjust the lower - byte. Otherwise, only the lower byte will be used and the higher byte - zeroed. -
- -
- <literal>urlEncode</literal> - - This function encodes input using URL encoding. -
- -
- <literal>sha1</literal> - - This function calculates a SHA1 hash from input. Note that the - computed hash is in a raw binary form and may need encoded to be usable - (for example: t:sha1,t:hexEncode). -
- -
- <literal>trimLeft</literal> - - This function removes whitespace from the left side of - input. -
- -
- <literal>trimRight</literal> - - This function removes whitespace from the right side of - input. -
- -
- <literal>trim</literal> - - This function removes whitespace from both the left and right - sides of input. -
-
- -
- Actions - - Each action belongs to one of five groups: - - - - Disruptive actions - - - Cause ModSecurity to do something. In many cases something - means block transaction, but not in all. For example, the allow - action is classified as a disruptive action, but it does the - opposite of blocking. There can only be one disruptive action per - rule (if there are multiple disruptive actions present, or - inherited, only the last one will take effect), or rule chain (in a - chain, a disruptive action can only appear in the first - rule). - - - - - Non-disruptive actions - - - Do something, but that something does not and cannot affect - the rule processing flow. Setting a variable, or changing its value - is an example of a non-disruptive action. Non-disruptive action can - appear in any rule, including each rule belonging to a chain. - - - - - Flow actions - - - These actions affect the rule flow (for example - skip or skipAfter). - - - - - Meta-data actions - - - Meta-data actions are used to provide more information about - rules. Examples include id, - rev, severity and - msg. - - - - - Data actions - - - Not really actions, these are mere containers that hold data - used by other actions. For example, the status - action holds the status that will be used for blocking (if it takes - place). - - - - -
- <literal>allow</literal> - - Description: Stops rule processing on a - successful match and allows the transaction to proceed. - - Action Group: Disruptive - - Example: - - SecRule REMOTE_ADDR "^192\.168\.1\.100$" nolog,phase:1,allow - - Prior to ModSecurity 2.5 the allow action would - only affect the current phase. An allow in phase 1 - would skip processing the remaining rules in phase 1 but the rules from - phase 2 would still execute. Starting with v2.5.0 - allow was enhanced to allow for fine-grained control - of what is done. The following rules now apply: - - - - If used one its own, like in the example above, - allow will affect the entire transaction, - stopping processing of the current phase but also skipping over all - other phases apart from the logging phase. (The logging phase is - special; it is designed to always execute.) - - - - If used with parameter "phase", allow will - cause the engine to stop processing the current phase. Other phases - will continue as normal. - - - - If used with parameter "request", allow - will cause the engine to stop processing the current phase. The next - phase to be processed will be phase - RESPONSE_HEADERS. - - - - Examples: - - # Do not process request but process response. -SecAction phase:1,allow:request - -# Do not process transaction (request and response). -SecAction phase:1,allow - - - If you want to allow a response through, put a rule in phase - RESPONSE_HEADERS and simply use - allow on its own: - - # Allow response through. -SecAction phase:3,allow -
- -
- append - - Description: Appends text given as parameter - to the end of response body. For this action to work content injection - must be enabled by setting SecContentInjection to - On. Also make sure you check the content type of the - response before you make changes to it (e.g. you don't want to inject - stuff into images). - - Action Group: Non-disruptive - - Processing Phases: 3 and 4. - - Example: - - SecRule RESPONSE_CONTENT_TYPE "^text/html" "nolog,pass,append:'<hr>Footer'" - - - While macro expansion is allowed in the additional content, you - are strongly cautioned against inserting user defined data - fields. - -
- -
- <literal>auditlog</literal> - - Description: Marks the transaction for - logging in the audit log. - - Action Group: Non-disruptive - - Example: - - SecRule REMOTE_ADDR "^192\.168\.1\.100$" auditlog,phase:1,allow - - Note - - The auditlog action is now explicit if log is already - specified. -
- -
- <literal>block</literal> - - Description: Performs the default disruptive - action. - - Action Group: Disruptive - - It is intended to be used by ruleset writers to signify that the - rule was intended to block and leaves the "how" up to the administrator. - This action is currently a placeholder which will just be replaced by - the action from the last SecDefaultAction in the same - context. Using the block action with the - SecRuleUpdateActionById directive allows a rule to be - reverted back to the previous SecDefaultAction - disruptive action. - - In future versions of ModSecurity, more control and functionality - will be added to define "how" to block. - - Examples: - - In the following example, the second rule will "deny" because of - the SecDefaultAction disruptive action. The intent being that the - administrator could easily change this to another disruptive action - without editing the actual rules. - - ### Administrator defines "how" to block (deny,status:403)... -SecDefaultAction phase:2,deny,status:403,log,auditlog - -### Included from a rulest... -# Intent is to warn for this User Agent -SecRule REQUEST_HEADERS:User-Agent "perl" "phase:2,pass,msg:'Perl based user agent identified'" -# Intent is to block for this User Agent, "how" described in SecDefaultAction -SecRule REQUEST_HEADERS:User-Agent "nikto" "phase:2,block,msg:'Nikto Scanners Identified'" - - In the following example, The rule is reverted back to the - pass action defined in the SecDefaultAction directive - by using the SecRuleUpdateActionById directive in - conjuction with the block action. This allows an - administrator to override an action in a 3rd party rule without - modifying the rule itself. - - ### Administrator defines "how" to block (deny,status:403)... -SecDefaultAction phase:2,pass,log,auditlog - -### Included from a rulest... -SecRule REQUEST_HEADERS:User-Agent "nikto" "id:1,phase:2,deny,msg:'Nikto Scanners Identified'" - -### Added by the administrator -SecRuleUpdateActionById 1 "block" -
- -
- <literal>capture</literal> - - Description: When used together with the - regular expression operator, capture action will create copies of - regular expression captures and place them into the transaction variable - collection. Up to ten captures will be copied on a successful pattern - match, each with a name consisting of a digit from 0 to 9. - - Action Group: Non-disruptive - - Example: - - SecRule REQUEST_BODY "^username=(\w{25,})" phase:2,capture,t:none,chain -SecRule TX:1 "(?:(?:a(dmin|nonymous)))" - - Note - - The 0 data captures the entire REGEX match and 1 captures the data - in the first parens, etc... -
- -
- <literal>chain</literal> - - Description: Chains the rule where the action - is placed with the rule that immediately follows it. The result is - called a rule chain. Chained rules allow for more - complex rule matches where you want to use a number of different - VARIABLES to create a better rule and to help prevent false - positives. - - Action Group: Flow - - Example: - - # Refuse to accept POST requests that do -# not specify request body length. Do note that -# this rule should be preceeded by a rule that verifies -# only valid request methods (e.g. GET, HEAD and POST) are used. -SecRule REQUEST_METHOD ^POST$ chain,t:none -SecRule REQUEST_HEADERS:Content-Length ^$ t:none - - - In programming language concepts, think of chained rules - somewhat similar to AND conditional statements. The actions specified - in the first portion of the chained rule will only be triggered if all - of the variable checks return positive hits. If one aspect of the - chained rule is negative, then the entire rule chain is negative. Also - note that disruptive actions, execution phases, metadata actions (id, - rev, msg), skip and skipAfter actions can only be specified on by the - chain starter rule. - -
- -
- <literal>ctl</literal> - - Description: The ctl action allows - configuration options to be updated for the transaction. - - Action Group: Non-disruptive - - Example: - - # Parse requests with Content-Type "text/xml" as XML -SecRule REQUEST_CONTENT_TYPE ^text/xml nolog,pass,ctl:requestBodyProcessor=XML - - Note - - The following configuration options are supported: - - - - auditEngine - - - - auditLogParts - - - - debugLogLevel - - - - ruleRemoveById (single rule - ID, or a single rule ID range accepted as parameter) - - - - requestBodyAccess - - - - forceRequestBodyVariable - - - - requestBodyLimit - - - - requestBodyProcessor - - - - responseBodyAccess - - - - responseBodyLimit - - - - ruleEngine - - - - With the exception of - requestBodyProcessor and - forceRequestBodyVariable, each configuration option - corresponds to one configuration directive and the usage is - identical. - - The requestBodyProcessor option allows you to - configure the request body processor. By default ModSecurity will use - the URLENCODED and MULTIPART processors to process an application/x-www-form-urlencoded and a - multipart/form-data bodies, - respectively. A third processor, XML, is also - supported, but it is never used implicitly. Instead you must tell - ModSecurity to use it by placing a few rules in the REQUEST_HEADERS processing phase. After the - request body was processed as XML you will be able to use the - XML-related features to inspect it. - - Request body processors will not interrupt a transaction if an - error occurs during parsing. Instead they will set variables REQBODY_PROCESSOR_ERROR and REQBODY_PROCESSOR_ERROR_MSG. These variables - should be inspected in the REQUEST_BODY phase and an appropriate action - taken. - - The forceRequestBodyVariable option allows you - to configure the REQUEST_BODY variable to be set when - there is no request body processor configured. This allows for - inspection of request bodies of unknown types. -
- -
- <literal>deny</literal> - - Description: Stops rule processing and - intercepts transaction. - - Action Group: Disruptive - - Example: - - SecRule REQUEST_HEADERS:User-Agent "nikto" "log,deny,msg:'Nikto Scanners Identified'" -
- -
- <literal>deprecatevar</literal> - - Description: Decrement counter based on its - age. - - Action Group: Non-Disruptive - - Example: The following example will decrement the counter by 60 - every 300 seconds. - - SecAction deprecatevar:session.score=60/300 - - Note - - Counter values are always positive, meaning the value will never - go below zero. -
- -
- <literal>drop</literal> - - Description: Immediately initiate a - "connection close" action to tear down the TCP connection by sending a - FIN packet. - - Action Group: Disruptive - - Example: The following example initiates an IP collection for - tracking Basic Authentication attempts. If the client goes over the - threshold of more than 25 attempts in 2 minutes, it will DROP subsequent - connections. - - SecAction phase:1,initcol:ip=%{REMOTE_ADDR},nolog -SecRule ARGS:login "!^$" \ - nolog,phase:1,setvar:ip.auth_attempt=+1,deprecatevar:ip.auth_attempt=20/120 -SecRule IP:AUTH_ATTEMPT "@gt 25" \ - "log,drop,phase:1,msg:'Possible Brute Force Attack'" - - Note - - This action is currently not available on Windows based builds. - This action is extremely useful when responding to both Brute Force and - Denial of Service attacks in that, in both cases, you want to minimize - both the network bandwidth and the data returned to the client. This - action causes error message to appear in the log "(9)Bad file - descriptor: core_output_filter: writing data to the network" -
- -
- <literal>exec</literal> - - Description: Executes an external - script/binary supplied as parameter. As of v2.5.0, if the parameter - supplied to exec is a Lua script (detected by the - .lua extension) the script will be processed - internally. This means you will get direct access - to the internal request context from the script. Please read the - SecRuleScript documentation for more details on how - to write Lua scripts. - - Action Group: Non-disruptive - - Example: - - # The following is going to execute /usr/local/apache/bin/test.sh -# as a shell script on rule match. -SecRule REQUEST_URI "^/cgi-bin/script\.pl" \ - "phase:2,t:none,t:lowercase,t:normalisePath,log,exec:/usr/local/apache/bin/test.sh" - -# The following is going to process /usr/local/apache/conf/exec.lua -# internally as a Lua script on rule match. -SecRule ARGS:p attack log,exec:/usr/local/apache/conf/exec.lua - - - The exec action is executed independently from any disruptive - actions. External scripts will always be called with no parameters. - Some transaction information will be placed in environment variables. - All the usual CGI environment variables will be there. You should be - aware that forking a threaded process results in all threads being - replicated in the new process. Forking can therefore incur larger - overhead in multi-threaded operation. The script you execute must - write something (anything) to stdout. If it doesn't ModSecurity will - assume execution didn't work. - -
- -
- <literal>expirevar</literal> - - Description: Configures a collection variable - to expire after the given time in seconds. - - Action Group: Non-disruptive - - Example: - - SecRule REQUEST_COOKIES:JSESSIONID "!^$" nolog,phase:1,pass,chain -SecAction setsid:%{REQUEST_COOKIES:JSESSIONID} -SecRule REQUEST_URI "^/cgi-bin/script\.pl" \ - "phase:2,t:none,t:lowercase,t:normalisePath,log,allow,\ -setvar:session.suspicious=1,expirevar:session.suspicious=3600,phase:1" - - Note - - You should use expirevar actions at the same time that you use - setvar actions in order to keep the indented expiration time. If they - are used on their own (perhaps in a SecAction directive) the expire time - could get re-set. When variables are removed from collections, and there - are no other changes, collections are not written to disk at the end of - request. This is because the variables can always be expired again when - the collection is read again on a subsequent request. -
- -
- <literal>id</literal> - - Description: Assigns a unique ID to the rule - or chain. - - Action Group: Meta-data - - Example: - - SecRule &REQUEST_HEADERS:Host "@eq 0" \ - "log,id:60008,severity:2,msg:'Request Missing a Host Header'" - - Note - - These are the reserved ranges: - - - - 1-99,999; reserved for local (internal) use. Use as you see - fit but do not use this range for rules that are distributed to - others. - - - - 100,000-199,999; reserved for internal use of the engine, to - assign to rules that do not have explicit IDs. - - - - 200,000-299,999; reserved for rules published at - modsecurity.org. - - - - 300,000-399,999; reserved for rules published at - gotroot.com. - - - - 400,000-419,999; unused (available for reservation). - - - - 420,000-429,999; reserved for ScallyWhack. - - - - 430,000-699,999; unused (available for reservation). - - - - 700,000-799,999; reserved for Ivan Ristic. - - - - 900,000-999,999; reserved for the Core Rules - project. - - - - 1,000,000 and above; unused (available for - reservation). - - -
- -
- <literal>initcol</literal> - - Description: Initialises a named persistent - collection, either by loading data from storage or by creating a new - collection in memory. - - Action Group: Non-disruptive - - Example: The following example initiates IP address - tracking. - - SecAction phase:1,initcol:ip=%{REMOTE_ADDR},nolog - - Note - - Normally you will want to use phase:1 along - with initcol so that the collection is available in - all phases. - - Collections are loaded into memory when the initcol action is - encountered. The collection in storage will be persisted (and the - appropriate counters increased) only if it was - changed during transaction processing. - - See the "Persistant Storage" section for further details. -
- -
- <literal>log</literal> - - Description: Indicates that a successful - match of the rule needs to be logged. - - Action Group: Non-disruptive - - Example: - - SecAction phase:1,initcol:ip=%{REMOTE_ADDR},log - - Note - - This action will log matches to the Apache error log file and the - ModSecurity audit log. -
- -
- <literal>logdata</literal> - - Description: Allows a data fragment to be - logged as part of the alert message. - - Action Group: Non-disruptive - - Example: - - SecRule &ARGS:p "@eq 0" "log,logdata:'%{TX.0}'" - - Note - - The logdata information appears in the error and/or audit log - files and is not sent back to the client in response headers. Macro - expansion is preformed so you may use variable names such as %{TX.0}, - etc. The information is properly escaped for use with logging binary - data. -
- -
- <literal>msg</literal> - - Description: Assigns a custom message to the - rule or chain. - - Action Group: Meta-data - - Example: - - SecRule &REQUEST_HEADERS:Host "@eq 0" \ - "log,id:60008,severity:2,msg:'Request Missing a Host Header'" - - Note - - The msg information appears in the error and/or audit log files - and is not sent back to the client in response headers. -
- -
- <literal>multiMatch</literal> - - Description: If enabled ModSecurity will - perform multiple operator invocations for every target, before and after - every anti-evasion transformation is performed. - - Action Group: Non-disruptive - - Example: - - SecDefaultAction log,deny,phase:1,t:removeNulls,t:lowercase -SecRule ARGS "attack" multiMatch - - Note - - Normally, variables are evaluated once, only after all - transformation functions have completed. With multiMatch, variables are - checked against the operator before and after every transformation - function that changes the input. -
- -
- <literal>noauditlog</literal> - - Description: Indicates that a successful - match of the rule should not be used as criteria whether the transaction - should be logged to the audit log. - - Action Group: Non-disruptive - - Example: - - SecRule REQUEST_HEADERS:User-Agent "Test" allow,noauditlog - - Note - - If the SecAuditEngine is set to On, all of the transactions will - be logged. If it is set to RelevantOnly, then you can control it with - the noauditlog action. Even if the noauditlog action is applied to a - specific rule and a rule either before or after triggered an audit - event, then the transaction will be logged to the audit log. The correct - way to disable audit logging for the entire transaction is to use - "ctl:auditEngine=Off" -
- -
- <literal>nolog</literal> - - Description: Prevents rule matches from - appearing in both the error and audit logs. - - Action Group: Non-disruptive - - Example: - - SecRule REQUEST_HEADERS:User-Agent "Test" allow,nolog - - Note - - The nolog action also implies noauditlog. -
- -
- <literal>pass</literal> - - Description: Continues processing with the - next rule in spite of a successful match. - - Action Group: Disruptive - - Example1: - - SecRule REQUEST_HEADERS:User-Agent "Test" log,pass - - When using pass with SecRule with multiple - targets, all targets will be processed and - all non-disruptive actions will trigger for - every match found. In the second example the - TX:test target would be incremented by 1 for each matching - argument. - - Example2: - - SecRule ARGS "test" log,pass,setvar:TX.test=+1 - - Note - - The transaction will not be interrupted but a log will be - generated for each matching target (unless logging has been - suppressed). -
- -
- <literal>pause</literal> - - Description: Pauses transaction processing - for the specified number of milliseconds. - - Action Group: Non-disruptive - - Example: - - SecRule REQUEST_HEADERS:User-Agent "Test" log,deny,status:403,pause:5000 - - Note - - This feature can be of limited benefit for slowing down Brute - Force Scanners, however use with care. If you are under a Denial of - Service type of attack, the pause feature may make matters worse as this - feature will cause child processes to sit idle until the pause is - completed. -
- -
- <literal>phase</literal> - - Description: Places the rule (or the rule - chain) into one of five available processing phases. - - Action Group: Meta-data - - Example: - - SecDefaultAction log,deny,phase:1,t:removeNulls,t:lowercase -SecRule REQUEST_HEADERS:User-Agent "Test" log,deny,status:403 - - Note - - Keep in mind that is you specify the incorrect phase, the target - variable that you specify may be empty. This could lead to a false - negative situation where your variable and operator (RegEx) may be - correct, but it misses malicious data because you specified the wrong - phase. -
- -
- prepend - - Description: Prepends text given as parameter - to the response body. For this action to work content injection must be - enabled by setting SecContentInjection to - On. Also make sure you check the content type of the - response before you make changes to it (e.g. you don't want to inject - stuff into images). - - Action Group: Non-disruptive - - Processing Phases: 3 and 4. - - Example: - - SecRule RESPONSE_CONTENT_TYPE ^text/html "phase:3,nolog,pass,prepend:'Header<br>'" - - - While macro expansion is allowed in the additional content, you - are strongly cautioned against inserting user defined data - fields. - -
- -
- <literal>proxy</literal> - - Description: Intercepts transaction by - forwarding request to another web server using the proxy backend. - - Action Group: Disruptive - - Example: - - SecRule REQUEST_HEADERS:User-Agent "Test" log,proxy:http://www.honeypothost.com/ - - Note - - For this action to work, mod_proxy must also be installed. This - action is useful if you would like to proxy matching requests onto a - honeypot webserver. -
- -
- <literal>redirect</literal> - - Description: Intercepts transaction by - issuing a redirect to the given location. - - Action Group: Disruptive - - Example: - - SecRule REQUEST_HEADERS:User-Agent "Test" \ - log,redirect:http://www.hostname.com/failed.html - - Note - - If the status action is present - and its value is acceptable (301, 302, 303, or 307) it will be used for - the redirection. Otherwise status code 302 will be used. -
- -
- <literal>rev</literal> - - Description: Specifies rule revision. - - Action Group: Meta-data - - Example: - - SecRule REQUEST_METHOD "^PUT$" "id:340002,rev:1,severity:2,msg:'Restricted HTTP function'" - - Note - - This action is used in combination with the id action to allow the same rule ID to be used - after changes take place but to still provide some indication the rule - changed. -
- -
- <literal>sanitizeArg</literal> - - Description: Sanitises (replaces each byte - with an asterisk) a named request argument prior to audit - logging. - - Action Group: Non-disruptive - - Example: - - SecAction nolog,phase:2,sanitizeArg:password - - Note - - The sanitize actions do not sanitize any data within the actual - raw requests but only on the copy of data within memory that is set to - log to the audit log. It will not sanitize the data in the - modsec_debug.log file (if the log level is set high enough to capture - this data). -
- -
- <literal>sanitizeMatched</literal> - - Description: Sanitises the variable (request - argument, request header, or response header) that caused a rule - match. - - Action Group: Non-disruptive - - Example: This action can be used to sanitize arbitrary transaction - elements when they match a condition. For example, the example below - will sanitize any argument that contains the word - password in the name. - - SecRule ARGS_NAMES password nolog,pass,sanitizeMatched - - Note - - Same note as sanitizeArg. -
- -
- <literal>sanitizeRequestHeader</literal> - - Description: Sanitises a named request - header. - - Action Group: Non-disruptive - - Example: This will sanitize the data in the Authorization - header. - - SecAction log,phase:1,sanitizeRequestHeader:Authorization - - Note - - Same note as sanitizeArg. -
- -
- <literal>sanitizeResponseHeader</literal> - - Description: Sanitises a named response - header. - - Action Group: Non-disruptive - - Example: This will sanitize the Set-Cookie data sent to the - client. - - SecAction log,phase:3,sanitizeResponseHeader:Set-Cookie - - Note - - Same note as sanitizeArg. -
- -
- <literal>severity</literal> - - Description: Assigns severity to the rule it - is placed with. - - Action Group: Meta-data - - Example: - - SecRule REQUEST_METHOD "^PUT$" "id:340002,rev:1,severity:CRITICAL,msg:'Restricted HTTP function'" - - Note - - Severity values in ModSecurity follow those of syslog, as - below: - - - - 0 - EMERGENCY - - - - 1 - ALERT - - - - 2 - CRITICAL - - - - 3 - ERROR - - - - 4 - WARNING - - - - 5 - NOTICE - - - - 6 - INFO - - - - 7 - DEBUG - - - - It is possible to specify severity levels using either the - numerical values or the text values. You should always specify severity - levels using the text values. The use of the numerical values is - deprecated (as of v2.5.0) and may be removed in one of the susequent - major updates. -
- -
- <literal>setuid</literal> - - Description: Special-purpose action that - initialises the USER - collection. - - Action Group: Non-disruptive - - Example: - - SecAction setuid:%{REMOTE_USER},nolog - - Note - - After initialisation takes place the variable USERID will be available for use in the - subsequent rules. -
- -
- <literal>setsid</literal> - - Description: Special-purpose action that - initialises the SESSION - collection. - - Action Group: Non-disruptive - - Example: - - # Initialise session variables using the session cookie value -SecRule REQUEST_COOKIES:PHPSESSID !^$ chain,nolog,pass -SecAction setsid:%{REQUEST_COOKIES.PHPSESSID} - - Note - - On first invocation of this action the collection will be empty - (not taking the predefined variables into account - see initcol for more information). On subsequent - invocations the contents of the collection (session, in this case) will - be retrieved from storage. After initialisation takes place the - variable SESSIONID will be available - for use in the subsequent rules.This action understands each application - maintains its own set of sessions. It will utilise the current web - application ID to create a session namespace. -
- -
- <literal>setenv</literal> - - Description: Creates, removes, or updates an - environment variable. - - Action Group: Non-disruptive - - Examples: - - To create a new variable (if you omit the value 1 will be used): - - setenv:name=value - - To remove a variable: - - setenv:!name - - Note - - This action can be used to establish communication with other - Apache modules. -
- -
- <literal>setvar</literal> - - Description: Creates, removes, or updates a - variable in the specified collection. - - Action Group: Non-disruptive - - Examples: - - To create a new variable: - - setvar:tx.score=10 - - To remove a variable prefix the name with exclamation mark: - - setvar:!tx.score - - To increase or decrease variable value use + and - - characters in front of a numerical value: - - setvar:tx.score=+5 -
- -
- <literal>skip</literal> - - Description: Skips one or more rules (or - chains) on successful match. - - Action Group: Flow - - Example: - - SecRule REQUEST_URI "^/$" \ -"phase:2,chain,t:none,skip:2" -SecRule REMOTE_ADDR "^127\.0\.0\.1$" "chain" -SecRule REQUEST_HEADERS:User-Agent "^Apache \(internal dummy connection\)$" "t:none" -SecRule &REQUEST_HEADERS:Host "@eq 0" \ - "deny,log,status:400,id:960008,severity:4,msg:'Request Missing a Host Header'" -SecRule &REQUEST_HEADERS:Accept "@eq 0" \ - "log,deny,log,status:400,id:960015,msg:'Request Missing an Accept Header'" - - Note - - Skip only applies to the current processing phase and not - necessarily the order in which the rules appear in the configuration - file. If you group rules by processing phases, then skip should work as - expected. This action can not be used to skip rules within one chain. - Accepts a single parameter denoting the number of rules (or chains) to - skip. -
- -
- <literal>skipAfter</literal> - - Description: Skips rules (or chains) on - successful match resuming rule execution after the specified rule ID or - marker (see SecMarker) is found. - - Action Group: Flow - - Example: - - SecRule REQUEST_URI "^/$" "chain,t:none,skipAfter:960015" -SecRule REMOTE_ADDR "^127\.0\.0\.1$" "chain" -SecRule REQUEST_HEADERS:User-Agent "^Apache \(internal dummy connection\)$" "t:none" -SecRule &REQUEST_HEADERS:Host "@eq 0" \ - "deny,log,status:400,id:960008,severity:4,msg:'Request Missing a Host Header'" -SecRule &REQUEST_HEADERS:Accept "@eq 0" \ - "log,deny,log,status:400,id:960015,msg:'Request Missing an Accept Header'" - - Note - - SkipAfter only applies to the current - processing phase and not necessarily the order in which the rules appear - in the configuration file. If you group rules by processing phases, then - skip should work as expected. This action can not be used to skip rules - within one chain. Accepts a single parameter denoting the last rule ID - to skip. -
- -
- <literal>status</literal> - - Description: Specifies the response status - code to use with actions deny - and redirect. - - Action Group: Data - - Example: - - SecDefaultAction log,deny,status:403,phase:1 - - Note - - Status actions defined in Apache scope locations (such as - Directory, Location, etc...) may be superseded by phase:1 action - settings. The Apache ErrorDocument directive will be triggered if - present in the configuration. Therefore if you have previously defined a - custom error page for a given status then it will be executed and its - output presented to the user. -
- -
- <literal>t</literal> - - Description: This action can be used which - transformation function should be used against the specified variables - before they (or the results, rather) are run against the operator - specified in the rule. - - Action Group: Non-disruptive - - Example: - - SecDefaultAction log,deny,phase:1,t:removeNulls,t:lowercase -SecRule REQUEST_COOKIES:SESSIONID "47414e81cbbef3cf8366e84eeacba091" \ - log,deny,status:403,t:md5,t:hexEncode - - Note - - Any transformation functions that you specify in a SecRule will be - in addition to previous ones specified in SecDefaultAction. Use of - "t:none" will remove all transformation functions for the specified - rule. -
- -
- <literal>tag</literal> - - Description: Assigns custom text to a rule or - chain. - - Action Group: Meta-data - - Example: - - SecRule REQUEST_FILENAME "\b(?:n(?:map|et|c)|w(?:guest|sh)|cmd(?:32)?|telnet|rcmd|ftp)\.exe\b" \ - "t:none,t:lowercase,deny,msg:'System Command Access',id:'950002',\ -tag:'WEB_ATTACK/FILE_INJECTION',tag:'OWASP/A2',severity:'2'" - - Note - - The tag information appears in the error and/or audit log files. - Its intent is to be used to automate classification of rules and the - alerts generated by rules. Multiple tags can be used per - rule/chain. -
- -
- <literal>xmlns</literal> - - Description: This action should be used - together with an XPath expression to register a namespace. - - Action Group: Data - - Example: - - SecRule REQUEST_HEADERS:Content-Type "text/xml" \ - "phase:1,pass,ctl:requestBodyProcessor=XML,ctl:requestBodyAccess=On, \ - xmlns:xsd="http://www.w3.org/2001/XMLSchema" -SecRule XML:/soap:Envelope/soap:Body/q1:getInput/id() "123" phase:2,deny -
-
- -
- Operators - - A number of operators can be used in rules, as documented below. The - operator syntax uses the @ symbol followed by the - specific operator name. - -
- <literal>beginsWith</literal> - - Description: This operator is a string - comparison and returns true if the parameter value is found at the - beginning of the input. Macro expansion is performed so you may use - variable names such as %{TX.1}, etc. - - Example: - - SecRule REQUEST_LINE "!@beginsWith GET" t:none,deny,status:403 -SecRule REQUEST_ADDR "^(.*)\.\d+$" deny,status:403,capture,chain -SecRule ARGS:gw "!@beginsWith %{TX.1}" -
- -
- <literal>contains</literal> - - Description: This operator is a string - comparison and returns true if the parameter value is found anywhere in - the input. Macro expansion is performed so you may use variable names - such as %{TX.1}, etc. - - Example: - - SecRule REQUEST_LINE "!@contains .php" t:none,deny,status:403 -SecRule REQUEST_ADDR "^(.*)$" deny,status:403,capture,chain -SecRule ARGS:ip "!@contains %{TX.1}" -
- -
- <literal>endsWith</literal> - - Description: This operator is a string - comparison and returns true if the parameter value is found at the end - of the input. Macro expansion is performed so you may use variable names - such as %{TX.1}, etc. - - Example: - - SecRule REQUEST_LINE "!@endsWith HTTP/1.1" t:none,deny,status:403 -SecRule ARGS:route "!@endsWith %{REQUEST_ADDR}" t:none,deny,status:403 -
- -
- <literal>eq</literal> - - Description: This operator is a numerical - comparison and stands for "equal to." - - Example: - - SecRule &REQUEST_HEADERS_NAMES "@eq 15" - - Macro expansion is performed so you may use variable names such as - %{TX.1}, etc. -
- -
- <literal>ge</literal> - - Description: This operator is a numerical - comparison and stands for "greater than or equal to." - - Example: - - SecRule &REQUEST_HEADERS_NAMES "@ge 15" - - Macro expansion is performed so you may use variable names such as - %{TX.1}, etc. -
- -
- <literal>geoLookup</literal> - - Description: This operator looks up various - data fields from an IP address or hostname in the target data. The - results will be captured in the GEO - collection. - - You must provide a database via SecGeoLookupDb before this operator can be - used. - - - This operator matches and the action is executed on a - successful lookup. For this reason, you probably want to - use the pass,nolog actions. This allows for - setvar and other non-disruptive - actions to be executed on a match. If you wish to block on a failed - lookup, then do something like this (look for an empty GEO - collection): - - SecGeoLookupDb /usr/local/geo/data/GeoLiteCity.dat -... -SecRule REMOTE_ADDR "@geoLookup" "pass,nolog" -SecRule &GEO "@eq 0" "deny,status:403,msg:'Failed to lookup IP'" - - - See the GEO variable for an - example and more information on various fields available. -
- -
- <literal>gt</literal> - - Description: This operator is a numerical - comparison and stands for "greater than." - - Example: - - SecRule &REQUEST_HEADERS_NAMES "@gt 15" - - Macro expansion is performed so you may use variable names such as - %{TX.1}, etc. -
- -
- <literal>inspectFile</literal> - - Description: Executes the external - script/binary given as parameter to the operator against every file - extracted from the request. As of v2.5.0, if the supplied filename is - not absolute it is treated as relative to the directory in which the - configuration file resides. Also as of v2.5.0, if the filename is - determined to be a Lua script (based on its extension) the script will - be processed by the internal engine. As such it will have full access to - the ModSecurity context. - - Example of using an external binary/script: - - # Execute external script to validate uploaded files. -SecRule FILES_TMPNAMES "@inspectFile /opt/apache/bin/inspect_script.pl" - - Example of using Lua script: - - SecRule FILES_TMPNANMES "@inspectFile inspect.lua" - - Script inspect.lua: - - function main(filename) - -- Do something to the file to verify it. In this example, we - -- read up to 10 characters from the beginning of the file. - local f = io.open(filename, "rb"); - local d = f:read(10); - f:close(); - - -- Return null if there is no reason to believe there is ansything - -- wrong with the file (no match). Returning any text will be taken - -- to mean a match should be trigerred. - return null; -end -
- -
- <literal>le</literal> - - Description: This operator is a numerical - comparison and stands for "less than or equal to." - - Example: - - SecRule &REQUEST_HEADERS_NAMES "@le 15" - - Macro expansion is performed so you may use variable names such as - %{TX.1}, etc. -
- -
- <literal>lt</literal> - - Description: This operator is a numerical - comparison and stands for "less than." - - Example: - - SecRule &REQUEST_HEADERS_NAMES "@lt 15" - - Macro expansion is performed so you may use variable names such as - %{TX.1}, etc. -
- -
- <literal>pm</literal> - - Description: Phrase Match operator. This - operator uses a set based matching engine (Aho-Corasick) for faster - matches of keyword lists. It will match any one of its arguments - anywhere in the target value. The match is case insensitive. - - Example: - - SecRule REQUEST_HEADERS:User-Agent "@pm WebZIP WebCopier Webster WebStripper SiteSnagger ProWebWalker CheeseBot" "deny,status:403 - - The above would deny access with 403 if any of the words matched - within the User-Agent HTTP header value. -
- -
- <literal>pmFromFile</literal> - - Description: Phrase Match operator. This - operator uses a set based matching engine (Aho-Corasick) for faster - matches of keyword lists. This operator is the same as - @pm except that it takes a list of files as - arguments. It will match any one of the phrases listed in the file(s) - anywhere in the target value. - - Notes: - - - - The contents of the files should be one phrase per line. End - of line markers will be stripped from the phrases (LF and CRLF), and - whitespace is trimmed from both sides of the phrases. Empty lines - and comment lines (beginning with a '#') are ignored. - - - - To allow easier inclusion of phrase files with rulesets, - relative paths may be used to the phrase files. In this case, the - path of the file containing the rule is prepended to the phrase file - path. - - - - To allow easier matching of whole IP addresses, you can add - boundary characters to the phrases. For example, use "/1.2.3.4/" - instead of "1.2.3.4". You can then insert these characters into the - target prior to a match: - - SecAction "phase:1,pass,nolog,setvar:tx.remote_addr=/%{REMOTE_ADDR}/" -SecRule TX:REMOTE_ADDR "@pmFromFile ip-blacklist.txt" "deny,status:403 - -# ip-blacklist.txt contents: -# NOTE: All IPs must be prefixed/suffixed with "/" as the rules -# will add in this character as a boundary to ensure -# the entire IP is matched. -# SecAction "phase:1,pass,nolog,setvar:tx.remote_addr='/%{REMOTE_ADDR}/'" -/1.2.3.4/ -/5.6.7.8/ - - - - Example: - - SecRule REQUEST_HEADERS:User-Agent "@pm /path/to/blacklist1 blacklist2" "deny,status:403 - - The above would deny access with 403 if any of the patterns in the - two files matched within the User-Agent HTTP header value. The - blacklist2 file would need to be placed in the same - path as the file containing the rule. -
- -
- <literal>rbl</literal> - - Description: Look up the parameter in the RBL - given as parameter. Parameter can be an IPv4 address, or a - hostname. - - Example: - - SecRule REMOTE_ADDR "@rbl sc.surbl.org" -
- -
- <literal>rx</literal> - - Description: Regular expression operator. - This is the default operator, so if the "@" operator is not defined, it - is assumed to be rx. - - Example: - - SecRule REQUEST_HEADERS:User-Agent "@rx nikto" - - Note - - Regular expressions are handled by the PCRE library (http://www.pcre.org). ModSecurity - compiles its regular expressions with the following settings: - - - - The entire input is treated as a single line, even when there - are newline characters present. - - - - All matches are case-sensitive. If you do not care about case - sensitivity you either need to implement the lowercase transformation function, or use - the per-pattern(?i)modifier, as - allowed by PCRE. - - - - The PCRE_DOTALL and - PCRE_DOLLAR_ENDONLY flags are set - during compilation, meaning a single dot will match any character, - including the newlines and a $ - end anchor will not match a trailing newline character. - - -
- -
- <literal>streq</literal> - - Description: This operator is a string - comparison and returns true if the parameter value matches the input - exactly. Macro expansion is performed so you may use variable names such - as %{TX.1}, etc. - - Example: - - SecRule ARGS:foo "!@streq bar" t:none,deny,status:403 -SecRule REQUEST_ADDR "^(.*)$" deny,status:403,capture,chain -SecRule REQUEST_HEADERS:Ip-Address "!@streq %{TX.1}" -
- -
- <literal>validateByteRange</literal> - - Description: Validates the byte range used in - the variable falls into the specified range. - - Example: - - SecRule ARGS:text "@validateByteRange 10, 13, 32-126" - - Note - - You can force requests to consist only of bytes from a certain - byte range. This can be useful to avoid stack overflow attacks (since - they usually contain "random" binary content). Default range values are - 0 and 255, i.e. all byte values are allowed. This directive does not - check byte range in a POST payload when - multipart/form-data encoding (file upload) is used. - Doing so would prevent binary files from being uploaded. However, after - the parameters are extracted from such request they are checked for a - valid range. - - validateByteRange is similar to the ModSecurity 1.X - SecFilterForceByteRange Directive however since it works in a rule - context, it has the following differences: - - - - You can specify a different range for different - variables. - - - - It has an "event" context (id, msg....) - - - - It is executed in the flow of rules rather than being a built - in pre-check. - - -
- -
- <literal>validateDTD</literal> - - Description: Validates the DOM tree generated - by the XML request body processor against the supplied DTD. - - Example: - - SecDefaultAction log,deny,status:403,phase:2 -SecRule REQUEST_HEADERS:Content-Type ^text/xml$ \ - phase:1,t:lowercase,nolog,pass,ctl:requestBodyProcessor=XML -SecRule REQBODY_PROCESSOR "!^XML$" nolog,pass,skipAfter:12345 -SecRule XML "@validateDTD /path/to/apache2/conf/xml.dtd" "deny,id:12345" - - - This operator requires request body to be processed as - XML. - -
- -
- <literal>validateSchema</literal> - - Description: Validates the DOM tree generated - by the XML request body processor against the supplied XML - Schema. - - Example: - - SecDefaultAction log,deny,status:403,phase:2 -SecRule REQUEST_HEADERS:Content-Type ^text/xml$ \ - phase:1,t:lowercase,nolog,pass,ctl:requestBodyProcessor=XML -SecRule REQBODY_PROCESSOR "!^XML$" nolog,pass,skipAfter:12345 -SecRule XML "@validateSchema /path/to/apache2/conf/xml.xsd" "deny,id:12345" - - - This operator requires request body to be processed as - XML. - -
- -
- <literal>validateUrlEncoding</literal> - - Description: Verifies the encodings used in - the variable (if any) are valid. - - Example: - - SecRule ARGS "@validateUrlEncoding" - - Note - - URL encoding is an HTTP standard for encoding byte values within a - URL. The byte is escaped with a % followed by two hexadecimal values - (0-F). This directive does not check encoding in a POST payload when the - multipart/form-data encoding (file upload) is used. - It is not necessary to do so because URL encoding is not used for this - encoding. -
- -
- <literal>validateUtf8Encoding</literal> - - Description: Verifies the variable is a valid - UTF-8 encoded string. - - Example: - - SecRule ARGS "@validateUtf8Encoding" - - Note - - UTF-8 encoding is valid on most web servers. Integer values - between 0-65535 are encoded in a UTF-8 byte sequence that is escaped by - percents. The short form is two bytes in length. - - check for three types of errors: - - - - Not enough bytes. UTF-8 supports two, three, four, five, and - six byte encodings. ModSecurity will locate cases when a byte or - more is missing. - - - - Invalid encoding. The two most significant bits in most - characters are supposed to be fixed to 0x80. Attackers can use this - to subvert Unicode decoders. - - - - Overlong characters. ASCII characters are mapped directly into - the Unicode space and are thus represented with a single byte. - However, most ASCII characters can also be encoded with two, three, - four, five, and six characters thus tricking the decoder into - thinking that the character is something else (and, presumably, - avoiding the security check). - - -
- -
- <literal>verifyCC</literal> - - Description: This operator verifies a given - regular expression as a potential credit card number. It first matches - with a single generic regular expression then runs the resulting match - through a Luhn checksum algorithm to further verify it as a potential - credit card number. - - Example: - - SecRule ARGS "@verifyCC \d{13,16}" \ - "phase:2,sanitizeMatched,log,auditlog,pass,msg:'Potential credit card number'" -
- -
- <literal>within</literal> - - Description: This operator is a string - comparison and returns true if the input value is found anywhere within - the parameter value. Note that this is similar to - @contains, except that the target and match values - are reversed. Macro expansion is performed so you may use variable names - such as %{TX.1}, etc. - - Example: - - SecRule REQUEST_METHOD "!@within get,post,head" t:lowercase,deny,status:403 - -SecAction "pass,setvar:'tx.allowed_methods=get,post,head'" -SecRule REQUEST_METHOD "!@within %{tx.allowed_methods}" t:lowercase,deny,status:403 -
-
- -
- Macro Expansion - - Macros allow for using place holders in rules that will be expanded - out to their values at runtime. Currently only variable expansion is - supported, however more options may be added in future versions of - ModSecurity. - - Format: - - %{VARIABLE} -%{COLLECTION.VARIABLE} - - Macro expansion can be used in actions such as initcol, setsid, - setuid, setvar, setenv, logdata. Operators that are evaluated at runtime - support expansion and are noted above. Such operators include @beginsWith, - @endsWith, @contains, @within and @streq. You cannot use macro expansion - for operators that are "compiled" such as @pm, @rx, etc. as these - operators have their values fixed at configure time for efficiency. - - Some values you may want to expand include: TX, REMOTE_ADDR, USERID, - HIGHEST_SEVERITY, MATCHED_VAR, MATCHED_VAR_NAME, MULTIPART_STRICT_ERROR, - RULE, SESSION, USERID, among others. -
- -
- Persistant Storage - - At this time it is only possible to have three collections in which - data is stored persistantly (i.e. data available to multiple requests). - These are: IP, SESSION and USER. - - Every collection contains several built-in variables that are - available and are read-only unless otherwise specified: - - - - CREATE_TIME - date/time of - the creation of the collection. - - - - IS_NEW - set to 1 if the - collection is new (not yet persisted) otherwise set to 0. - - - - KEY - the value of the - initcol variable (the client's IP address in the example). - - - - LAST_UPDATE_TIME - date/time - of the last update to the collection. - - - - TIMEOUT - date/time in - seconds when the collection will be updated on disk from memory (if no - other updates occur). This variable may be set if you wish to specifiy - an explicit expiration time (default is 3600 seconds). - - - - UPDATE_COUNTER - how many - times the collection has been updated since creation. - - - - UPDATE_RATE - is the average - rate updates per minute since creation. - - - - To create a collection to hold session variables (SESSION) use action setsid. To create a collection to hold user - variables (USER) use action setuid. To create a collection to hold client - address variables (IP) use action - initcol. - - - ModSecurity implements atomic updates of persistent variables only - for integer variables (counters) at this time. Variables are read from - storage whenever initcol is encountered in the rules - and persisted at the end of request processing. Counters are adjusted by - applying a delta generated by re-reading the persisted data just before - being persisted. This keeps counter data consistent even if the counter - was modified and persisted by another thread/process during the - transaction. - - - - ModSecurity uses a Berkley Database (SDBM) for persistant storage. - This type of database is generally limited to storing a maximum of 1008 - bytes per key. This may be a limitation if you are attempting to store a - considerable amount of data in variables for a single key. Some of this - limitation is planned to be reduced in a future version of - ModSecurity. - -
- -
- Miscellaneous Topics - - - -
- Impedance Mismatch - - Web application firewalls have a difficult job trying to make - sense of data that passes by, without any knowledge of the application - and its business logic. The protection they provide comes from having an - independent layer of security on the outside. Because data validation is - done twice, security can be increased without having to touch the - application. In some cases, however, the fact that everything is done - twice brings problems. Problems can arise in the areas where the - communication protocols are not well specified, or where either the - device or the application do things that are not in the specification. - In such cases it may be possible to design payload that will be - interpreted in one way by one device and in another by the other device. - This problem is better known as Impedance Mismatch. It can be exploited - to evade the security devices. - - While we will continue to enhance ModSecurity to deal with various - evasion techniques the problem can only be minimized, but never solved. - With so many different application backend chances are some will always - do something completely unexpected. The only solution is to be aware of - the technologies in the backend when writing rules, adapting the rules - to remove the mismatch. See the next section for some examples. - -
- PHP Peculiarities for ModSecurity Users - - When writing rules to protect PHP applications you need to pay - attention to the following facts: - - - - When "register_globals" is set to "On" request parameters - are automatically converted to script variables. In some PHP - versions it is even possible to override the $GLOBALS - array. - - - - Whitespace at the beginning of parameter names is ignored. - (This is very dangerous if you are writing rules to target - specific named variables.) - - - - The remaining whitespace (in parameter names) is converted - to underscores. The same applies to dots and to a "[" if the - variable name does not contain a matching closing bracket. - (Meaning that if you want to exploit a script through a variable - that contains an underscore in the name you can send a parameter - with a whitespace or a dot instead.) - - - - Cookies can be treated as request parameters. - - - - The discussion about variable names applies equally to the - cookie names. - - - - The order in which parameters are taken from the request and - the environment is EGPCS (environment, GET, POST, Cookies, - built-in variables). This means that a POST parameter will - overwrite the parameters transported on the request line (in - QUERY_STRING). - - - - When "magic_quotes_gpc" is set to "On" PHP will use - backslash to escape the following characters: single quote, double - quote, backslash, and the nul byte. - - - - If "magic_quotes_sybase" is set to "On" only the single - quote will be escaped using another single quote. In this case the - "magic_quotes_gpc" setting becomes irrelevant. The - "magic_quotes_sybase" setting completely overrides the - "magic_quotes_gpc" behaviour but "magic_quotes_gpc" still must be - set to "On" for the Sybase-specific quoting to be work. - - - - PHP will also automatically create nested arrays for you. - For example "p[x][y]=1" results in a total of three - variables. - - -
-
-
-
diff --git a/doc/modsecurity2-data-formats.xml b/doc/modsecurity2-data-formats.xml deleted file mode 100644 index 32e1ddc2..00000000 --- a/doc/modsecurity2-data-formats.xml +++ /dev/null @@ -1,1274 +0,0 @@ - - -
- ModSecurity 2 Data Formats - - 2.6.0-trunk (April 22, 2009) - - 2004-2010 - Breach Security, Inc. (http://www.breach.com) - - - The purpose of this document is to describe the formats of the ModSecurity alert messages, - transaction logs and communication protocols, which would not only allow for a better - understanding what ModSecurity does but also for an easy integration with third-party tools - and products. -
- Alerts - As part of its operations ModSecurity will emit alerts, which are either - warnings (non-fatal) or errors (fatal, - usually leading to the interception of the transaction in question). Below is an example - of a ModSecurity alert entry: - Access denied with code 505 (phase 1). Match of "rx - ^HTTP/(0\\\\.9|1\\\\.[01])$" against "REQUEST_PROTOCOL" required. - [id "960034"] [msg "HTTP protocol version is not allowed by policy"] - [severity "CRITICAL"] [uri "/"] [unique_id "PQaTTVBEUOkAAFwKXrYAAAAM"] - - - Alerts will only ever contain one line of text but we've broken - the above example into multiple lines to make it fit into the - page. - - - Each alert entry begins with the engine message, which describes - what ModSecurity did and why. For example:Access denied with code 505 (phase 1). Match of "rx - ^HTTP/(0\\\\.9|1\\\\.[01])$" against "REQUEST_PROTOCOL" required. - -
- Alert Action Description - - The first part of the engine message tells you whether ModSecurity - acted to interrupt transaction or rule processing: - - - - If the alert is only a warning, the first sentence will simply - say Warning. - - - - If the transaction was intercepted, the first sentence will - begin with Access denied. What follows is the - list of possible messages related to transaction - interception: - - - - Access denied with code %0 - a - response with status code %0 was sent. - - - - Access denied with connection close - - connection was abruptly closed. - - - - Access denied with redirection to %0 using - status %1 - a redirection to URI - %0 was issued using status - %1. - - - - - - There is also a special message that ModSecurity emits where - an allow action is executed. There are three - variations of this type of message: - - - - Access allowed - rule engine stopped - processing rules (transaction was unaffected). - - - - Access to phase allowed - rule engine - stopped processing rules in the current phase only. Subsequent - phases will be processed normally. Transaction was not affected - by this rule but it may be affected by any of the rules in the - subsequent phase. - - - - Access to request allowed - rule - engine stopped processing rules in the current phase. Phases - prior to request execution in the backend (currently phases 1 - and 2) will not be processed. The response phases (currently - phases 3 and 4) and others (currently phase 5) will be processed - as normal. Transaction was not affected by this rule but it may - be affected by any of the rules in the subsequent phase. - - - - -
- -
- Alert Justification Description - - The second part of the engine message explains - why the alert was generated. Since it is - automatically generated from the rules it will be very technical in - nature, talking about operators and their parameters and give you - insight into what the rule looked like. But this message cannot give you - insight into the reasoning behind the rule. A well-written rule will - always specify a human-readable message (using the - msg action) to provide further information. - - The format of the second part of the engine message depends on - whether it was generated by the operator (which happens on a match) or - by the rule processor (which happens where there is not a match, but the - negation was used): - - - - @beginsWith - String match %0 at - %1. - - - - @contains - String match %0 at - %1. - - - - @containsWord - String match %0 - at %1. - - - - @endsWith - String match %0 at - %1. - - - - @eq - Operator EQ matched %0 at - %1. - - - - @ge - Operator GE matched %0 at - %1. - - - - @geoLookup - Geo lookup for %0 - succeeded at %1. - - - - @inspectFile - File %0 rejected - by the approver script %1: %2 - - - - @le - Operator LE matched %0 at - %1. - - - - @lt - Operator LT matched %0 at - %1. - - - - @rbl - RBL lookup of %0 succeeded - at %1. - - - - @rx - Pattern match %0 at - %1. - - - - @streq - String match %0 at - %1. - - - - @validateByteRange - Found %0 - byte(s) in %1 outside range: %2. - - - - @validateDTD - XML: DTD - validation failed. - - - - @validateSchema - XML: Schema - validation failed. - - - - @validateUrlEncoding - - - - Invalid URL Encoding: Non-hexadecimal digits - used at %0. - - - - Invalid URL Encoding: Not enough characters at - the end of input at %0. - - - - - - @validateUtf8Encoding - - - - Invalid UTF-8 encoding: not enough bytes in - character at %0. - - - - Invalid UTF-8 encoding: invalid byte value in - character at %0. - - - - Invalid UTF-8 encoding: overlong character - detected at %0. - - - - Invalid UTF-8 encoding: use of restricted - character at %0. - - - - Invalid UTF-8 encoding: decoding error at - %0. - - - - - - @verifyCC - CC# match %0 at - %1. - - - - Messages not related to operators: - - - - When SecAction directive is processed - - Unconditional match in SecAction. - - - - When SecRule does not match but negation is - used - Match of %0 against %1 required. - - - - - The parameters to the operators @rx and - @pm (regular expression and text pattern, - respectively) will be truncated to 252 bytes if they are longer than - this limit. In this case the parameter in the alert message will be - terminated with three dots. - -
- -
- Meta-data - - The metadata fields are always placed at the end of the alert - entry. Each metadata field is a text fragment that consists of an open - bracket followed by the metadata field name, followed by the value and - the closing bracket. What follows is the text fragment that makes up the - id metadata field. - - [id "960034"] - - The following metadata fields are currently used: - - - - offset - The byte offset where a match - occured within the target data. This is not always available. - - - - id - Unique rule ID, as specified by the - id action. - - - - rev - Rule revision, as specified by the - rev action. - - - - msg - Human-readable message, as specified - by the msg action. - - - - severity - Event severity as text, as - specified by the severity action. The possible - values (with their corresponding numberical values in brackets) are - EMERGENCY (0), ALERT (1), - CRITICAL (2), ERROR (3), - WARNING (4), NOTICE (5), - INFO (6) and DEBUG (7). - - - - unique_id - Unique event ID, generated - automatically. - - - - uri - Request URI. - - - - logdata - contains transaction data - fragment, as specified by the logdata - action. - - -
- -
- Escaping - - ModSecurity alerts will always contain text fragments that were - taken from configuration or the transaction. Such text fragments escaped - before they are user in messages, in order to sanitize the potentially - dangerous characters. They are also sometimes surrounded using double - quotes. The escaping algorithm is as follows: - - Characters 0x08 - (BACKSPACE), 0x0a - (NEWLINE), 0x10 - (CARRIAGE RETURN), 0x09 - (HORIZONTAL TAB) and 0x0b - (VERTICAL TAB) will be represented as - \b, \n, - \r, \t and - \v, respectively. - - - - Bytes from the ranges 0-0x1f and - 0x7f-0xff (inclusive) will be represented as - \xHH, where HH is the - hexadecimal value of the byte. - - - - Backslash characters (\) will be - represented as \\. - - - - Each double quote character will be represented as - \", but only if the entire fragment is - surrounded with double quotes. - - -
- -
- Alerts in the Apache Error Log - - Every ModSecurity alert conforms to the following format when it - appears in the Apache error log: - - [Sun Jun 24 10:19:58 2007] [error] [client 192.168.0.1] - ModSecurity: ALERT_MESSAGE - - The above is a standard Apache error log format. The - ModSecurity: prefix is specific to ModSecurity. It - is used to allow quick identification of ModSecurity alert messages when - they appear in the same file next to other Apache messages. - - The actual message (ALERT_MESSAGE in the - example above) is in the same format as described in the - Alerts section. - - - Apache further escapes ModSecurity alert messages before writing - them to the error log. This means that all backslash characters will - be doubled in the error log. In practice, since ModSecurity will - already represent a single backslash within an untrusted text fragment - as two backslashes, the end result in the Apache error log will be - four backslashes. Thus, if you need to interpret - a ModSecurity message from the error log, you should decode the - message part after the ModSecurity: prefix first. - This step will peel the first encoding layer. - -
- -
- Alerts in Audit Logs - - Alerts are transported in the H section of the - ModSecurity Audit Log. Alerts will appear each on a separate line and in - the order they were generated by ModSecurity. Each line will be in the - following format: - - Message: ALERT_MESSAGE - - Below is an example of an H section that - contains two alert messages: - - --c7036611-H-- -Message: Warning. Match of "rx ^apache.*perl" against - "REQUEST_HEADERS:User-Agent" required. [id "990011"] [msg "Request - Indicates an automated program explored the site"] [severity "NOTICE"] -Message: Warning. Pattern match "(?:\\b(?:(?:s(?:elect\\b(?:.{1,100}?\\b - (?:(?:length|count|top)\\b.{1,100}?\\bfrom|from\\b.{1,100}?\\bwhere) - |.*?\\b(?:d(?:ump\\b.*\\bfrom|ata_type)|(?:to_(?:numbe|cha)|inst)r))|p_ - (?:(?:addextendedpro|sqlexe)c|(?:oacreat|prepar)e|execute(?:sql)?| - makewebt ..." at ARGS:c. [id "950001"] [msg "SQL Injection Attack. - Matched signature: union select"] [severity "CRITICAL"] -Stopwatch: 1199881676978327 2514 (396 2224 -) -Producer: ModSecurity v2.x.x (Apache 2.x) -Server: Apache/2.x.x - ---c7036611-Z-- -
-
- -
- Audit Log - - ModSecurity records one transaction in a single audit log file. - Below is an example: - - --c7036611-A-- -[09/Jan/2008:12:27:56 +0000] OSD4l1BEUOkAAHZ8Y3QAAAAH 209.90.77.54 64995 - 80.68.80.233 80 ---c7036611-B-- -GET //EvilBoard_0.1a/index.php?c='/**/union/**/select/**/1,concat(username, - char(77),password,char(77),email_address,char(77),info,char(77),user_level, - char(77))/**/from/**/eb_members/**/where/**/userid=1/*http://kamloopstutor. - com/images/banners/on.txt? HTTP/1.1 -TE: deflate,gzip;q=0.3 -Connection: TE, cslose -Host: www.example.com -User-Agent: libwww-perl/5.808 - ---c7036611-F-- -HTTP/1.1 404 Not Found -Content-Length: 223 -Connection: close -Content-Type: text/html; charset=iso-8859-1 - ---c7036611-H-- -Message: Warning. Match of "rx ^apache.*perl" against - "REQUEST_HEADERS:User-Agent" required. [id "990011"] [msg "Request - Indicates an automated program explored the site"] [severity "NOTICE"] -Message: Warning. Pattern match "(?:\\b(?:(?:s(?:elect\\b(?:.{1,100}?\\b - (?:(?:length|count|top)\\b.{1,100}?\\bfrom|from\\b.{1,100}?\\bwhere) - |.*?\\b(?:d(?:ump\\b.*\\bfrom|ata_type)|(?:to_(?:numbe|cha)|inst)r))|p_ - (?:(?:addextendedpro|sqlexe)c|(?:oacreat|prepar)e|execute(?:sql)?| - makewebt ..." at ARGS:c. [id "950001"] [msg "SQL Injection Attack. - Matched signature: union select"] [severity "CRITICAL"] -Stopwatch: 1199881676978327 2514 (396 2224 -) -Producer: ModSecurity v2.x.x (Apache 2.x) -Server: Apache/2.x.x - ---c7036611-Z-- - - - The file consist of multiple sections, each in different format. - Separators are used to define sections: - - --c7036611-A-- - - A separator always begins on a new line and conforms to the - following format: - - - - Two dashes - - - - Unique boundary, which consists from several hexadecimal - characters. - - - - One dash character. - - - - Section identifier, currently a single uppercase letter. - - - - Two trailing dashes. - - - - Refer to the documentation for SecAuditLogParts - for the explanation of each part. - -
- Parts - - This section documents the audit log parts available in - ModSecurity 2.x. They are: - - A - audit log - header - - - - B - request - headers - - - - C - request body - - - - D - intended response - headers (NOT IMPLEMENTED) - - - - E - intended response - body - - - - F - response - headers - - - - G - response body (NOT - IMPLEMENTED) - - - - H - audit log - trailer - - - - I - reduced multipart - request body - - - - J - multipart files - information (NOT IMPLEMENTED) - - - - K - matched rules - information - - - - Z - audit log - footer - - - -
- Audit Log Header (<literal>A</literal>) - - ModSecurity 2.x audit log entries always begin with the header - part. For example: - - --c7036611-A-- -[09/Jan/2008:12:27:56 +0000] OSD4l1BEUOkAAHZ8Y3QAAAAH 209.90.77.54 64995 - 80.68.80.233 80 - - The header contains only one line, with the following - information on it: - - - - Timestamp - - - - Unique transaction ID - - - - Source IP address (IPv4 or IPv6) - - - - Source port - - - - Destination IP address (IPv4 or IPv6) - - - - Destination port - - -
- -
- Request Headers (<literal>B</literal>) - - The request headers part contains the request line and the - request headers. The information present in this part will not be - identical to that sent by the client responsible for the transaction. - ModSecurity 2.x for Apache does not have access to the raw data; it - sees what Apache itself sees. While the end result may be identical to - the raw request, differences are possible in some areas: - - - - If any of the fields are NUL-terminated, - Apache will only see the content prior to the NUL. - - - - Headers that span multiple lines (feature known as header - folding) will be collapsed into a single line. - - - - Multiple headers with the same name will be combined into a - single header (as allowed by the HTTP RFC). - - -
- -
- Request Body (<literal>C</literal>) - - This part contains the request body of the transaction, after - dechunking and decompression (if applicable). -
- -
- Intended Response Headers (<literal>D</literal>) - - This part contains the status line and the request headers that - would have been delivered to the client had ModSecurity not - intervened. Thus this part makes sense only for transactions where - ModSecurity altered the data flow. By differentiating before the - intended and the final response headers, we are able to record what - was internally ready for sending, but also what was actually - sent. - - - This part is reserved for future use. It is not implemented in - ModSecurity 2.x. - -
- -
- Intended Response Body (<literal>E</literal>) - - This part contains the transaction response body (before - compression and chunking, where used) that was either sent or would - have been sent had ModSecurity not intervened. You can find whether - interception took place by looking at the Action - header of the part H. If that header is present, - and the interception took place in phase 3 or 4 then the - E part contains the intended response body. - Otherwise, it contains the actual response body. - - - Once the G (actual response body) part is - implemented, part E will be present only in audit - logs that contain a transaction that was intercepted, and there will - be no need for further analsys. - -
- -
- Response Headers (<literal>F</literal>) - - This part contains the actual response headers sent to the - client. Since ModSecurity 2.x for Apache does not access the raw - connection data, it constructs part F out of the - internal Apache data structures that hold the response headers. - - Some headers (the Date and - Server response headers) are generated just before - they are sent and ModSecurity is not able to record those. You should - note than ModSecurity is working as part of a reverse proxy, the - backend web server will have generated these two servers, and in that - case they will be recorded. -
- -
- Response Body (G) - - When implemented, this part will contain the actual response - body before compression and chunking. - - - This part is reserved for future use. It is not implemented in - ModSecurity 2.x. - -
- -
- Audit Log Trailer (H) - - Part H contains additional transaction - meta-data that was obtained from the web server or from ModSecurity - itself. The part contains a number of trailer headers, which are - similar to HTTP headers (without support for header - folding): - - Action - - - - Apache-Error - - - - Message - - - - Producer - - - - Response-Body-Transformed - - - - Sanitised-Args - - - - Sanitised-Request-Headers - - - - Sanitised-Response-Headers - - - - Server - - - - Stopwatch - - - - WebApp-Info - - - -
- Action - - The Action header is present only for the - transactions that were intercepted: - - Action: Intercepted (phase 2) - - The phase information documents the phase in which the - decision to intercept took place. -
- -
- Apache-Error - - The Apache-Error header contains Apache error log messages - observed by ModSecurity, excluding those sent by ModSecurity itself. - For example: - - Apache-Error: [file "/tmp/buildd/apache2-2.0.54/build-tree/apache2/server/ - core.c"] [line 3505] [level 3] File does not exist: /var/www/www. - modsecurity.org/fst/documentation/modsecurity-apache/2.5.0-dev2 -
- -
- Message - - Zero or more Message headers can be present - in any trailer, and each such header will represent a single - ModSecurity warning or error, displayed in the order they were - raised. - - The example below was broken into multiple lines to make it - fit this page: - - Message: Access denied with code 400 (phase 2). Pattern match "^\w+:/" at - REQUEST_URI_RAW. [file "/etc/apache2/rules-1.6.1/modsecurity_crs_20_ - protocol_violations.conf"] [line "74"] [id "960014"] [msg "Proxy access - attempt"] [severity "CRITICAL"] [tag "PROTOCOL_VIOLATION/PROXY_ACCESS"] -
- -
- Producer - - The Producer header identifies the product - that generated the audit log. For example: - - Producer: ModSecurity for Apache/2.5.5 (http://www.modsecurity.org/). - - ModSecurity allows rule sets to add their own signatures to - the Producer information (this is done using the - SecComponentSignature directive). Below is an - example of the Producer header with the signature - of one component (all one line): - - Producer: ModSecurity for Apache/2.5.5 (http://www.modsecurity.org/); - MyComponent/1.0.0 (Beta). -
- -
- Response-Body-Transformed - - This header will appear in every audit log that contains a - response body: - - Response-Body-Transformed: Dechunked - - The contents of the header is constant at present, so the - header is only useful as a reminder that the recorded response body - is not identical to the one sent to the client. The actual content - is the same, except that Apache may further compress the body and - deliver it in chunks. -
- -
- Sanitised-Args - - The Sanitised-Args header contains a list - of arguments that were sanitized (each byte of their content - replaced with an asterisk) before logging. For example: - - Sanitised-Args: "old_password", "new_password", "new_password_repeat". -
- -
- Sanitised-Request-Headers - - The Sanitised-Request-Headers header - contains a list of request headers that were sanitized before - logging. For example: - - Sanitised-Request-Headers: "Authentication". -
- -
- Sanitised-Response-Headers - - The Sanitised-Response-Headers header - contains a list of response headers that were sanitized before - logging. For example: - - Sanitised-Response-Headers: "My-Custom-Header". -
- -
- Server - - The Server header identifies the web - server. For example: - - Server: Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e - - This information may sometimes be present in any of the parts - that contain response headers, but there are a few cases when it - isn't: - - None of the response headers were recoreded. - - - - The information in the response headers is not accurate - because server signature masking was used. - - -
- -
- Stopwatch - - The Stopwatch header provides certain - diagnostic information that allows you to determine the performance - of the web server and of ModSecurity itself. It will typically look - like this: - - Stopwatch: 1222945098201902 2118976 (770* 4400 -) - - Each line can contain up to 5 different values. Some values - can be absent; each absent value will be replaced with a - dash. - - The meanings of the values are as follows (all values are in - microseconds): - - Transaction timestamp in microseconds since January 1st, - 1970. - - - - Transaction duration. - - - - The time between the moment Apache started processing - the request and until phase 2 of ModSecurity began. If an - asterisk is present that means the time includes the time it - took ModSecurity to read the request body from the client - (typically slow). This value can be used to provide a rough - estimate of the client speed, but only with larger request - bodies (the smaller request bodies may arrive in a single - TCP/IP packet). - - - - The time between the start of processing and until phase - 2 was completed. If you substract the previous value from this - value you will get the exact duration of phase 2 (which is the - main rule processing phase). - - - - The time between the start of request processing and - util we began sending a fully-buffered response body to the - client. If you substract this value from the total transaction - duration and divide with the response body size you may get a - rough estimate of the client speed, but only for larger - response bodies. - - -
- -
- WebApp-Info - - The WebApp-Info header contains information - on the application to which the recorded transaction belongs. This - information will appear only if it is known, which will happen if - SecWebAppId was set, or setsid - or setuid executed in the transaction. - - The header uses the following format: - - WebApp-Info: "WEBAPPID" "SESSIONID" "USERID" - - Each unknown value is replaced with a dash. -
-
- -
- Reduced Multipart Request Body (<literal>I</literal>) - - Transactions that deal with file uploads tend to be large, yet - the file contents is not always relevant from the security point of - view. The I part was designed to avoid recording - raw multipart/form-data request bodies, replacing - them with a simulated - application/x-www-form-urlencoded body that - contains the same key-value parameters. - - The reduced multipart request body will not contain any file - information. The J part (currently not implemented) - is intended to carry the file metadata. -
- -
- Multipart Files Information (<literal>J</literal>) - - The purpose of part J is to record the - information on the files contained in a - multipart/form-data request body. This is handy in - the cases when the original request body was not recorded, or when - only a reduced version was recorded (e.g. when part - I was used instead of part - C). - - - This part is reserved for future use. It is not implemented in - ModSecurity 2.x. - -
- -
- Matched Rules (<literal>K</literal>) - - The matched rules part contains a record of all ModSecurity - rules that matched during transaction processing. You should note that - if a rule that belongs to a chain matches then the entire chain will - be recorded. This is because, even though the disruptive action may - not have executed, other per-rule actions have, and you will need to - see the entire chain in order to understand the rules. - - This part is available starting with ModSecurity 2.5.x. -
- -
- Audit Log Footer (<literal>Z</literal>) - - Part Z is a special part that only has a - boundary but no content. Its only purpose is to signal the end of an - audit log. -
-
- -
- Storage Formats - - ModSecurity supports two audit log storage formats: - - Serial audit log format - multiple - audit log files stored in the same file. - - - - Concurrent audit log format - one file - is used for every audit log. - - - -
- Serial Audit Log Format - - The serial audit log format stores multiple audit log entries - within the same file (one after another). This is often very convinent - (audit log entries are easy to find) but this format is only suitable - for light logging in the current ModSecurity implementation because - writing to the file is serialised: only one audit log entry can be - written at any one time. -
- -
- Concurrent Audit Log Format - - The concurrent audit log format uses one file per audit log - entry, and allows many transactions to be recorded at once. A - hierarchical directory structure is used to ensure that the number of - files created in any one directory remains relatively small. For - example: - - $LOGGING-HOME/20081128/20081128-1414/20081128-141417- - egDKy38AAAEAAAyMHXsAAAAA - - The current time is used to work out the directory structure. - The file name is constructed using the current time and the - transaction ID. - - The creation of every audit log in concurrent format is recorded - with an entry in the concurrent audit log index - file. The format of each line resembles the common web - server access log format. For example: - - 192.168.0.111 192.168.0.1 - - [28/Nov/2008:15:06:32 +0000] - "GET /?p=\\ HTTP/1.1" 200 69 "-" "-" NOfRx38AAAEAAAzcCU4AAAAA - "-" /20081128/20081128-1506/20081128-150632-NOfRx38AAAEAAAzcCU4AAAAA - 0 1183 md5:ffee2d414cd43c2f8ae151652910ed96 - - The tokens on the line are as follows: - - - - Hostname (or IP address, if the hostname is not - known) - - - - Source IP address - - - - Remote user (from HTTP Authentication) - - - - Local user (from identd) - - - - Timestamp - - - - Request line - - - - Response status - - - - Bytes sent (in the response body) - - - - Referrer information - - - - User-Agent information - - - - Transaction ID - - - - Session ID - - - - Audit log file name (relative to the audit logging home, as - configured using the SecAuditLogStorageDir - directive) - - - - Audit log offset - - - - Audit log size - - - - Audit log hash (the has begins with the name of the - algorithm used, followed by a colon, followed by the hexadecimal - representation of the hash itself); this hash can be used to - verify that the transaction was correctly recorded and that it - hasn't been modified since. - - - - - Lines in the index file will be up to 3980 bytes long, and the - information logged will be reduced to fit where necessary. Reduction - will occur within the individual fields, but the overall format will - remain the same. The character L will appear as - the last character on a reduced line. A space will be the last - character on a line that was not reduced to stay within the - limit. - -
-
- -
- Transport Protocol - - Audit logs generated in multi-sensor deployments are of little use - if left on the sensors. More commonly, they will be transported to a - central logging server using the transport protocol described in this - section: - - - - The transport protocol is based on the HTTP protocol. - - - - The server end is an SSL-enabled web server with HTTP Basic - Authentication configured. - - - - Clients will open a connection to the centralisation web - server and authenticate (given the end-point URI, the username and - the password). - - - - Clients will submit every audit log in a single - PUT transaction, placing the file in the body of - the request and additional information in the request headers (see - below for details). - - - - Server will process each submission and respond with an - appropriate status code: - - - - 200 (OK) - the submission was processed; the client can - delete the corresponding audit log entry if it so desires. The - same audit log entry must not be submitted again. - - - - 409 (Conflict) - if the submission is in invalid format - and cannot be processed. The client should attempt to fix the - problem with the submission and attempt delivery again at a - later time. This error is generally going to occur due to a - programming error in the protocol implementation, and not - because of the content of the audit log entry that is being - transported. - - - - 500 (Internal Server Error) - if the server was unable to - correctly process the submission, due to its own fault. The - client should re-attempt delivery at a later time. A client that - starts receiving 500 reponses to all its submission should - suspend its operations for a period of time before - continuing. - - - - - - - Server implementations are advised to accept all submissions - that correctly implement the protocol. Clients are unlikely to be able - to overcome problems within audit log entries, so such problems are - best resolved on the server side. - - - - When en error occurs, the server may place an explanation of the - problem in the text part of the response line. - - -
- Request Headers Information - - Each audit log entry submission must contain additional - information in the request headers: - - - - Header X-Content-Hash must contain the - audit log entry hash. Clients should expect the audit log entries - to be validated against the hash by the server. - - - - Header X-ForensicLog-Summary must contain - the entire concurrent format index line. - - - - The Content-Lenght header must be present - and contain the length of the audit log entry. - - -
-
-
-
diff --git a/doc/pdf.xsl b/doc/pdf.xsl deleted file mode 100644 index b7b70c17..00000000 --- a/doc/pdf.xsl +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - - - - - - -0pt -11 -1.5 -1 20 1 - - - 0.0em - 0.0em - 0.0em - - 0.2em - 0.2em - 0.2em - - - - - - - - bold - always - left - 1.0em - 1.0em - 1.0em - 0.0em - 0.0em - 0.0em - - - - 24pt - - page - - 0.0em - 0.0em - 0.0em - - - - - - 18pt - - - - 14pt - - - - 12pt - - - - 0.0em - 0.0em - 0.0em - 0.2em - 0.2em - 0.2em - - - - 0.2em - 0.2em - 0.2em - - 0.2em - 0.2em - 0.2em - - 2pc - - - - - #f0f0f0 - 2pt - - - - 90% - - - - - - - - - - - - - - - - - - - - - - - - ​ - - - - -