--- title: "Defining the Malware Protection exclusion policy" slug: "defining-the-malware-protection-exclusion-policy-1" updated: 2026-09-08T19:19:55Z published: 2026-09-08T19:19:55Z canonical: "docs.trellix.com/defining-the-malware-protection-exclusion-policy-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. # Defining the Malware Protection exclusion policy [Skip to main content](/docs/defining-the-malware-protection-exclusion-policy-1#content-wrapper) You may need to exclude specific files and folders, processes, and MD5 hashes from Malware Protection processing on all of your host endpoints or selected host sets. Use the Web UI or the API to define the following Malware Protection exclusions: - Select host sets to which the exception policy applies. See [Assigning Host Sets to Agent Policies](/docs/assigning-host-sets-to-xagent-policies-1). - Exclude specific processes from malware protection processing for all host endpoints or selected host sets. See [Adding Process Exclusions to Malware Protection Processing](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-afeebb7a-99cd-9940-41b8-1e25cf65cb98). - Exclude specific files and folders from malware protection processing for all host endpoints or selected host sets. See [Adding Files and Folders Exclusions to Malware Protection Processing](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-44bcfe42-a85c-65ce-7b3f-d9980b78cfe2). - Exclude specific MD5 hashes from malware protection processing for all host endpoints or selected host sets. See [Adding MD5 Hash Exclusions to Malware Protection Processing](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-a0ab5b2d-ab92-3b3e-0e73-76312a394a55). ### Important Malware protection exclusions are supported for host endpoints running in specific Windows environments only. Malware protection exclusions are not supported for host endpoints running Windows 2003, XP, or Vista or Windows xAgent versions 23 or earlier. Excluding host sets, processes, files and folders, or MD5 hashes from malware protection processing is not recommended because it restricts the items that malware protection scans. Malware protection process, file and folder, or MD5 hash exclusions defined in the xAgent default policy do not apply to host sets assigned to a custom policy, if the custom policy defines different malware protection policy settings. To exclude processes and files and folders for third-party antivirus software installed on your host endpoints, you must define these exclusions for all policies that include a malware protection policy. Prerequisites - Admin access when using the Web UI - Endpoint Security (HX) xAgent version 22 or later installed on your Windows endpoint. If an agent for an earlier release is included in a host set that is managed by a policy, the policy is ignored for that agent. This section covers the following topics: - [Malware Protection Exclusion Guidelines](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-f0d0efad-2b44-9a69-b8ab-77c270d338dd) - [Adding Process Exclusions to Malware Protection Processing](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-afeebb7a-99cd-9940-41b8-1e25cf65cb98) - [Removing Process Exclusions from Malware Protection Processing](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-0a54e49a-8250-391a-7518-07e604ded7f1) - [Adding Files and Folders Exclusions to Malware Protection Processing](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-44bcfe42-a85c-65ce-7b3f-d9980b78cfe2) - [Removing Files and Folder Exclusions from Malware Protection Processing](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-199d2fa7-06fe-ea3f-feb0-eb4b4b90bab2) - [Adding MD5 Hash Exclusions to Malware Protection Processing](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-a0ab5b2d-ab92-3b3e-0e73-76312a394a55) - [Removing MD5 Hash Exclusions from Malware Protection Processing](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-9e210e6a-cf2d-2948-7894-59963c7015e6) ##### Malware Protection Exclusion Guidelines Follow these guidelines when adding files and folders, processes, and MD5 hashes to the Malware Protection exclusion list: - There are three possible values that you can exclude from Malware Protection processing: excludedProcesses, excludedFiles, and excludedMD5s. | Exclusion Value | Description | | --- | --- | | excludedProcesses | This value completely excludes the full path to the binary executable file (.exe) from Malware Protection scanning. | | excludedFile | This value excludes specific files or folders from Malware Protection scanning. ### Important Excluded paths that end with a separator--(\) in Windows devices and (/) in macOS--devices are treated as a folder and all files and subdirectories are excluded. For more information on how to format these exclusions see the [community article](https://community.fireeye.com/s/article/000002772) on this topic. | | excludedMD5 | This value excludes MD5 hashes from Malware Protection scanning. MD5 hashes should be listed as a sequence of 32 hexadecimal digits. ### Important The Endpoint Security (HX) server does not validate the MD5 hash entries included in your Malware Protection exclusion list. You must confirm your MD5 hash exclusions are represented by 32 hexadecimal digits. | - Wildcard characters (`*`) and (`?`) are supported in file and folder paths excludedFile only. only: - Asterisk (*)—An asterisk will match one or more characters. If the asterisk is at the end of a path, the excluded path will include all sub-directories. - Question mark (?)—A question mark will match a single character. User-specific environment variables are not supported. The following table lists examples for excluding files and folders from Malware Protection processing. Reference these examples when adding file and folder excludedFile paths to your Malware Protection exclusion list. | Exclusion Method | Exclusion Example | | --- | --- | | Exclude a specific file name. | `myfile` | | Exclude a specific file name located in a specific directory. | `C:\Users\Admin\Documents\myfile.txt` | | Exclude all files with a specific extension in all directories. | `*.TXT` | | Exclude all files and sub directories in a specific directory. | `C:\Users\Admin\Documents\` or `C:\Users\Admin\Documents\*` Both paths are equivalent. | | Exclude all files and sub-directories in a specific directory for all users directories. | `C:\Users\*\Documents\*` | | Exclude all files with a specific extension located in a specific directory for all users directories. | `C:\Users\*\Documents\*.doc` | | Exclude all files in a specific directory for all users directories. | `C:\Users\*\Documents\*.*` | | Exclude a specific file in all users directories that start with a name. | `C:\Users\Name*\Documents\file.txt` | | Exclude a specific file in all users directories that start with a name followed by a single character. | `C:\Users\Name?\Documents\file.txt` | ##### Adding process exclusions to malware protection processing You can exclude a list of processes from malware protection for all of your host endpoints or for select host sets in your environment. Modify the to include a list of processes you want to exclude from malware protection for all of your host endpoints. Use a custom policy to exclude a list of processes from malware protection for select host sets in your environment. ### Important Malware protection process exclusions are supported on hosts using Trellix Endpoint Security (HX) xAgent version 24 or later only. Excluding processes from malware protection processing is not recommended because it restricts the processes that malware protection scans. This section covers how to use the Web UI to modify the to add or remove process exclusions from malware protection processing. See the Trellix Endpoint Security (HX) REST API Guide for more information about adding and removing process exclusions from malware protection processing. - [Adding Process Exclusions to All Host Endpoints](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-c5986dc7-ddd1-fe64-f0c6-c00735e2a314) - [Adding Process Exclusions to Selected Host Sets](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-21588d8d-414f-7201-6bf7-09a676e34958) ###### Adding Process Exclusions to All Host Endpoints ###### To add process exclusions to malware protection processing for all host endpoints: ### Note Excluding processes from malware protection processing is not recommended because it restricts the processes that malware protection scans. 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 **Policy Exclusions** section, specify the process you want to exclude from malware protection processing by entering the full process path or a wildcard followed by the process name in the field under the **Exclude processes from malware scanning**. For example, adding `C:\Windows\Folder\executable.exe` or `*\executable.exe` to the process exclusion list will exclude the ` executable.exe` application from malware protection processing. ![Malware_Protection_Exclusions_Process.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-c3b13240-14b3-e0b0-1276-e8eda422b406(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A03%3A19Z&se=2026-11-22T14%3A03%3A19Z&sr=c&sp=r&sig=RnZOQ9adPrEqR00yVZbE48tvh1f7NwLHAOGs0iKkTK8%3D) 6. Click **Add** to add the process to the list. 7. Repeat Steps 5 and 6 until you have added all the processes you want to the list. 8. Click **Save**. ###### Adding Process Exclusions to Selected Host Sets To add process exclusions to malware protection processing 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. ### Caution Trellix does not recommend adding a global wildcard variable to the process exclusion list because it can reduce security. 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 **Policy Exclusions** section, specify the process you want to exclude from malware protection processing by entering the full process path or a wildcard followed by the process name in the field under the **Exclude processes from malware scanning**. For example, adding `C:\Windows\Folder\executable.exe` or `*\executable.exe` to the process exclusion list will exclude the ` executable.exe` application from malware protection processing. ![Malware_Protection_Exclusions_Process.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-c3b13240-14b3-e0b0-1276-e8eda422b406(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A03%3A19Z&se=2026-11-22T14%3A03%3A19Z&sr=c&sp=r&sig=RnZOQ9adPrEqR00yVZbE48tvh1f7NwLHAOGs0iKkTK8%3D) 6. Click **Add** to add the process to the list. 7. Repeat Steps 5 and 6 until you have added all the processes you want to the list. 8. 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. ##### Removing Process Exclusions from Malware Protection Processing You can remove process exclusions from a malware protection policy assigned to all of your host endpoints or selected host sets using the Web UI or the API. This section covers the steps for removing process exclusions from a malware protection policy using the Web UI. See the *Endpoint Security (HX) REST API Guide* for information on using the API to manage your malware protection process exclusions. - [Removing Process Exclusions for All Host Endpoints](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-5ac497f4-1315-611d-569a-77042e97ddf6) - [Removing Process Exclusions from Selected Host Sets](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-051bf8b6-c6a7-da57-effc-f035b64332c4) ###### Removing Process Exclusions for All Host Endpoints ###### To remove process exclusions from malware protection processing 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 **Policy Exclusions** section, select the process you want to remove from the list below the **Exclude processes from malware scanning** option. 6. Click the ![Policy_MalProtect_Delete_Icon.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-9626277d-76da-3e46-7af2-51162e685a56(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A03%3A19Z&se=2026-11-22T14%3A03%3A19Z&sr=c&sp=r&sig=RnZOQ9adPrEqR00yVZbE48tvh1f7NwLHAOGs0iKkTK8%3D) icon next to the process you want to remove from the list. 7. Repeat Steps 5 and 6 until you have removed all the processes you want to delete from the list. 8. Click **Save**. ###### Removing Process Exclusions from Selected Host Sets To remove process exclusions from malware protection processing 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 **Malware Protection** tab. 5. In the **Policy Exclusions** section, select the process you want to remove from the list below the **Exclude processes from malware scanning** option. 6. Click the ![Policy_MalProtect_Delete_Icon.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-9626277d-76da-3e46-7af2-51162e685a56(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A03%3A19Z&se=2026-11-22T14%3A03%3A19Z&sr=c&sp=r&sig=RnZOQ9adPrEqR00yVZbE48tvh1f7NwLHAOGs0iKkTK8%3D) icon next to the process you want to remove from the list. 7. Repeat Steps 5 and 6 until you have removed all the processes you want to delete from the list. 8. Click **Save**. ##### Adding files and folders exclusions to malware protection processing You can use the Web UI or the API to add a list of file and folder exclusions to malware protection processing Modify the to add a list of file and folder exclusions for all of your host endpoints. Modify your custom policies to add a list of file and folder exclusions for select host sets in your environment. ### Important File and folder exclusions are supported on hosts using Endpoint Security (HX) xAgent version 24 or later only. Excluding files or folders from malware protection processing is not recommended because it restricts the files and folders that malware scans. Follow these guidelines when adding file or folder paths to the Malware Protection exclusion list: - Wildcard characters (`*`) and (`?`) are supported in file and folder paths: - Asterisk (*)—An asterisk will match one or more characters. If the asterisk is at the end of a path, the excluded path will include all sub-directories. If the excluded path includes an asterisk (*) and you want to include all sub directories, you must also include an asterisk (*) at the end of the path. - Question mark (?)—A question mark will match a single character. Excluded paths that end with a separator (\) are treated as a folder and all files and sub directories are excluded. Environment variables are not supported. ### Important System environment variables are not supported. User-specific environment variables (those that include the user name in their expanded path), such as %APPDATA% or %USERPROFILE%, are not supported. You cannot specify which user the environment variable applies to, so it may expand to a value that is not necessarily the user logged onto the host endpoint. The following table lists examples for excluding files and folders from Malware Protection processing. Reference these examples when adding file and folder excludedFile paths to your Malware Protection exclusion list. | Exclusion Method | Exclusion Example | | --- | --- | | Exclude a specific file name. | `myfile` | | Exclude a specific file name located in a specific directory. | `C:\Users\Admin\Documents\myfile.txt` | | Exclude all files with a specific extension in all directories. | `*.TXT` | | Exclude all files in a specific directory. | `C:\Users\Admin\Documents` | | Exclude all files and sub directories in a specific directory. | `C:\Users\Admin\Documents\` or `C:\Users\Admin\Documents\*` Both paths are equivalent. | | Exclude all files and sub-directories in a specific directory for all users directories. | `C:\Users\*\Documents\*` | | Exclude all files with a specific extension located in a specific directory for all users directories. | `C:\Users\*\Documents\*.doc` | | Exclude all files in a specific directory for all users directories. | `C:\Users\*\Documents\*.*` | | Exclude a specific file in all users directories that start with a specific directory name. | `C:\Users\Name*\Documents\file.txt` | | Exclude a specific file in all users directories that start with a specific directory name followed by a single character. | `C:\Users\Name?\Documents\file.txt` | This section covers how to use the Web UI to modify the to add or remove file and folder exclusions from malware protection processing. - [Adding File and Folder Exclusions for All Endpoints](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-9d55cbb9-4cf1-cc9b-fc32-997d1edd29b6) - [Adding File and Folder Exclusions for Selected Host Sets](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-485a2025-83e3-2400-77ea-012e7a964ca8) ###### Adding File and Folder Exclusions for All Endpoints ###### To add file and folder exclusions to malware protection processing 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 **Policy Exclusions** section, specify the file path for the file or folder you want to exclude from malware protection processing in the field under the **Exclude files or folders from malware scanning**. 6. Click **Add** to add the files and folders to the list. 7. Repeat Steps 5 and 6 until you have added all the files and folders you want to the list. 8. Click **Save**. ###### Adding File and Folder Exclusions for Selected Host Sets To add file and folder exclusions to malware protection processing 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 **Malware Protection** tab. 5. In the **Policy Exclusions** section, specify the file path for the file or folder you want to exclude from malware protection processing in the field under the **Exclude files or folders from malware scanning**. 6. Click **Add** to add the files and folders to the list. 7. Repeat Steps 5 and 6 until you have added all the files and folders you want to the list. 8. 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. ##### Removing Files and Folder Exclusions from Malware Protection Processing You can remove file and folder exclusions from a malware protection policy assigned to all of your host endpoints or selected host sets using the Web UI or the API. This section covers the steps for removing file and folder exclusions from a malware protection policy using the Web UI. See the *Endpoint Security (HX) REST API Guide* for information on using the API to manage your malware protection process exclusions. - [Removing File and Folder Exclusions for All Endpoints](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-5af807b4-35f2-b1e6-7f9f-7ca727bffe64) - [Removing File and Folder Exclusions for Selected Host Sets](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-445e91d2-00f4-2ff1-8447-a7fb3dbc08c7) ###### Removing File and Folder Exclusions for All Endpoints ###### To remove files and folders exclusions from malware protection processing 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 **Policy Exclusions** section, locate the file or folder you want to remove from the list below the **Exclude files and folders from malware scanning** option. 6. Click the ![Policy_MalProtect_Delete_Icon.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-9626277d-76da-3e46-7af2-51162e685a56(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A03%3A19Z&se=2026-11-22T14%3A03%3A19Z&sr=c&sp=r&sig=RnZOQ9adPrEqR00yVZbE48tvh1f7NwLHAOGs0iKkTK8%3D) icon next to the file or folder to remove it from the list. 7. Repeat Step 5 until you have removed all the files or folders you want from the list. 8. Click **Save**. ###### Removing File and Folder Exclusions for Selected Host Sets To remove files and folders exclusions from malware protection processing 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 **Malware Protection** tab. 5. In the **Policy Exclusions** section, locate the file or folder you want to remove from the list below the **Exclude files and folders from malware scanning** option. 6. Click the ![Policy_MalProtect_Delete_Icon.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-9626277d-76da-3e46-7af2-51162e685a56(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A03%3A19Z&se=2026-11-22T14%3A03%3A19Z&sr=c&sp=r&sig=RnZOQ9adPrEqR00yVZbE48tvh1f7NwLHAOGs0iKkTK8%3D) icon next to the file or folder to remove it from the list. 7. Repeat Step 5 until you have removed all the files or folders you want from the list. 8. Click **Save**. ##### Adding MD5 hash exclusions to malware protection processing You can add a list of MD5 hashes you wan to exclude from malware protection processing for all of your host endpoints or select host sets in your environment using the Web UI or the API. MD5 hash exclusion is only supported on hosts using Trellix Endpoint Security (HX) xAgent version 24 or later. This section covers the steps for adding MD5 hash exclusions from a malware protection policy using the Web UI. See the *Endpoint Security (HX) REST API Guide* for information on using the API to manage your malware protection process exclusions. - [Adding MD5 Hash Exclusions for All Host Endpoints](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-55976074-8a8b-3152-3deb-c4f83b9cdbad) - [Adding MD5 Hash Exclusions for Selected Host Sets](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-1d8ed111-458a-32f4-b99a-ad343900883a) ### Important Excluding MD5 hashes from malware protection processing is not recommended because it restricts the hashes that malware protection scans. ###### Adding MD5 Hash Exclusions for All Host Endpoints MD5 hash exclusions are excluded from malware protection processing (both malware detection and prevention) for host set assigned to the or the custom policy that includes an MD5 hash exclusion list. ### Important The Endpoint Security (HX) server does not validate the MD5 hash entries included in your Malware Protection exclusion list. You must confirm your MD5 hash exclusions are represented by 32 hexadecimal digits. To add MD5 hash exclusions to malware protection 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 **Policy Exclusions** section, specify the MD5 hash you want to exclude from malware protection processing in the field under the **Exclude hashes from malware scanning**. ![Malware_Protection_Exclusions_Hash.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-b3754e11-7967-2c0f-1560-0df89d645a3f(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A03%3A19Z&se=2026-11-22T14%3A03%3A19Z&sr=c&sp=r&sig=RnZOQ9adPrEqR00yVZbE48tvh1f7NwLHAOGs0iKkTK8%3D) 6. Click **Add** to add the MD5 hash to the list. 7. Repeat Steps 5 and 6 until you have added all of the MD5 hash exclusions you want to the list. 8. Click **Save**. ###### Adding MD5 Hash Exclusions for Selected Host Sets To add MD5 hash exclusions to malware protection processing 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. ### Important The Endpoint Security (HX) server does not validate the MD5 hash entries included in your Malware Protection exclusion list. You must confirm your MD5 hash exclusions are represented by 32 hexadecimal digits. 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 the custom policy you want to modify. 4. Select the **Malware Protection** tab. 5. In the **Policy Exclusions** section, specify the MD5 hash you want to exclude from malware protection processing in the field under the **Exclude hashes from malware scanning**. ![Malware_Protection_Exclusions_Hash.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-b3754e11-7967-2c0f-1560-0df89d645a3f(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A03%3A19Z&se=2026-11-22T14%3A03%3A19Z&sr=c&sp=r&sig=RnZOQ9adPrEqR00yVZbE48tvh1f7NwLHAOGs0iKkTK8%3D) 6. Click **Add** to add the MD5 hash to the list. 7. Repeat Steps 5 and 6 until you have added all of the MD5 hash exclusions you want to the list. 8. 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. ##### Removing MD5 Hash Exclusions from Malware Protection Processing You can remove MD5 hash exclusions from a malware protection policy assigned to all of your host endpoints or selected host sets using the Web UI or the API. This section covers the steps for removing MD5 hash exclusions from a malware protection policy using the Web UI. See the *Endpoint Security (HX) REST API Guide* for information on using the API to manage your malware protection process exclusions. - [Removing MD5 Hash Exclusions from All Host Endpoints](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-7cf63e7e-9082-aa0d-be0c-a69bcf76f096) - [Removing MD5 Hash Exclusions from Selected Host](/docs/defining-the-malware-protection-exclusion-policy-1#UUID-3d03ca2a-1490-b114-02ee-4088391c91fe) ###### Removing MD5 Hash Exclusions from All Host Endpoints ###### To remove MD5 hash exclusions from malware detection processing for all host endpoints: ### Note Excluding MD5 hashes from malware protection processing is not recommended because it restricts the hashes that malware protection scans. 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 **Policy Exclusions** section, locate the MD5 hash you want to remove from the list below the **Exclude hashes from malware scanning** option. 6. Click the ![Policy_MalProtect_Delete_Icon.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-9626277d-76da-3e46-7af2-51162e685a56(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A03%3A19Z&se=2026-11-22T14%3A03%3A19Z&sr=c&sp=r&sig=RnZOQ9adPrEqR00yVZbE48tvh1f7NwLHAOGs0iKkTK8%3D) icon next to the MD5 hash you want to remove it from the list. 7. Repeat Step 5 until you have removed all of the MD5 hash exclusions you want from the list. 8. Click **Save**. ###### Removing MD5 Hash Exclusions from Selected Host To remove MD5 hashes exclusions from malware protection 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 **Malware Protection** tab. 5. In the **Policy Exclusions** section, locate the MD5 hash you want to remove from the list below the **Exclude hashes from malware scanning** option. 6. Click the ![Policy_MalProtect_Delete_Icon.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-9626277d-76da-3e46-7af2-51162e685a56(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A03%3A19Z&se=2026-11-22T14%3A03%3A19Z&sr=c&sp=r&sig=RnZOQ9adPrEqR00yVZbE48tvh1f7NwLHAOGs0iKkTK8%3D) icon next to the MD5 hash to remove it from the list. 7. Repeat Step 5 until you have removed all the MD5 hash exclusions you want from the list. 8. Click **Save**. :