--- title: "Add the first condition and comparison for your signature" slug: "add-the-first-condition-and-comparison-for-your-signature-2" tags: ["Product Usage", "IPS 11.1.x"] updated: 2026-11-19T12:26:59Z published: 2026-11-19T12:26:59Z canonical: "docs.trellix.com/add-the-first-condition-and-comparison-for-your-signature-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. # Add the first condition and comparison for your signature Steps to add the condition to the example signature: 1. **Condition 1** is added automatically with the URL. 2. Click **Condition 1** so that it is highlighted. **Adding Conditions**![Adding Conditions](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-fce0287e-60e8-e173-0e50-49845078bfb4(7).png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A56%3A58Z&se=2026-11-20T13%3A56%3A58Z&sr=c&sp=r&sig=IqIduy8QFGEoA%2BbFWaeCzXi2BypibKGpJW%2Bwu8ZlVyY%3D) 3. Click ![GUID-621EB179-B0A5-43D9-99A3-64CB0BB6FB20-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-ed773655-62c6-17e7-900f-8a42bb3c0899(8).png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A56%3A58Z&se=2026-11-20T13%3A56%3A58Z&sr=c&sp=r&sig=IqIduy8QFGEoA%2BbFWaeCzXi2BypibKGpJW%2Bwu8ZlVyY%3D) in the Signature Details section. The **Add AND Comparison** dialog opens. **Configure Comparison window**![Configure Comparison window](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-1ff35e0c-d89f-13cd-81e1-444bd07a36bf(7).png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A56%3A58Z&se=2026-11-20T13%3A56%3A58Z&sr=c&sp=r&sig=IqIduy8QFGEoA%2BbFWaeCzXi2BypibKGpJW%2Bwu8ZlVyY%3D) 4. For this example, select **String Pattern Match** from the **Comparison Type** drop-down list. 5. Select **http** from the Protocol List. Because you selected HTTP, the Custom Attack Editor displays the HTTP-specific protocol fields on the following screen. 6. Configure the fields for the comparison you have chosen. For this example, specify **req-uri-path** for the Protocol Field. This specifies that the Sensor should search in the URI of the request packet. 7. Select **get** as the http-request-method. 8. From the drop-down list in the **Regex Details** section, select the Operator as **Equals** which means that the comparison criteria has to be equal to the string pattern entered. 9. In the **Text to Match** text box, type the pattern to match using the Regular Expression Language rules. The pattern to match is "private.exe". You must add a backward slash (\) before the dot (.) to escape the dot character so that it is properly interpreted. The final string should appear as private\.exe. **Adding the string pattern to match**![Adding the string pattern to match](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-eb79bf72-363b-b642-80dc-8d94b706bf9a(7).png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A56%3A58Z&se=2026-11-20T13%3A56%3A58Z&sr=c&sp=r&sig=IqIduy8QFGEoA%2BbFWaeCzXi2BypibKGpJW%2Bwu8ZlVyY%3D) 10. Click ![GUID-1C393536-5E83-4665-9BCD-59D156B85B94-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-1ba38dbb-5442-169b-aa15-602a95a24aac(8).png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A56%3A58Z&se=2026-11-20T13%3A56%3A58Z&sr=c&sp=r&sig=IqIduy8QFGEoA%2BbFWaeCzXi2BypibKGpJW%2Bwu8ZlVyY%3D) to verify that your expression is valid, and that the appropriate pattern is represented. 11. Click **Save**. Your comparison appears under **Condition1**.