Creating a web application

Target

Creating an application in the WAF web interface

Prerequisites

  1. WAF installed in reverse proxy mode. Below in the text waf_ip is the network address or host name of your stand with WAF

  2. Secured web application accessible with WAF.

Result

Successful completion of this work will include:

  • entries in the application transaction log.

Procedure

  1. Log in with the admin/p0wnp0wnp0wn credentials in the WAF web interface, available at https://WAF_IP:8443. After your first login, you will need to change your password.

  2. Disable transaction sampling, otherwise only every 10th transaction without anomalies will be saved.

    1. To do this, go to the interface area Settings -> Manage analyzers.

image1

Figure 1 - “Manage analyzers” tab

  1. Click “Configure” next to the analyzer name. In the dialog box that opens, change the “normal_tx_sample_rate” parameter to 1 and save the settings.

image2

Figure 2 - Analyzer settings

  1. Add a new application in the “Applications” zone.

image3

Figure 3 - Establishing an application

  1. Set the “Triples” of the application by selecting them from the proposed list or filling them out manually on the Triples tab.

image4

Figure 4 - Creating triplets

  1. Reboot the analyzer for the changes to take effect.

image5

Figure 5 - Restarting the analyzer

  1. Make requests to the protected application (for example, using a browser). After that, records that match your requests should appear on the “Transactions” tab.

image6

Figure 6 - “Transactions” tab