1

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?

Filburt
  • 17,626
  • 12
  • 64
  • 115
Amin Ali
  • 47
  • 1
  • 8

2 Answers2

1

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
jarmod
  • 71,565
  • 16
  • 115
  • 122
  • is it safe to use in our AWS infra ? @jarmod – Amin Ali May 21 '21 at 12:25
  • Is it safe, as in can you trust this software? That's something you have to decide. Do you run Linux? Do you use SSH? Do you develop software using third-party libraries? What is your approach to deciding if those are safe? This particular software was written by widdix and [Michael Wittig](https://aws.amazon.com/developer/community/heroes/michael-wittig/) who's an AWS Community Hero, if that helps your decision-making. – jarmod May 21 '21 at 12:32
1

If you want to implement the solution by yourself, you can use: https://aws.amazon.com/blogs/developer/virus-scan-s3-buckets-with-a-serverless-clamav-based-cdk-construct/

Gabriel
  • 1,749
  • 1
  • 11
  • 15