Skip to content

Commit 5ddec90

Browse files
committed
Update validate-antimalware.md
1 parent de862be commit 5ddec90

File tree

1 file changed

+12
-22
lines changed

1 file changed

+12
-22
lines changed

defender-endpoint/validate-antimalware.md

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -30,47 +30,36 @@ ms.date: 04/18/2025
3030
Scenario requirements and setup
3131

3232
- 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
3634
- Linux
3735
- macOS
3836
- [Real-time protection](/defender-endpoint/configure-real-time-protection-microsoft-defender-antivirus) is enabled
3937

4038
## EICAR test file to simulate malware
4139

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.
4341

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.
4543

4644
### Windows
4745

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.
5547

56-
1. Create the EICAR test file:
48+
2. Create the EICAR test file by following these steps:
5749

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*`.
5951

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`.
6453

65-
### Linux and macOS
54+
### Linux/macOS
6655

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"`:
6857

6958
```
7059
mdatp health --field real_time_protection_enabled
7160
```
7261
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:
7463
7564
Linux:
7665
@@ -84,8 +73,9 @@ Run an antivirus detection test to verify a device is properly onboarded and rep
8473
curl -o ~/Downloads/eicar.com.txt https://secure.eicar.org/eicar.com.txt
8574
```
8675
87-
3. Run the following command to list all detected threats and verify the test file has been quarantined by Defender for Endpoint:
76+
3. Verify that the file has been quarantined by Defender for Endpoint.** Run the following command to list all detected threats:
8877
8978
```
9079
mdatp threat list
9180
```
81+

0 commit comments

Comments
 (0)