--- title: "Enabling and disabling exploit prevention" slug: "enabling-and-disabling-exploit-prevention-1" updated: 2026-09-08T19:19:55Z published: 2026-09-08T19:19:55Z canonical: "docs.trellix.com/enabling-and-disabling-exploit-prevention-1" --- > ## 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 and disabling exploit prevention [Skip to main content](/docs/enabling-and-disabling-exploit-prevention-1#content-wrapper) If Exploit Guard is enabled, you can use the Web UI or the API to enable and disable exploit prevention for all your host endpoints or for specific host sets in your environment. This section covers how to use the Web UI to enable and disable exploit prevention options for the xAgent default policy and a custom policy. See the Endpoint Security (HX) *xAgent* *API Guide* for more information on managing xAgent policies using the API. This section covers the following topics: - [Enabling Exploit Prevention](/docs/enabling-and-disabling-exploit-prevention-1#UUID-b918b37b-869b-3a55-cf7d-7b0b33b4bc46) - [Disabling Exploit Prevention](/docs/enabling-and-disabling-exploit-prevention-1#UUID-4925a213-e639-dd13-ff7d-63a3d7af8198) ##### 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(2).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A33Z&se=2026-11-22T13%3A52%3A33Z&sr=c&sp=r&sig=841s6wqmlzW8KajkUPItdDNk7z2kbpqqwU8kkcEno%2Fc%3D) 6. Select at least one of the following options, depending on your system requirements. - **Prevent known suspicious behaviors**. See [Blocking Exploited Processes](/docs/enabling-and-disabling-exploit-prevention-1#UUID-5c14507d-bebc-2cea-2766-0c1b26a80bcb). - **Terminate the exploited process**. See [Terminating Exploited Processes](/docs/enabling-and-disabling-exploit-prevention-1#UUID-64b054fa-85e7-50cd-ab4d-5b9f47ba403c). 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-1) 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(2).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A33Z&se=2026-11-22T13%3A52%3A33Z&sr=c&sp=r&sig=841s6wqmlzW8KajkUPItdDNk7z2kbpqqwU8kkcEno%2Fc%3D) 6. Select at least one of the following options, depending on your system requirements. - **Prevent known suspicious behaviors**. See [Blocking Exploited Processes](/docs/enabling-and-disabling-exploit-prevention-1#UUID-5c14507d-bebc-2cea-2766-0c1b26a80bcb). - **Terminate the exploited process**. See [Terminating Exploited Processes](/docs/enabling-and-disabling-exploit-prevention-1#UUID-64b054fa-85e7-50cd-ab4d-5b9f47ba403c). 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-1) and [Configuring Policy Priority Using the Web UI](/docs/policy-prioritization-1) for more information. ##### Disabling exploit Prevention To disable 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 link to go to the **Edit Policies** page. 4. Select the **Exploit Guard Protection** tab. 5. Verify that the **Exploit Guard** switch is **ON** to ensure exploit detection is still enabled. ![Policy_ExGP_Switch_ON.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-31f2c062-6f96-56f6-6439-b7f3aacc0fe5(2).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A33Z&se=2026-11-22T13%3A52%3A33Z&sr=c&sp=r&sig=841s6wqmlzW8KajkUPItdDNk7z2kbpqqwU8kkcEno%2Fc%3D) 6. Clear both of the following options. - **Prevent known suspicious behaviors** - **Terminate the exploited process** Exploit prevention does not occur if these options are not selected. 7. Click **Save**. To disable exploit prevention for a custom policy: ### Note When you disable a setting in a custom policy, the setting is disabled for all host sets assigned to the policy. If you want select host sets to keep the original setting, you must create a new custom policy with the setting enabled and assign it to the selected host sets. [See Creating a Custom Policy](/docs/creating-a-custom-policy-1) 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. Verify that the **Exploit Guard** switch is **ON** to ensure exploit detection is still enabled. ![Policy_ExGP_Switch_ON.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-31f2c062-6f96-56f6-6439-b7f3aacc0fe5(2).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A33Z&se=2026-11-22T13%3A52%3A33Z&sr=c&sp=r&sig=841s6wqmlzW8KajkUPItdDNk7z2kbpqqwU8kkcEno%2Fc%3D) 6. Clear both of the following options. - **Prevent known suspicious behaviors** - **Terminate the exploited process** Exploit prevention does not occur if these options are not selected. 7. Click **Save**. ##### Blocking exploited processes You can enable and disable the exploit prevention option that blocks exploits when they are detected in monitored applications. Modifying the xAgent default policy allows you to enable or disable this setting for all of your host endpoints. The applications are not terminated, but the exploit affecting them is blocked. - [Enabling Exploit Blocking](/docs/enabling-and-disabling-exploit-prevention-1#UUID-9cfe81cc-7549-a99b-65a9-26d50af5477d) - [Disabling Exploit Blocking](/docs/enabling-and-disabling-exploit-prevention-1#UUID-ac379026-f7c5-ced8-5d4a-4ed4ded6e776) ###### 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(2).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A33Z&se=2026-11-22T13%3A52%3A33Z&sr=c&sp=r&sig=841s6wqmlzW8KajkUPItdDNk7z2kbpqqwU8kkcEno%2Fc%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-1) 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(2).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A33Z&se=2026-11-22T13%3A52%3A33Z&sr=c&sp=r&sig=841s6wqmlzW8KajkUPItdDNk7z2kbpqqwU8kkcEno%2Fc%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-1) and [Configuring Policy Priority Using the Web UI](/docs/policy-prioritization-1) for more information. ###### Disabling exploit blocking To disable the option to block exploits for all host endpoints: 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 Policies** page. 4. Select the **Exploit Guard Protection** tab. 5. Clear **Prevent known suspicious behaviors**. When this option is no longer selected, exploits are not blocked when they are detected. 6. Click **Save**. To disable the option to block exploits for selected host sets: ### Note When you disable a setting in a custom policy, the setting is disabled for all host sets assigned to the policy. If you want select host sets to keep the original setting, you must create a new custom policy with the setting enabled and assign it to the selected host sets. [See Creating a Custom Policy](/docs/creating-a-custom-policy-1) 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. Clear **Prevent known suspicious behaviors**. When this option is no longer selected, exploits are not blocked when they are detected. 6. Click **Save**. ##### Terminating exploited processes You can enable and disable the exploit prevention option using the Web UI or the API. This option terminates a monitored application when an exploit for the application has been detected. This section covers how to enable and disable exploit termination using the Web UI. See Endpoint Security (HX) REST API Guide for more information on using the API to modify xAgent policies. - [Enabling Exploit Termination](/docs/enabling-and-disabling-exploit-prevention-1#UUID-48650127-aaa4-a8cf-b147-33917ed2e091) - [Disabling Exploit Termination](/docs/enabling-and-disabling-exploit-prevention-1#UUID-ba19f560-fe1d-51fb-94bf-26459a7479e4) ###### Enabling exploit termination To enable the option to terminate exploited processes 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 Policy** page. 4. Select the **Exploit Guard** tab. 5. In the Exploit Guard Options section, select **Terminate the exploited process**. When this option is selected, exploited processes are terminated when they are detected. ![Policy_ExG_Terminate.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-aab3e663-5ad7-5c2d-968a-b6f6419e8d3a(2).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A33Z&se=2026-11-22T13%3A52%3A33Z&sr=c&sp=r&sig=841s6wqmlzW8KajkUPItdDNk7z2kbpqqwU8kkcEno%2Fc%3D) 6. To quarantine any blocked exploit documents and scripts from running on your host endpoint, you can also select **Quarantine malicious artifacts**. 7. Click **Save**. To enable the option to terminate exploited processes for all selected host endpoints in a custom policy: ### Note [See Creating a Custom Policy](/docs/creating-a-custom-policy-1) 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** tab. 5. In the Exploit Guard Options section, select **Terminate the exploited process**. When this option is selected, exploited processes are terminated when they are detected. ![Policy_ExG_Terminate.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-aab3e663-5ad7-5c2d-968a-b6f6419e8d3a(2).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A33Z&se=2026-11-22T13%3A52%3A33Z&sr=c&sp=r&sig=841s6wqmlzW8KajkUPItdDNk7z2kbpqqwU8kkcEno%2Fc%3D) 6. To quarantine any blocked exploit documents and scripts from running on your host endpoint, you can also select **Quarantine malicious artifacts**. 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-1) and [Configuring Policy Priority Using the Web UI](/docs/policy-prioritization-1) for more information. ###### Disabling exploit termination To disable the option to terminate exploited processes for all host endpoints: 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 Policy** page. 4. Select the **Exploit Guard** tab. 5. Clear **Terminate the exploited process**. When this option is no longer selected, exploited processes are not terminated when they are detected. 6. Click **Save**. To disable the option to terminate exploited processes for selected host sets: ### Note When you disable a setting in a custom policy, the setting is disabled for all host sets assigned to the policy. If you want select host sets to keep the original setting, you must create a new custom policy with the setting enabled and assign it to the selected host sets. [See Creating a Custom Policy](/docs/creating-a-custom-policy-1) 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. Select the **Exploit Guard** tab. 4. Clear **Terminate the exploited process**. When this option is no longer selected, exploited processes are not terminated when they are detected. 5. Click **Save**. ##### Notifying users about exploit prevention actions You can enable and disable the option to notify users when exploit prevention actions occur using the Web UI or the API. This section covers how to enable and disable exploit prevention actions for all host endpoints or select host endpoints. - [Enabling Exploit Prevention Notifications](/docs/enabling-and-disabling-exploit-prevention-1#UUID-e142d07b-dbb5-5af6-4297-492e8b736231) - [Disabling Exploit Prevention Notifications](/docs/enabling-and-disabling-exploit-prevention-1#UUID-d8d87558-3b61-ce50-3409-467aabfa7dde) When notification is enabled, a notification message appears when an exploit is blocked or a monitored application is terminated because of an exploit. ![ExGNotificationMsg.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-4255ed2c-09c3-609a-1629-5046e15af7c6(2).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A33Z&se=2026-11-22T13%3A52%3A33Z&sr=c&sp=r&sig=841s6wqmlzW8KajkUPItdDNk7z2kbpqqwU8kkcEno%2Fc%3D) ###### Enabling exploit prevention notifications To enable the option to notify users about exploit prevention actions for all host endpoints: 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 Policy** page. 4. Select the **Exploit Guard** tab. 5. Select **Notify the user on the host when an exploit has been blocked**. When this option is selected, users are notified when an exploit is blocked. ### 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. 6. Click **Save**. To enable the option to notify users about exploit prevention actions for selected host sets: ### Note [See Creating a Custom Policy](/docs/creating-a-custom-policy-1) 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** tab. 5. Select **Notify the user on the host when an exploit has been blocked**. When this option is selected, users are notified when an exploit is blocked. ### 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. 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-1) and [Configuring Policy Priority Using the Web UI](/docs/policy-prioritization-1) for more information. ###### Disabling exploit prevention notifications To disable the option to notify users about exploit prevention actions for all host endpoints: 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 Policy** page. 4. Select the **Exploit Guard** tab. 5. Clear **Notify the user on the host when an exploit has been blocked**. When this option is no longer selected, users are no longer notified when an exploit is blocked. 6. Click **Save**. To disable the option to notify users about exploit prevention actions for selected host sets: ### Note When you disable a setting in a custom policy, the setting is disabled for all host sets assigned to the policy. If you want select host sets to keep the original setting, you must create a new custom policy with the setting enabled and assign it to the selected host sets. [See Creating a Custom Policy](/docs/creating-a-custom-policy-1) 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** tab. 5. Clear **Notify the user on the host when an exploit has been blocked**. When this option is no longer selected, users are no longer notified when an exploit is blocked. 6. Click **Save**. :