Malicious Payload

The Malicious Payload policy protects your computers from known and zero-day vulnerability attacks as well as against SQL injections attacks, cross-site scripting attacks, and other web application vulnerabilities. The Malicious Payload policy rules define a set of conditions that are compared to the payload session and application layers of network packets (such as HTTP/HTTPS), as well as the sequence of those packets according to those higher-layer protocols.

Configure the Malicious Payload policy

  1. Go to Your Group > Policies > Malicious Payload and ensure that it is enabled.
  2. Set the state to Report. This will trigger events without blocking the request, which allows you to run your application and see which expected behaviors trigger Malicious Payload events.
  3. On the right of the page, select Configure Policy.
  4. In the Malicious Payload Policy Configuration window, select the Include Malicious Payload data in report option to send the HTTP/HTTPS message payload to the server when alerts are raised. Screenshot

    When the option is selected, the agent includes the HTTP/HTTPS message payload in the alert details. In the case where there are concerns of sensitive information in the HTTP/HTTPS payload being persisted, such as Personally Identifiable Information (PII), the option can be deselected and the HTTP/HTTPS message payload won't be included in the alert details. By default, the payload is included.

  5. A list of Malicious Payload rules are displayed with the rule's ID, name, description, and Common Vulnerability Scoring System (CVSS) score, if applicable. If you'd like to read the full description of the rule or see the rule's CVSS score, select the desired rule. Use the search bar in the top-right corner to search for specific Malicious Payload rules.
    Screenshot

  6. Close the window.

    By default, all of the Malicious Payload rules are turned on to best protect your application.

  7. Navigate to your application and use it in the various scenarios that it was designed to handle.

  8. On the Application Security dashboard, check the Events page for Malicious Payload events. If one has been triggered, follow the steps in Manage Malicious Payload events.
  9. Once you're happy with your policy configuration and events are no longer being triggered by expected behavior, go to Your Group > Policies > Malicious Payload.
  10. On the right of Malicious Payload, set the state to Mitigate. When a rule is triggered, the attempt will be blocked and a Malicious Payload event will appear on the Dashboard.

Malicious Payload events

Malicious Payload events are displayed on the Dashboard in Events or Filter by Group > Your Group.

Every event includes the Request Details panel for general information about the event. For more information, see Manage Events.

Under Triggered Rule Details, the following information is displayed:

  • ID: The ID number of the rule that was triggered.
  • Name: The name of the rule that was triggered.
  • Description: The description of the rule that was triggered.
  • CVEs: The CVEs (Common Vulnerabilities & Exposures) entry.
  • CVSS Score: The CVSS (Common Vulnerabilities Scoring System) score. Screenshot

Under Payload Details, the following information is displayed:

  • Position: The position in the HTTP/HTTPS stream where the attack payload was detected.
  • Stream Position: The offset in the displayed bytes where the attack payload was detected.
  • Payload: The payload where the vulnerability exists. Screenshot
    Payload details are available only if the Include Malicious Payload data in report option in the Malicious Payload Policy Configuration window was selected at the time that the alert was raised.

Manage Malicious Payload events

If Application Security is reporting Malicious Payload events:

  • Modify your code so a Malicious Payload attack can not be leveraged in the future.
  • If the event was triggered by an expected behavior of your application and you'd prefer not to modify your code and allow the behavior, select Click to Manage Policy. In the Alert section, you can see what policy rule was triggered. If you'd like to allow this behavior on your application, toggle the rule OFF. Screenshot