Remove AV Exclusions for Microsoft’s Exchange

February 27, 2023

Remove AV Exclusions for Microsoft’s Exchange

According to Microsoft’s Exchange Team, it is recommended to remove specific folders and processes exclusions from the file-level Antivirus (AV) scanner.

The Issue:

Keeping the exclusions may prevent detections of Internet Information Services (IIS) webshells and backdoor modules. Threat actors might exploit malicious IIS web server extensions and modules to backdoor unpatched Microsoft Exchange servers.

Products:

Microsoft Exchange Server: All Products.

  • Exchange Server 2019

Removing these processes and folders doesn’t affect performance or stability when using Microsoft Defender on Exchange Server 2019 running the latest Exchange Server updates.

  • Exchange Server 2016 & Exchange Server 2013

It is safe to remove these exclusions from servers running Exchange Server 2016 and Exchange Server 2013, but they should be monitored due to the fact that additional mitigation might be required.

Mitigation:

CYREBRO recommends removing the following folders and processes exclusions from the file-level Antivirus (AV) scanner.

In case the below processes and folders are not excluded, there is no need to make any changes.

Folders:

  1. %SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files
  2. %SystemRoot%\System32\Inetsrv

Processes:

  1. %SystemRoot%\System32\WindowsPowerShell\v1.0\PowerShell.exe
  2. %SystemRoot%\System32\inetsrv\w3wp.exe

Additional Recommendations

References: Microsoft Exchange Team

Sign Up for Updates