Configure and validate Windows Defender Antivirus network connections
To ensure Windows Defender Antivirus cloud-delivered protection works properly, you need to configure your network to allow connections between your endpoints and certain Microsoft servers.
This article lists the connections that must be allowed, such as by using firewall rules, and provides instructions for validating your connection. Configuring your protection properly helps ensure that you receive the best value from your cloud-delivered protection services.
See the blog post Important changes to Microsoft Active Protection Services endpoint for some details about network connectivity.
You can also visit the Microsoft Defender ATP demo website at demo.wd.microsoft.com to confirm the following features are working:
- Cloud-delivered protection
- Fast learning (including block at first sight)
- Potentially unwanted application blocking
Allow connections to the Windows Defender Antivirus cloud service
The Windows Defender Antivirus cloud service provides fast, strong protection for your endpoints. Enabling the cloud-delivered protection service is optional, however it is highly recommended because it provides important protection against malware on your endpoints and across your network.
The Windows Defender Antivirus cloud service is a mechanism for delivering updated protection to your network and endpoints. Although it is called a cloud service, it is not simply protection for files stored in the cloud, rather it uses distributed resources and machine learning to deliver protection to your endpoints at a rate that is far faster than traditional Security intelligence updates.
See Enable cloud-delivered protection for details on enabling the service with Intune, System Center Configuration Manager, Group Policy, PowerShell cmdlets, or on individual clients in the Windows Security app.
After you've enabled the service, you may need to configure your network or firewall to allow connections between it and your endpoints.
Because your protection is a cloud service, computers must have access to the internet and reach the ATP machine learning services. Do not exclude the URL
*.blob.core.windows.net from any kind of network inspection. The table below lists the services and their associated URLs. Make sure that there are no firewall or network filtering rules denying access to these URLs, or you may need to create an allow rule specifically for them (excluding the URL
*.blob.core.windows.net). Below mention URLs are using port 443 for communication.
|Windows Defender Antivirus cloud-delivered protection service, also referred to as Microsoft Active Protection Service (MAPS)||Used by Windows Defender Antivirus to provide cloud-delivered protection||
|Microsoft Update Service (MU)||Security intelligence and product updates||
|Security intelligence updates Alternate Download Location (ADL)||Alternate location for Windows Defender Antivirus Security intelligence updates if the installed Security intelligence is out of date (7 or more days behind)||
|Malware submission storage||Upload location for files submitted to Microsoft via the Submission form or automatic sample submission||
|Certificate Revocation List (CRL)||Used by Windows when creating the SSL connection to MAPS for updating the CRL||
|Symbol Store||Used by Windows Defender Antivirus to restore certain critical files during remediation flows||
|Universal Telemetry Client||Used by Windows to send client diagnostic data; Windows Defender Antivirus uses this for product quality monitoring purposes||This update uses SSL (TCP Port 443) to download manifests and upload diagnostic data to Microsoft that uses the following DNS endpoints:
Validate connections between your network and the cloud
After whitelisting the URLs listed above, you can test if you are connected to the Windows Defender Antivirus cloud service and are correctly reporting and receiving information to ensure you are fully protected.
Use the cmdline tool to validate cloud-delivered protection:
Use the following argument with the Windows Defender Antivirus command-line utility (
mpcmdrun.exe) to verify that your network can communicate with the Windows Defender Antivirus cloud service:
"%ProgramFiles%\Windows Defender\MpCmdRun.exe" -ValidateMapsConnection
You need to open an administrator-level version of the command prompt. Right-click the item in the Start menu, click Run as administrator and click Yes at the permissions prompt. This command will only work on Windows 10, version 1703 or higher.
For more information, see Manage Windows Defender Antivirus with the mpcmdrun.exe commandline tool.
Attempt to download a fake malware file from Microsoft:
You can download a sample file that Windows Defender Antivirus will detect and block if you are properly connected to the cloud.
Download the file by visiting the following link:
This file is not an actual piece of malware. It is a fake file that is designed to test if you are properly connected to the cloud.
If you are properly connected, you will see a warning Windows Defender Antivirus notification:
If you are using Microsoft Edge, you'll also see a notification message:
A similar message occurs if you are using Internet Explorer:
You will also see a detection under Quarantined threats in the Scan history section in the Windows Security app:
Open the Windows Security app by clicking the shield icon in the task bar or searching the start menu for Defender.
Click the Virus & threat protection tile (or the shield icon on the left menu bar) and then the Scan history label:
Under the Quarantined threats section, click the See full history label to see the detected fake malware:
Versions of Windows 10 before version 1703 have a different user interface. See Windows Defender Antivirus in the Windows Security app.
The Windows event log will also show Windows Defender client event ID 2050.
You will not be able to use a proxy auto-config (.pac) file to test network connections to these URLs. You will need to verify your proxy servers and any network filtering tools manually to ensure connectivity.