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
Copy file name to clipboardExpand all lines: defender-endpoint/validate-antimalware.md
+12-22Lines changed: 12 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,47 +30,36 @@ ms.date: 04/18/2025
30
30
Scenario requirements and setup
31
31
32
32
- Windows 11, Windows 10, Windows 8.1, Windows 7 SP1
33
-
34
-
- Windows Server 2025, Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012, Windows Server 2008 R2
35
-
33
+
- Windows Server 2025, Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012, and Windows Server 2008 R2
36
34
- Linux
37
35
- macOS
38
36
-[Real-time protection](/defender-endpoint/configure-real-time-protection-microsoft-defender-antivirus) is enabled
39
37
40
38
## EICAR test file to simulate malware
41
39
42
-
After you enable Microsoft Defender for Endpoint, Microsoft Defender for Business, or Microsoft Defender Antivirus, you can test the service and run a proof of concept to familiarize yourself with the features. You can also generate real security alerts and validate the advanced security capabilities effectively protect your device.
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.
43
41
44
-
Run an antivirus detection test to verify a 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.
45
43
46
44
### Windows
47
45
48
-
1. Prepare for the EICAR test file:
49
-
50
-
- Use an EICAR test file instead of real malware to avoid causing damage
51
-
52
-
- Microsoft Defender Antivirus treats EICAR test files as malware
53
-
54
-
- You will create the test file in the next step
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.
55
47
56
-
1. Create the EICAR test file:
48
+
2. Create the EICAR test file by following these steps:
57
49
58
-
a. Copy the following string: `X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*`
50
+
1. Copy the following string: `X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*`.
59
51
60
-
b. Paste the string into a .TXT file and save it as EICAR.txt
61
-
62
-
c. Verify the test file is immediately quarantined by Defender
63
-
52
+
2. Paste the string into a `.TXT` file and save it as `EICAR.txt`.
64
53
65
-
### Linux and macOS
54
+
### Linux/macOS
66
55
67
-
1.Verify that real-time protection is enabled. Run the following command and confirm the output is `"true"`:
56
+
1.Ensure that real-time protection is enabled. Run the following command and confirm the output is `"true"`:
68
57
69
58
```
70
59
mdatp health --field real_time_protection_enabled
71
60
```
72
61
73
-
2. Run one of the following commands to download the EICAR test file:
62
+
2. Download the EICAR test file. Open a Terminal window and execute the appropriate command for your operating system:
74
63
75
64
Linux:
76
65
@@ -84,8 +73,9 @@ Run an antivirus detection test to verify a device is properly onboarded and rep
0 commit comments