--- title: "Enabling exploit blocking" slug: "enabling-exploit-blocking" updated: 2026-09-08T19:10:56Z published: 2026-09-08T19:10:56Z canonical: "docs.trellix.com/enabling-exploit-blocking" --- > ## 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. # Enabling exploit blocking **To enable the option to block exploits for all host endpoints in the xAgent default policy:** 1. Log in to the Web UI as an administrator. 2. From the **Admin** menu, select **Policies** to access the **Policies** page. 3. In the Policies table, click the link to access the **Edit Policies** page. 4. Select the **Exploit Guard Protection** tab. 5. In the Exploit Guard Options section, select **Prevent known suspicious behaviors**. When this option is selected, exploits are blocked when they are detected. ![Policy_ExG_Block.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-0ceca073-f74a-c795-c8d6-fd97c1184d9f(1).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A24%3A17Z&se=2026-11-22T14%3A24%3A17Z&sr=c&sp=r&sig=gA3b%2Fjtwm3A26Sy3E7U5cPm%2F%2BAZjDyoHbeXABRnNIYk%3D) 6. Click **Save**. **To enable the option to block exploits for selected host sets in a custom policy:** ### Note [See Creating a Custom Policy](/docs/creating-a-custom-policy) for more information about using the Web UI to create a custom policy. 1. Log in to the Web UI as an administrator. 2. From the **Admin** menu, select **Policies** to access the **Policies** page. 3. In the Policies table, click the link for the custom policy you want to modify. 4. Select the **Exploit Guard Protection** tab. 5. In the Exploit Guard Options section, select **Prevent known suspicious behaviors**. When this option is selected, exploits are blocked when they are detected. ![Policy_ExG_Block.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-0ceca073-f74a-c795-c8d6-fd97c1184d9f(1).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A24%3A17Z&se=2026-11-22T14%3A24%3A17Z&sr=c&sp=r&sig=gA3b%2Fjtwm3A26Sy3E7U5cPm%2F%2BAZjDyoHbeXABRnNIYk%3D) 6. Click **Save**. Now you can assign host sets to the custom policy and set the policy priority level. See [Assigning Host Sets to Agent Policies](/docs/assigning-host-sets-to-xagent-policies) and [Configuring Policy Priority Using the Web UI](/docs/configuring-policy-priority-using-the-web-ui) for more information. :