Exporting Scan Results as Web Application Firewall Rules
This topic explains how you can export the list of vulnerabilities Acunetix 360 identified during a web vulnerability scan and import them as rules in your web application firewall. Since at the moment you can only export ModSecurity firewall rules directly from the Acunetix 360 scanners (see Generating ModSecurity Web Application Firewall Rules from Acunetix 360), this exercise will illustrate the process using Threadfix.
This means that you can export Acunetix 360 scan results and import them as web application firewall rules to any type and brand of firewall that is supported by ThreadFix.
In this example, we will export the Acunetix 360 scan results to an Imperva SecureSphere WAF.
How to Export the Vulnerability List in XML Format in Acunetix 360
- Open Acunetix 360.
- From the main menu, select Scan, then Recent Scans. The Recent Scans window is displayed.
- Next to the relevant scan, click Report. The Scan Summary window is displayed.
- Click Export. The Export Report dialog is displayed.
- From the Report dropdown, select Vulnerabilities List.
- The Format dropdown will automatically be set to XML.
- Click Export.
How to Import the Vulnerability List in ThreadFix
In order to import the list of vulnerabilities in ThreadFix, and associate them with a web application so then you can export them as WAF rules, you should have an application associated with a team.
For further information on setting up ThreadFix, see ThreadFix Getting Started Guide.
- Log in to ThreadFix.
- In ThreadFix, navigate to the web application that you have just scanned in ThreadFix.
- Click Upload Scan.
- Specify the path of the XML file and import the vulnerabilities.
How to Export the Vulnerability List from ThreadFix as Imperva WAF Rules
First you have to add or configure the Imperva firewall in ThreadFix.
- From the Settings dropdown, select WAFs.
- Click Create WAF. The Create New WAF window is displayed.
- In the Name field, enter a name for the WAF.
- In the Type field, enter a type (in this case, select Imperva SecureSphere).
- Click Create WAF.
Once the Imperva WAF is successfully added to ThreadFix, you have to associate it to the web application in question.
- Navigate to the web application in ThreadFix.
- From the Action dropdown, select Edit/Delete.
- From the application's settings, click Set WAF.
- Select the Imperva web application firewall you have just created in the previous step.
- Click Add Waf and Save.
- Click Save Changes to save the application's settings and the association.
Once the web application firewall is associated with your web application, you can export the rules to your Imperva WAF.
- From the Settings dropdown, navigate to the WAFs page by selecting WAFs.
- Click Rules to view the generated web application firewall rules.
- Click Download WAF Rules to export the generated rules into a text file.