--- title: "Enabling exploit prevention" slug: "enabling-exploit-prevention" updated: 2026-09-08T19:10:30Z published: 2026-09-08T19:10:30Z canonical: "docs.trellix.com/enabling-exploit-prevention" --- > ## 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 prevention **To enable exploit prevention for 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 **Agent Default Policy** link to access the **Edit Policy** page. 4. Select the **Exploit Guard Protection** tab. 5. Verify that the **Exploit Guard** switch is **ON**. ![Policy_ExGP_Switch_ON.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-31f2c062-6f96-56f6-6439-b7f3aacc0fe5(1).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A02%3A21Z&se=2026-11-22T14%3A02%3A21Z&sr=c&sp=r&sig=7v8zAJcJhgFi895bP0CXS2e4LbnlSffyMBNaIHRIp9w%3D) 6. Select at least one of the following options, depending on your system requirements. - **Prevent known suspicious behaviors**. See [Blocking Exploited Processes](/docs/blocking-exploited-processes). - **Terminate the exploited process**. See [Terminating Exploited Processes](/docs/terminating-exploited-processes). Exploit prevention occurs if either of these options is selected. ### Important Enabling exploit prevention may result in data loss when an exploit is blocked in an active process and exploit prevention terminates the process that started the infection. 7. Click **Save**. **To enable exploit prevention for 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 **Agent Default Policy** link to access the **Edit Policy** page. 4. Select the **Exploit Guard Protection** tab. 5. Verify that the **Exploit Guard** switch is **ON**. ![Policy_ExGP_Switch_ON.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-31f2c062-6f96-56f6-6439-b7f3aacc0fe5(1).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A02%3A21Z&se=2026-11-22T14%3A02%3A21Z&sr=c&sp=r&sig=7v8zAJcJhgFi895bP0CXS2e4LbnlSffyMBNaIHRIp9w%3D) 6. Select at least one of the following options, depending on your system requirements. - **Prevent known suspicious behaviors**. See [Blocking Exploited Processes](/docs/blocking-exploited-processes). - **Terminate the exploited process**. See [Terminating Exploited Processes](/docs/terminating-exploited-processes). Exploit prevention occurs if either of these options is selected. ### Important Enabling exploit prevention may result in data loss when an exploit is blocked in an active process and exploit prevention terminates the process that started the infection. 7. 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. :