[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Configuring Protocol Anomaly-Based Attacks

A protocol anomaly attack object detects unknown or sophisticated attacks that violate protocol specifications (RFCs and common RFC extensions). You cannot create new protocol anomalies, but you can configure a new attack object that controls how your device handles a predefined protocol anomaly when detected.

The following properties are specific to protocol anomaly attacks—attack direction and test condition.

Before You Begin

  1. For background information, read:
  2. Establish basic connectivity. For more information, see the Getting Started Guide for your device.
  3. Configure network interfaces. See the JUNOS Software Interfaces and Routing Configuration Guide.

When configuring protocol anomaly-based attacks, keep the following in mind:

The configuration instructions in this topic describe how to create a signature-based attack object. In this example, you create a protocol anomaly attack named anomaly1 and assign it the following properties:

Once you have configured the protocol anomaly-based attack object, you specify the attack as match criteria in an IDP policy rule. For more information, see Defining Rules for an IPS Rulebase.

You can use either J-Web or the CLI configuration editor to create a custom attack object.

This topic contains:

CLI Configuration

To create a protocol anomaly-based attack object:

  1. Specify a name for the attack. The following statement specifies anomaly1 as the name of the attack.
    user@host# set security idp custom-attack anomaly1
  2. Specify common properties for the attack. The following statements specify an info severity level and a time binding with a scope type peer and count 2.
    user@host# set security idp custom-attack anomaly1 severity info
    user@host#set security idp custom-attack anomaly1 time-binding scope peer count 2
  3. Specify the attack type and test condition. The following statement specifies the attack type anomaly and test condition UNSUPPORTED_OPTIONS.
    user@host# set security idp custom-attack anomaly1 attack-type anomaly test UNSUPPORTED_OPTIONS
  4. Specify other properties for the anomaly attack. The following statement specifies the service TCP and attack direction any, and sets the shellcode flag to sparc and specifies .
    user@host# set security idp custom-attack sa attack-type anomaly service TCP
    user@host# set security idp custom-attack sa attack-type anomaly direction any
    user@host# set security idp custom-attack sa attack-type anomaly shellcode sparc
  5. If you are finished configuring the router, commit the configuration.
  6. From configuration mode in the CLI, enter the show security idp command to verify the configuration. For more information, see the JUNOS Software CLI Reference.

Related Topics


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]