--- title: "Create an attack definition for numeric value match" slug: "create-an-attack-definition-for-numeric-value-match-2" tags: ["Product Usage", "IPS 11.1.x"] updated: 2026-11-19T12:31:15Z published: 2026-11-19T12:31:15Z canonical: "docs.trellix.com/create-an-attack-definition-for-numeric-value-match-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Create an attack definition for numeric value match This scenario is about creating a Custom Attack Definition that uses numeric value match to detect if the command line parameter length in make directory operation is greater than 50. In order to write a proper Native Trellix IPS Format Custom Attack for this example, you must identify several key elements: - Application protocol: FTP - Protocol field: cmd-param-length - Cmd qualifier: mkd - Value to match: 50 Steps to create the attack definition for this example: 1. In the Custom Attack Editor, click ![GUID-F3F18CF8-B95D-4C8C-8DB8-996CDB6087FB-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-e18ed793-87a1-f95c-1c5b-8e24a797ea67(8).png?sv=2026-02-06&spr=https&st=2026-11-20T16%3A31%3A07Z&se=2026-11-20T17%3A31%3A07Z&sr=c&sp=r&sig=iKJjGv5wUwdCxHmNJf6jNnSQ3qTLVl3ULN1gYClMlaA%3D). The **New Custom Attack** interface opens. ![GUID-3EB7CCB4-A36F-41F8-BB0D-1EC2405A7B00-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-f5a1cb65-5f7d-cf7b-35d5-c3bc7cfd73b4(7).png?sv=2026-02-06&spr=https&st=2026-11-20T16%3A31%3A07Z&se=2026-11-20T17%3A31%3A07Z&sr=c&sp=r&sig=iKJjGv5wUwdCxHmNJf6jNnSQ3qTLVl3ULN1gYClMlaA%3D) 2. Select one of the options from the **State** drop-down menu. 3. You can specify a name such as "Custom Exploit: Numeric Value Match" as the **Name**. The letters "UDS" (user-defined signature) are appended to the front of the name upon completion; thus, this attack appears as "UDS-Custom Exploit: Numeric Value Match" in the Custom Attack Editor, as well as the attack database when you save in the Manager server. 4. Type a description for your attack. This area can be used for your notes or other specific information pertinent to your new attack. 5. You can select **Medium (5)** as the **Severity** because this example scenario does not necessarily involve malicious activity. 6. Select **Advanced Protection Options/Web Application Server** as the **Protection Category**. 7. Select **Custom Exploit (Signature Based)** from the **Detection Type** drop-down menu for the attack. 8. Click **Next**. ![GUID-25646805-1891-4FF7-A016-68270071F54C-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-9e5c1f62-75a0-76ce-e2c4-99d0e6406d5e(7).png?sv=2026-02-06&spr=https&st=2026-11-20T16%3A31%3A07Z&se=2026-11-20T17%3A31%3A07Z&sr=c&sp=r&sig=iKJjGv5wUwdCxHmNJf6jNnSQ3qTLVl3ULN1gYClMlaA%3D) 9. Select **Client or Server** as **Attack Target**. 10. Select **Attack Packet Only** as **Blocking (As Applicable)**. 11. In the **Matching Criteria** section, select **Protocol** as the **Criterion** and select **HTTP** as protocol. When you subsequently save this attack definition in the Manager server, it will be part of every rule set which includes Medium-severity, HTTP attacks (must match both severity and protocol). ![GUID-20CEE2CD-FE00-4D7C-A005-722C06750D8A-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-9f541371-bf53-28ab-09cd-b7fcde96be23(7).png?sv=2026-02-06&spr=https&st=2026-11-20T16%3A31%3A07Z&se=2026-11-20T17%3A31%3A07Z&sr=c&sp=r&sig=iKJjGv5wUwdCxHmNJf6jNnSQ3qTLVl3ULN1gYClMlaA%3D) 12. Attack details configuration is complete. Continue to create signature.