--- title: "Enabling and disabling malware detection" slug: "enabling-and-disabling-malware-detection-1" updated: 2026-09-08T19:19:55Z published: 2026-09-08T19:19:55Z canonical: "docs.trellix.com/enabling-and-disabling-malware-detection-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 malware detection [Skip to main content](/docs/enabling-and-disabling-malware-detection-1#content-wrapper) You can enable and disable malware detection for all of your host sets using the xAgent default policy or for specific host sets in your environment using a custom policy. When malware detection is disabled, other malware protection policy settings are ignored. MalwareGuard is not disabled when malware detection is disabled. Endpoint Security (HX) xAgent can run the MalwareGuard Engine independently of the Malware Protection Engine. When MalwareGuard only is turned on, any action on the Endpoint gets Malware scanning without depending on Anti-Virus protection. If both the MalwareGuard Engine and Malware Protection Engine are turned on, the Malware Protection Engine runs first. When you enable malware detection, the latest malware definitions, which include protection indicators, are automatically downloaded to your agents. ### Important By default, the initial download of the malware definitions can take up to four hours to complete. Malware detection will not start until the malware definitions have been downloaded. ![note.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-2ccc6dc6-5454-ef4b-5515-b621d3164bc3(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A24%3A30Z&se=2026-11-22T14%3A24%3A30Z&sr=c&sp=r&sig=eNA%2FVlRxTnLKVHHJnkF7Skmj1sYz3GIbraCUWbARk%2Bo%3D) Trellix Endpoint Security (HX) xAgent version 26 and later supports malware scanning on all files (up to 2GB in size) on your host endpoints. If you do not see any malware detected on your host endpoints, verify that any third-party antivirus software you have installed on your host endpoints is not preventing the Trellix Endpoint Security (HX) xAgent from functioning. See [Excluding Agent Files in Your Antivirus Software](/docs/before-you-install-or-upgrade-the-xagent-software-1). This section covers how to use the Web UI to enable and disable malware detection. See the *Endpoint Security (HX) REST API Guide* for information on using the API to manage your malware protection policies. - [Enabling Malware Detection](/docs/enabling-and-disabling-malware-detection-1#UUID-92d9db7b-e54b-1f2b-5205-b2d1425d8b91) - [Enabling MalwareGuard](/docs/enabling-and-disabling-malwareguard-1) - [Disabling Malware Detection](/docs/enabling-and-disabling-malware-detection-1#UUID-52a20e2e-0951-282a-f047-9e973eb04088) - [Disabling MalwareGuard](/docs/enabling-and-disabling-malwareguard-1) ##### Enabling Malware Detection for All Host Endpoints To enable malware detection 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 Policy** page. 4. Select the **Malware Protection** tab. 5. In the Malware Detection section, toggle the **Signature and Heuristic Detection** ON/OFF switch to **ON**. ![Policy_MalDetect_SH_Enable.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-c65ed351-0e66-22ad-52fb-330b4b989a0d(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A24%3A30Z&se=2026-11-22T14%3A24%3A30Z&sr=c&sp=r&sig=eNA%2FVlRxTnLKVHHJnkF7Skmj1sYz3GIbraCUWbARk%2Bo%3D) 6. Click **Save**. ##### Enabling Malware Detection for Selected Host Sets To enable malware detection for selected host sets: ### Note [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 **Malware Protection** tab. 5. In the Malware Detection section, toggle the **Signature and Heuristic Detection** ON/OFF switch to **ON**. ![Policy_MalDetect_SH_Enable.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-c65ed351-0e66-22ad-52fb-330b4b989a0d(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A24%3A30Z&se=2026-11-22T14%3A24%3A30Z&sr=c&sp=r&sig=eNA%2FVlRxTnLKVHHJnkF7Skmj1sYz3GIbraCUWbARk%2Bo%3D) 6. For Windows host sets, select the **Cloud Lookup** option if you want to enable cloud lookup. 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 Malware Detection for Selected Host Sets To disable malware detection for selected host sets. ### Note [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 **Malware Protection** tab. 5. In the Malware Detection section, toggle the **Signature and Heuristic Detection** ON/OFF switch to **OFF**. ![Policy_MalProtect_Disable.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-f7951cb0-88dd-d916-4a3e-f7ec88d19d9d(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A24%3A30Z&se=2026-11-22T14%3A24%3A30Z&sr=c&sp=r&sig=eNA%2FVlRxTnLKVHHJnkF7Skmj1sYz3GIbraCUWbARk%2Bo%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 Malware Detection for All Host Endpoints To disable malware detection 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 go to the **Edit Policy** page. 4. Select the **Malware Protection** tab. 5. In the Malware Detection section, toggle the **Signature and Heuristic Detection** ON/OFF switch to **OFF**. ![Policy_MalProtect_Disable.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-f7951cb0-88dd-d916-4a3e-f7ec88d19d9d(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A24%3A30Z&se=2026-11-22T14%3A24%3A30Z&sr=c&sp=r&sig=eNA%2FVlRxTnLKVHHJnkF7Skmj1sYz3GIbraCUWbARk%2Bo%3D) 6. Click **Save**. :