File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -50,38 +50,38 @@ Run an AV detection test to verify that the device is properly onboarded and rep
50
50
1 . Prepare for the EICAR test file:
51
51
52
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
-
53
+
54
54
1 . Create the EICAR test file:
55
55
56
56
1 . Copy the following string: ` X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* `
57
-
57
+
58
58
1 . Paste the string into a .TXT file and save it as EICAR.txt
59
-
59
+
60
60
### Linux/macOS
61
61
62
- 1 . Ensure that real-time protection is enabled (denoted by a result of "true" from running the following command) :
62
+ 1 . Ensure that real-time protection is enabled. Run the following command and confirm the output is ` "true" ` :
63
63
64
- ``` bash
64
+ ```
65
65
mdatp health --field real_time_protection_enabled
66
66
```
67
67
68
- 2. Open a Terminal window. Copy and execute the following command:
69
-
70
-
71
- Linux
68
+ 2. Download the EICAR test file. Open a Terminal window and execute the appropriate command for your operating system:
72
69
73
- ` ` ` bash
74
- ` ` ` bash
75
- curl -o eicar.com.txt https://secure.eicar.org/eicar.com.txt
76
- ```
77
- ``` macOS
70
+ Linux:
71
+
72
+ ```
73
+ curl -o eicar.com.txt https://secure.eicar.org/eicar.com.txt
74
+ ```
75
+
76
+ macOS:
77
+
78
+ ```
79
+ curl -o ~/Downloads/eicar.com.txt https://secure.eicar.org/eicar.com.txt
80
+ ```
78
81
79
- ```
80
- ``` bash
81
- curl -o ~ /Downloads/eicar.com.txt https://secure.eicar.org/eicar.com.txt
82
- ```
83
- ``` 3. Execute the following command and verify the file has been quarantined by Defender for Endpoint. The command will list all detected threats:
82
+ 3. Verify that the file has been quarantined by Defender for Endpoint.** Run the following command to list all detected threats:
84
83
85
- ```bash
84
+ ```
86
85
mdatp threat list
87
86
```
87
+
You can’t perform that action at this time.
0 commit comments