You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #3517 from joshgingras/docs-editor/validate-antimalware-1744984849
Fixed multiple issues -- real_time_protection_enabled return value, Linux command line, bad assumption about existence of ~/tmp directory, numbering issue
title: AV detection test for verifying device's onboarding and reporting services
3
-
description: AV detection test to verify the device's proper onboarding and reporting to the service.
2
+
title: Antivirus detection test for verifying device's onboarding and reporting services
3
+
description: Run an antivirus detection test to verify the device's proper onboarding and reporting to the service.
4
4
ms.service: defender-endpoint
5
5
ms.subservice: reference
6
6
ms.author: ewalsh
@@ -15,10 +15,10 @@ ms.collection:
15
15
ms.custom: admindeeplinkDEFENDER
16
16
ms.topic: conceptual
17
17
search.appverid: met150
18
-
ms.date: 03/04/2025
18
+
ms.date: 04/18/2025
19
19
---
20
20
21
-
# AV detection test for verifying device's onboarding and reporting services
21
+
# Antivirus detection test for verifying device's onboarding and reporting services
22
22
23
23
**Applies to:**
24
24
@@ -30,60 +30,58 @@ ms.date: 03/04/2025
30
30
Scenario requirements and setup
31
31
32
32
- Windows 11, Windows 10, Windows 8.1, Windows 7 SP1
33
-
34
33
- Windows Server 2025, Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012, and Windows Server 2008 R2
35
-
36
34
- Linux
37
-
38
35
- macOS
39
-
40
-
- Microsoft Defender Real-time protection is enabled
36
+
-[Real-time protection](/defender-endpoint/configure-real-time-protection-microsoft-defender-antivirus) is enabled
41
37
42
38
## EICAR test file to simulate malware
43
39
44
-
After you enable Microsoft Defender for Endpoint or Microsoft Defender for Business or Microsoft Defender Antivirus, you can test the service and run a proof of concept to familiarize yourself with its feature and validate the advanced security capabilities effectively protect your device by generating real security alerts.
40
+
After you enable Defender for Endpoint, Microsoft Defender for Business, or Microsoft Defender Antivirus, you can test the service by using an EICAR test file. Running a proof of concept like this can help you get familiar with the features, and validate the advanced security capabilities that protect your device by generating real security alerts.
45
41
46
-
Run an AV detection test to verify that the device is properly onboarded and reporting to the service. Perform the following steps on the newly onboarded device:
42
+
You can run an antivirus detection test to verify that the device is properly onboarded and reporting to the service.
47
43
48
44
### Windows
49
45
50
-
1. Prepare for the EICAR test file:
51
-
52
-
1. Use an EICAR test file instead of real malware to avoid causing damage. Microsoft Defender Antivirus treats EICAR test files as malware.
53
-
54
-
1. Create the EICAR test file:
55
-
56
-
1. Copy the following string: `X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*`
57
-
58
-
1. Paste the string into a .TXT file and save it as EICAR.txt
46
+
1. Prepare for the EICAR test file. Use an EICAR test file instead of real malware to avoid causing damage. Microsoft Defender Antivirus treats EICAR test files as malware.
47
+
48
+
2. Create the EICAR test file by following these steps:
59
49
50
+
1. Copy the following string: `X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*`.
51
+
52
+
2. Paste the string into a `.TXT` file and save it as `EICAR.txt`.
53
+
60
54
### Linux/macOS
61
55
62
-
1. Ensure that real-time protection is enabled (denoted by a result of 1 from running the following command):
63
-
64
-
```bash
65
-
mdatp health --field real_time_protection_enabled
66
-
```
67
-
68
-
1. Open a Terminal window. Copy and execute the following command:
69
-
70
-
71
-
Linux
56
+
1. Ensure that real-time protection is enabled. Run the following command and confirm the output is `"true"`:
0 commit comments