Search code examples
amazon-web-servicesamazon-s3amazon-ec2antivirusclamav

How to use ClamAV Antivirus in AWS EC2 for scanning S3 Bucket object when any file uploaded to s3 bucket?


I need to run ClamAV antivirus in EC2 instance that can help me to scan a virus for s3 bucket object when any object being uploaded to s3. Is their any blog or way that i can use?


Solution

  • You can use S3 VirusScan, which is a third-party open source tool.

    Some of its features are:

    • Uses ClamAV to scan newly added files on S3 buckets
    • Updates ClamAV database every 3 hours automatically
    • Scales EC2 instance workers to distribute workload
    • Publishes a message to SNS in case of a finding
    • Can optionally delete compromised files automatically
    • Logs to CloudWatch Logs