Create IPS Signatures
The signature database in Contrail Service Orchestration (CSO) contains predefined intrusion prevention system (IPS) signatures that you can use. From the Create IPS Signature page, users with the tenant administrator role or a custom role with appropriate IPS tasks can also create customized IPS signatures to block newer attacks or unknown attacks.
To create a customized IPS signature:
After you create an IPS signature, you can use the signature in an IPS or an exempt rule and reference the IPS profile (containing the rule) in a firewall policy that you can then deploy on the device.
Setting |
Guideline |
---|---|
Name |
Enter a unique name for the IPS signature that is a string of alphanumeric characters and some special characters (colon, hyphen, period, and underscore). No spaces are allowed and the maximum length is 255 characters. |
Description |
Enter a description for the IPS signature; the maximum length is 1024 characters. |
Category |
Enter a predefined category or a new category. The category can contain alphanumeric characters and special characters (hyphen and underscore) and must begin with an alphanumeric character. No spaces are allowed and the maximum length is 63 characters. You use categories to group attack objects and then within each category, you can assign severity levels to the attack objects. |
Action |
Select the action to take when the monitored traffic matches the attack objects specified in the IPS rule:
|
Keywords |
Enter unique identifiers that can be used to search and sort signatures. Keywords should relate to the attack and the attack object. For example, Amanda Amindexd Remote Overflow. |
Severity |
Select a severity level for the attack that the signature will report:
|
Signature Details |
|
Binding |
Select the protocol or service that the attack uses to enter your network:
|
Protocol |
For IP binding, specify the transport layer protocol number that you want matched to the attack. Range: 1 through 139 excluding 1, 6, and 17. |
Next Header |
For IPv6 binding, specify the transport layer protocol number for the next header following the IPv6 header with which to match the attack. Range: 1 through 139 excluding 6, 17, and 58. |
Port Range(s) |
For TCP or UDP binding, specify a port number or a port range (min-port-no-max-port-no format) that you want matched to the attack. |
Program Number |
For RPC binding, specify the RPC program number (ID) that you want matched to the attack. |
Service |
For service binding, select the service that you want matched to the attack. |
Time Count |
Specify the number of times that IPS detects the attack within the specified time scope before triggering an event. |
Time Scope |
Specify the scope within which the counting of the attack occurs:
|
Match Assurance |
Specify a false positives filter to track attack objects based on the frequency that the attack produces a false positive on your network:
|
Performance Impact |
Specify this filter to select only the appropriate attacks based on performance impact; for example to filter out slow-performing attack objects:
|
Add Signature |
You can specify one or more signature attack objects that use a stateful attack signature (a pattern that always exists within a specific section of the attack) to detect known attacks. Note:
For a customized IPS signature, you must specify at least one signature attack object or anomaly.
|
Add Anomaly |
Note:
Protocol anomaly attack objects detect abnormal or ambiguous messages within a connection according to the set of rules for the particular protocol being used. You can add, modify, or delete anomaly attack objects:
|
Setting |
Guideline |
---|---|
Signature No. |
Displays the system-generated signature number; you cannot modify this field. |
Context |
Select the attack context, which defines the location of the signature where IPS should look for the attack in a specific Application Layer protocol. |
Direction |
Select the connection direction of the attack:
|
Pattern |
Enter the signature pattern (in Juniper Networks proprietary regular expression syntax) of the attack you want to detect. An attack pattern can be a segment of code, a URL, or a value in a packet header and the signature pattern is the syntactical expression that represents that attack pattern. For example, use |
Regex |
Enter a regular expression to define rules to match malicious or unwanted behavior over the network. For example: For the syntax \[hello\], the expected pattern is hello, which is case sensitive. The example matches can be: hElLo, HEllO, and heLLO. |
Negated |
Select this check box to exclude the specified pattern from being matched. When you negate a pattern, the attack is considered matched if the pattern defined in the attack does not match the specified pattern. |
Setting |
Guideline |
---|---|
Anomaly No. |
Displays the system-generated anomaly number; you cannot modify this field. |
Anomaly |
Select the protocol (service) whose anomaly is being defined in the attack. |
Direction |
Select the connection direction of the attack:
|