Web Application Firewall (WAF)
Web Protection Profiles are a collection of Web Application Firewall (WAF) Rules that can be used to evaluate web-based transactions to ensure the traffic is not malicious.
Upload Custom WAF Rules
Multicloud Defense supports the following WAF Rule Sets:
Rule Sets |
Description |
---|---|
Core Rules |
TheCore Rules are a standard set of Rules from ModSecurity CRS (Core Rule Set) that provide a base level of protection for any web application. |
Trustwave Rules |
TheTrustwave Rules are a premium set of Rules from ModSecurity based on intelligence gathered from real-world investigations, penetration tests and research that provide an advanced level of protection for specific web applications and frameworks. |
Custom Rules |
TheCustom Rules are a particular set of Rules written by customers that provide a specialized level of protection for custom web applications. |
A Custom Rules Ruleset containing one or more Rules can be uploaded and used by the Multicloud Defense WAF security engine. The Rules contained within the Ruleset provide specialized web application evaluations required by a customer for their specific web applications and frameworks. The Custom Rules included in the WAF Profile will be evaluated first before evaluating any other Rulesets configured in the WAF Profile.
When uploading a Custom Rules Ruleset, the file should be a Gzip compressed TAR file with extension tar.gz. The compressed TAR file will consist of the following files:
-
Readme File - File that gives a description of the Ruleset.
-
Changelog File - File that represents the change history.
-
Rules Folder - Folder that consists of one or more ModSecurity formatted Rules files. Each file must have an extension .conf. The folder must contain at least one Rule file (cannot be empty). Each file must follow the ModSecurity Rules format guidelines.
Procedure
Step 1 |
Navigate to . |
Step 2 |
Click the Custom tab. |
Step 3 |
Click the Import button and upload the custom Ruleset file. |
Create WAF Profile
Procedure
Step 1 |
Navigate to . |
||
Step 2 |
Click . |
||
Step 3 |
Specify the following general settings:
|
||
Step 4 |
Specify the following advanced settings: |
Event Filtering
To reduce the number of security Events that are generated when the WAF Profile is triggered, the Event Filtering can be configured to rate limit or sample the Events. The configuration does not alter the detection or protection behavior.
When specifying Type as Rate, the generated Events are rate limited based on the specified Number of Events triggered over a Time evaluation interval (in seconds). For example, if Number of Events is specified as 50 and Time is specified as 5 seconds, only 10 Events per second will be generated.
When specifying Type as Sample, the generated Events are sampled based on the specified Number of Events. For example, if Number of Events is specified as 10, only 1 Event will be generated for every 10 Events triggered.
Profile Event Filtering
Profile Event Filtering applies to all Rules that are configured in the WAF Profile:
-
Specify the Type as Rate or Sample:
-
Rate- Specify the Number of Events and the Time evaluation interval (in seconds).
-
Sample- Specify the Number of Events.
-
Rule Event Filtering
Rule Event Filtering applies to specific Rules that are configured in the IDS/IPS Profile
Procedure
Step 1 |
Click Add under Rule Event Filtering. |
Step 2 |
For Rule ID List, specify a comma-separated list of Rule IDs. |
Step 3 |
Specify Type as Rate or Sample:
|
What to do next
Check this document to create/edit rules