Malware devices blocking files smaller than 100 MB
search cancel

Malware devices blocking files smaller than 100 MB

book

Article ID: 369231

calendar_today

Updated On:

Products

SG-S500

Issue/Introduction

Users accessing websites via Cloud SWG using WSS Agents and Proxy Forwarding access methods.

Advanced malware scanning is enabled, to enable sandboxing of suspicious files.

Cloud SWG policy implemented so that all users can download files of up to 100MB in size; users within a specific group are allowed to download larger files.

Subset of users complain that they get blocked, with ICAP errors, downloading files that are smaller than 100MB e.g. user downloading zip file 30MB in size gets an exception indicating files larger than 100MB are not allowed.

Environment

All Cloud SWG access methods.

Cloud SWG Policies blocking based on max_file_size_exceeded ICAP error_code.

Cause

File size checks performs check on overall aggregated contents of the file, and simply the file size itself.

Resolution

Working as designed.

Additional Information

In the example above, the ZIP file included other compressed files such as java JAR files. Many of these JAR files, when uncompressed, included hundreds of files that far exceeded the 100MB limit.

It's important, when verifying either the file size of the total number of files, that the file in question be downloaded locally and analysed for additional files. Since the check is on the aggregated file size, or number of files, the analysis will confirm that the threshold has been exceeded.