--- 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" tags: ["Product Usage", "IPS 10.1.10"] updated: 2026-10-05T15:40:31Z published: 2026-10-05T15:40:31Z canonical: "docs.trellix.com/create-a-trellix-ips-custom-attack-to-detect-an-email-attachment-by-file-name" --- > ## 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. ## Task 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 ![](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/GUID-F3F18CF8-B95D-4C8C-8DB8-996CDB6087FB-low.png?sv=2026-02-06&spr=https&st=2026-11-22T16%3A55%3A21Z&se=2026-11-22T17%3A55%3A21Z&sr=c&sp=r&sig=HKyTZ4ddfRvp1riMbAKvVgAk%2BT7FtJZ4FcHGmtCmS7g%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 ![](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/GUID-2D804D3A-22EB-44B3-8A3E-AA78C5060BDD-low.png?sv=2026-02-06&spr=https&st=2026-11-22T16%3A55%3A21Z&se=2026-11-22T17%3A55%3A21Z&sr=c&sp=r&sig=HKyTZ4ddfRvp1riMbAKvVgAk%2BT7FtJZ4FcHGmtCmS7g%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 ![](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/GUID-0B82CA64-4EFC-4409-9477-1EB107459572-low.png?sv=2026-02-06&spr=https&st=2026-11-22T16%3A55%3A21Z&se=2026-11-22T17%3A55%3A21Z&sr=c&sp=r&sig=HKyTZ4ddfRvp1riMbAKvVgAk%2BT7FtJZ4FcHGmtCmS7g%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**).