This guide applies to Mac computers and Windows devices
About Malware Detection Testing
The EICAR (European Institute for Computer Anti-Virus Research) test file provides a safe, standardized way to validate that Iru Endpoint EDR is deployed correctly. The EICAR test file is non-malicious and designed to trigger anti-malware systems without posing a security risk. For more information, visit EICAR’s Anti-Malware Test File page.How It Works
Malware detection testing using the EICAR test file validates that Iru Endpoint EDR is functioning correctly on enrolled devices. The test file triggers file-based detection in both Detect and Protect posture modes, allowing you to confirm reporting and quarantine behavior.Prerequisites
- EDR Library Item deployment: Confirm the EDR Library Item has been applied to the device. A green dot should appear next to the EDR Library Item in the Status tab of the Device Record.
- macOS
- Windows
Create the EICAR Test File
Option 1: Download Using Terminal
Option 2: Manually Build the EICAR Test File
Create Text File
Create a new empty text file using a text editor such as VS Code or Sublime Text.
You can also use TextEdit, but you will need to set it to use plain text format. Choose Format > Make Plain Text, or press Shift-Command-T, so the file stays plain text before you add the EICAR string.
Expected Results
In Detect mode, Iru Endpoint EDR detects the EICAR test file and reports it with a status of Not quarantined on the Detections page (under Endpoint in the left-hand navigation) and in the Detections tab of the Device Record.
chmod +x ~/Desktop/eicar_test), reporting it with a status of Quarantined on the Detections page and in the Detections tab of the Device Record.
The 68-character EICAR string is the standard Anti-Malware Test File contents.
Considerations
- Safe testing: The EICAR test file is completely safe and designed specifically for anti-malware validation
- Posture mode testing: Test both Detect and Protect modes to confirm your EDR Library Item settings
- Status verification: Verify threat status in both the Detections module and individual device records
- macOS Protect mode: Quarantine occurs after the EICAR file is made executable
- Windows Defender: Account for Microsoft Defender behavior when interpreting test results on Windows
- Regular testing: Include EICAR testing in periodic security validation procedures
- Documentation: Record test results as part of compliance and audit documentation