--- title: "Add the first condition and comparison for your signature" slug: "add-the-first-condition-and-comparison-for-your-signature" tags: ["Product Usage", "IPS 10.1.10"] updated: 2026-10-05T15:40:13Z published: 2026-10-05T15:40:13Z canonical: "docs.trellix.com/add-the-first-condition-and-comparison-for-your-signature" --- > ## 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 To add the condition to the example signature: ## Task 1. **Condition 1** is added automatically with the URL. 2. Click **Condition 1** so that it is highlighted. Adding Conditions ![](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/GUID-165E33B8-B877-48B2-9918-53D520DCA906-low.png?sv=2026-02-06&spr=https&st=2026-11-20T10%3A28%3A53Z&se=2026-11-20T11%3A28%3A53Z&sr=c&sp=r&sig=WNxEp8XISPpPLs83EhSmfIqV6WIwrBIRU7pKtaDMD64%3D) 3. Click ![](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/GUID-621EB179-B0A5-43D9-99A3-64CB0BB6FB20-low.png?sv=2026-02-06&spr=https&st=2026-11-20T10%3A28%3A53Z&se=2026-11-20T11%3A28%3A53Z&sr=c&sp=r&sig=WNxEp8XISPpPLs83EhSmfIqV6WIwrBIRU7pKtaDMD64%3D) in the Signature Details section. The **Add AND Comparison** dialog opens. Configure Comparison window ![](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/GUID-536F8378-9459-4DFB-9612-1E0C7B378C98-low.png?sv=2026-02-06&spr=https&st=2026-11-20T10%3A28%3A53Z&se=2026-11-20T11%3A28%3A53Z&sr=c&sp=r&sig=WNxEp8XISPpPLs83EhSmfIqV6WIwrBIRU7pKtaDMD64%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 ![](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/GUID-8065D986-C095-45B3-8BCC-6924A3B0F227-low.png?sv=2026-02-06&spr=https&st=2026-11-20T10%3A28%3A53Z&se=2026-11-20T11%3A28%3A53Z&sr=c&sp=r&sig=WNxEp8XISPpPLs83EhSmfIqV6WIwrBIRU7pKtaDMD64%3D) 10. Click ![](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/GUID-1C393536-5E83-4665-9BCD-59D156B85B94-low.png?sv=2026-02-06&spr=https&st=2026-11-20T10%3A28%3A53Z&se=2026-11-20T11%3A28%3A53Z&sr=c&sp=r&sig=WNxEp8XISPpPLs83EhSmfIqV6WIwrBIRU7pKtaDMD64%3D) to verify that your expression is valid, and that the appropriate pattern is represented. 11. Click **Save**. Your comparison appears under **Condition1**.