How to perform automated virus scanning on files uploaded to AWS S3
Asked Answered
L

1

8

I am attempting to ensure files which get uploaded to S3 do not contain malware or malicious scripts before moving the file into a more secure part of the infrastructure (another S3 bucket in a separated account).

We move the file from the upload account to the core account via the AWS backbone connection meaning it is not exposed to the public internet at any point - apart from the initial upload (the upload is secured by AWS with SSL).

What we'd ideally like, is to have virus scanning run on the file without exposing the file to the internet. A cloud based AV solution that updates virus definitions via the internet is acceptable provided the file is not exposed. I've come across an Open Source solution in ClamAV, but I'd like to consider alternative options - even proprietary software. What are best suggestions for achieving this, or are the more secure options that we're not thinking of?

Luciano answered 18/4, 2018 at 13:37 Comment(0)
J
3

One of our clients recently implemented VirusScan for Amazon S3. I don't know how they made it work on the backend, but they were able to reject problematic PDFs with 500 HTTP errors after only one night of setup. It's an EC2 instance that runs in your VPC.

Jameyjami answered 14/10, 2020 at 17:22 Comment(1)
I second this solution. CloudFormation templates get you up and running in the time it takes for the templates to complete. Add-ons are available to increase functionality.Cecilla

© 2022 - 2024 — McMap. All rights reserved.