Manual Chapter : Using Rapid Deployment

Applies To:

Show Versions Show Versions


  • 11.2.1
Manual Chapter

Overview: Rapid deployment

The Rapid Deployment security policy provides security features that minimize the number of false positive alarms and reduce the complexity and length of the deployment period. By default, the Rapid Deployment security policy includes the following security checks:

  • Performs HTTP compliance checks
  • Checks for mandatory HTTP header
  • Stops information leakage
  • Prevents illegal HTTP methods from being used in a request
  • Checks response codes
  • Enforces cookie RFC compliance
  • Applies attack signatures to requests (and responses, if applying signatures to responses)
  • Evasion technique detected
  • Access from disallowed Geolocation
  • Access from disallowed User/Session/IP
  • Request length exceeds defined buffer size
  • Disallowed file upload content detected
  • Failed to convert character
  • Modified ASM™ cookie

With the Rapid Deployment security policy, your organization can quickly create a security policy that meets the majority of web application security requirements.

You can implement Rapid Deployment in two ways:

  • As a fixed policy that does not change unless you configure additional security features (choose Rapid Deployment security policy).
  • By using Real Traffic Policy Builder® to develop the policy by automatically adding elements to the security policy (choose Rapid Deployment security policy with Policy Builder enabled).

Creating a security policy using rapid deployment

Before you can create a security policy using ASM, you need to complete the basic BIG-IP® system configuration tasks including creating a VLAN, a self IP address, and other tasks, according to the needs of your networking environment.

You can use rapid deployment to create a security policy quickly. The Deployment wizard takes you through the steps required for rapid deployment.
  1. On the Main tab, click Application Security > Security Policies. The Active Policies screen opens.
  2. Click the Create button. The Deployment wizard opens to the Select Local Traffic Deployment Scenario screen.
  3. For the Local Traffic Deployment Scenario setting, specify a virtual server to use for the security policy.
    • Select Existing Virtual Server and click Next to use an existing virtual server (as long as it does not have an HTTP Class profile associated with it).
    • Select New Virtual Server and click Next to create a new virtual server and pool with basic configuration settings.
    The virtual server represents the web application you want to protect. The system automatically creates an HTTP Class with the same name as the virtual server. The Configure Local Traffic Settings screen opens.
  4. Configure the new or existing virtual server, and click Next. The Select Deployment Scenario screen opens.
  5. For Deployment Scenario, select Create a policy manually or use templates and click Next. The Configure Security Policy Properties screen opens.
  6. From the Application Language list, select the language encoding of the application.
    Important: You cannot change this setting after you have created the security policy.
  7. From the Application-Ready Security Policy list, select one of the following options:
    Option Description
    Rapid Deployment security policy Creates a simple security policy that protects against known vulnerabilities, such as evasion attacks, data leakage, and buffer overflow attacks.
    Rapid Deployment security policy with Policy Builder enabled Creates a simple security policy that protects against known vulnerabilities, and starts the Policy Builder which can add elements to the policy based on examining application traffic, put them in staging, and enforce them when ready.
  8. For the Staging-Tightening Period field, retain the default setting of 7 days. Staging and tightening allow you to test the security policy entities for false positives before enforcing them. During the staging-tightening period, the security policy provides learning suggestions when it processes requests that do not meet the security policy; but the security policy does not alert or block that traffic, even if those requests trigger violations.
  9. Click Next. The Configure Attack Signatures screen opens.
  10. To configure attack signatures, move the systems used by your web application from the Available Systems list into the Assigned Systems list. The system adds the attack signatures needed to protect the selected systems.
  11. Retain the default value of Enabled for the Signature Staging setting. New and updated attack signatures remain in staging for seven days, and during that time, they are not enforced (according to the learn, alarm, and block flags selected for each of the signature sets).
  12. If using the Rapid Deployment security policy (without Policy Builder), you can select Enabled for the Apply Signatures to Responses setting to have the system use the signatures to inspect responses.
  13. Click Next. The Security Policy Configuration Summary screen opens.
  14. Review the settings for the security policy. When you are satisfied with the security policy configuration, click Finish. The system creates the security policy and opens the Properties screen.
When you first create a rapid deployment security policy, it operates in transparent mode (meaning that it does not block traffic). If the system receives a request that violates the security policy, the system logs the violation event, but does not block the request.

Fine-tuning a security policy

After you create a security policy, the system provides learning suggestions concerning additions to the security policy based on the traffic that is accessing the application. For example, you can have users or testers browse the web application. By analyzing the traffic to and from the application, Application Security Manager™ generates learning suggestions or ways to fine-tune the security policy to better suit the traffic and secure the application.

Note: If you are using the Policy Builder to add elements to the security policy, you can skip this task.
  1. On the Main tab, click Application Security > Policy Building > Manual. The Traffic Learning screen opens, and lists violations and learning suggestions that the system has found based on real traffic.
  2. In the Traffic Learning area, click each violation hyperlink, then review and handle learning suggestions:
    Option Description
    Accept Select a learning suggestion, click Accept, and then click Apply Policy. The system updates the security policy to allow the file type, URL, parameter, or other element.
    Clear Select a learning suggestion, and click Clear. The system removes the learning suggestion and continues to generate suggestions for that violation.
    Cancel Click Cancel to return to the Traffic Learning screen.
    By default, a security policy is put into a staging-tightening period for seven days. During this time, you can examine learning suggestions and adjust the security policy without blocking traffic.
  3. On the Traffic Learning screen, review the violations and consider whether you want to permit any of them (for example, if a violation is causing false positives). Select any violations you do not want the system to trigger, and click Disable Violation. A popup screen opens, and you can verify that you want to disable the violations or cancel the action.
  4. To activate the updated security policy, on the top right of the screen, click Apply Policy, then click OK to confirm.
  5. To view outstanding tasks for the security policy, on the Main tab, click Application Security > Overview. The Overview Summary screen opens.
  6. Examine the summary screen for information about recommended tasks that you need to complete.
    1. Review the Tasks to do area, which lists system tasks and security policy tasks that should be completed.
    2. Click the links in the Tasks to do area to go to the screen where you can perform the recommended action.
    3. In the Quick Links area, click any of the links to gain access to common configuration and reporting screens.
The security policy now includes elements unique to your web application.
It is a good idea to periodically review the learning suggestions on the Traffic Learning screen to determine whether the violations are legitimate, or if they are false positives that indicate a need to update the security policy.

Enforcing a security policy

To perform enforcement tasks, the security policy must be operating in transparent mode, and have been created manually. Traffic should be moving through Application Security Manager™, allowing users to access the web application for which you set up the security policy.
When you enforce a security policy, the system blocks requests that cause violations that are set to block.
  1. On the Main tab, click Application Security > Policy > Blocking. The Settings screen shows the violations that can be detected, and how the security policy responds to requests that cause those violations (whether the system learns information from the illegal request, generates an alarm, or blocks the request).
  2. In the Current edited policy list near the top of the screen, verify that the edited security policy is the one you want to work on.
  3. For each violation, review the settings so you understand how the security policy handles requests that cause the violation.
    Option Description
    Learn If selected, the system generates learning suggestions for requests that trigger the violation.
    Alarm If selected, the system records requests that trigger the violation in the Charts screen, the Syslog (/var/log/asm), and possibly in local or remote logs (depending on the settings of the logging profile).
    Block If selected (and the enforcement mode is set to Blocking), the system blocks requests that trigger the violation.
  4. For the Enforcement Mode setting, select Blocking.
  5. Click Save.
  6. On the Main tab, click Application Security > Policy.
  7. To change the number of days the security policy remains in staging, change the value in the Staging-Tightening Period field. The security policy does not block traffic during the Staging-Tightening Period even if violations occur. If you want to block traffic that causes violations, set the value of this field to 0. For details, see the online help.
  8. Click Save.
  9. In the editing context area, click Apply Policy to immediately put the changes into effect.
  10. For a quick summary of system activity, look at the Overview screen ( Application Security > Overview ).
After the staging period is over and the enforcement mode is set to blocking, the security policy no longer allows requests that cause violations set to block to reach the back-end resources. Instead, the security policy blocks the request, and sends the blocking response page to the client.