--- title: "Create a Trellix IPS custom attack to detect an email attachment by file name" slug: "create-a-trellix-ips-custom-attack-to-detect-an-email-attachment-by-file-name-2" tags: ["Product Usage", "IPS 11.1.x"] updated: 2026-11-19T12:29:17Z published: 2026-11-19T12:29:17Z canonical: "docs.trellix.com/create-a-trellix-ips-custom-attack-to-detect-an-email-attachment-by-file-name-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 a Trellix IPS custom attack to detect an email attachment by file name You can use the predefined template to create a Trellix IPS custom attack to detect an email attachment by the file name. **Steps:** 1. Select **Policy** → **** → **Intrusion Prevention** → **Policy Types** → **IPS**. Click **Custom Attacks**. The Custom Attack Editor opens with the existing Custom Attacks listed on the **Native Trellix IPS Format** tab. 2. 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-20T11%3A28%3A51Z&se=2026-11-20T12%3A28%3A51Z&sr=c&sp=r&sig=RPcivipILpmLSp2r%2FRUP2qgX87sYGKn6IpoqFpD20O8%3D). The **New Custom Attack** interface opens. 3. In the **Name** field, type a new name for your attack. **UDS** (User-Defined Signature) is appended at the front automatically when you save the attack. For example, if you name the new attack "HTTP Attack XYZ", it appears as "UDS-HTTP Attack XYZ" in the Custom Attack Editor as well as in the attack database when you save the attack. > [!NOTE] > Note > > The Trellix IPS ID is provided by the Manager when you save it 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. Select a severity for your attack by toggling the drop-down list. Choices are High (9, 8, 7), Medium (6, 5, 4), Low (3, 2, 1), and Informational (0). Severity is set to **Medium (5)** by default. 6. Select the most appropriate **Protection Category** for the attack. 7. Select **E-mail Attachment** from the **Detection Type** drop-down menu for the attack. 8. Select the required parameter for **Attachment File Name** and enter the corresponding value in the text box. **Custom attack to detect an email attachment by its file name**![Custom attack to detect an email attachment by its file name](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-072588be-c0fa-a62f-ef08-8b5904c75e6e(7).png?sv=2026-02-06&spr=https&st=2026-11-20T11%3A28%3A51Z&se=2026-11-20T12%3A28%3A51Z&sr=c&sp=r&sig=RPcivipILpmLSp2r%2FRUP2qgX87sYGKn6IpoqFpD20O8%3D) 9. Click **Add**. 10. Double-click on the attack that you created on the **Native Trellix IPS Format** tab. In the **Matching Criteria** section, the protocol is automatically selected as SMTP. To edit these values, select the signature on the **Signature-** tab. You can modify the default values. You can also add more conditions to the signature. **Details of the Trellix IPS custom attack**![Details of the Trellix IPS custom attack](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-74e6b002-1c38-c531-ef8f-813cea3aedaa(7).png?sv=2026-02-06&spr=https&st=2026-11-20T11%3A28%3A51Z&se=2026-11-20T12%3A28%3A51Z&sr=c&sp=r&sig=RPcivipILpmLSp2r%2FRUP2qgX87sYGKn6IpoqFpD20O8%3D) 11. Click **Save** in the **Custom Attack** interface. Until you save the attack in the database, value for the **Trellix IPS ID** column is not generated. The Sensor detects this attack after you deploy pending changes to the corresponding Sensor (**Devices** → **** → **Global** → **Device Manager**. Select the **Sensors** tab. Then, select the required Sensor from list and click **Sync**).