- Newest
- Most votes
- Most comments
Hello.
You can download the test file from the bottom of the screen on the EICAR official website below.
https://www.eicar.org/download-anti-malware-testfile/
You can also save it with the following command.
curl https://secure.eicar.org/eicar.com.txt -o eicar.com.txt
To test Amazon GuardDuty Malware Protection for S3 and generate a threat scan status, you can use a file known as the EICAR test file. The EICAR (European Institute for Computer Antivirus Research) test file is a standard test file used in the cybersecurity industry to safely simulate a malware detection without using actual malicious code.
The EICAR test file is a harmless text file that contains a specific string of characters. When scanned by antivirus software or malware detection systems like GuardDuty, it triggers a detection response as if it were actual malware. This allows you to verify that your malware scanning capabilities are functioning correctly without introducing any real security risks to your environment.
To use the EICAR test file with GuardDuty Malware Protection for S3:
- Enable Malware Protection for S3 on the desired S3 bucket.
- Obtain the EICAR test file from a reputable source.
- Upload the EICAR test file to the protected S3 bucket.
- Monitor the scan results through one or more of the available methods:
- Check for GuardDuty findings (if GuardDuty is enabled alongside Malware Protection for S3)
- Review EventBridge notifications
- Monitor CloudWatch metrics
- Check the S3 object tags (if tagging is enabled)
By using the EICAR test file, you can confirm that GuardDuty Malware Protection for S3 is correctly scanning objects and generating appropriate threat scan statuses without compromising your system's security.
Sources
Capabilities of Malware Protection for S3 - Amazon GuardDuty
How does Malware Protection for S3 work? - Amazon GuardDuty
Steps after enabling Malware Protection for S3 - Amazon GuardDuty
Using Amazon GuardDuty Malware Protection to scan uploads to Amazon S3 | AWS Security Blog
EICAR was not detected
Relevant content
asked 2 years ago

Thanks, for the curl it worked