Hi guys,
We have an issue with WEB Security profile / AV Scanning on our Sophox xg 18.0.354
When 'Malware and content scanning' is ON (scan HTTP and decrypted HTTPS) packets that has to be downloaded from internet repository ( AWS virtual machine, GitHub, BitBucket ) gets errors for CHECKSUM integrity.
When 'Malware and content scanning' is OFF all packages are downloaded ok.
Schema: Server(192.168.101.30) (running a task scheduled to update/download packages from internet repositorys) --> Sophos XG (gateway) --> Internet Repositorys (AWS virtual machine as for our exemple)
Test: For HTTPS i've created a Profile that DO NOT Decrypt HTTPS from Source Server to Any
For "Malware and content scanning" I have the following settings -> Action on malware scan failure = Allow / Do not scan files larger than = 30mb / NOT Checked 'Block potentially unwanted app..'
LOGS for 1 specific package wich I\ve tested:
1. 2020-04-16 15:10:02 00---> with SCAN enabled- Result FAILED
messageid="16001" log_type="Content Filtering" log_component="HTTP" log_subtype="Allowed" status="" fw_rule_id="14" user="USER@domain.com" user_group="Domain Sophos Users" web_policy_id="4" web_policy="" category="ParkedDomain" category_type="Acceptable" url="AAA.AAA.us/.../fhir-types-1.0.65.tgz" content_type="application/x-tgz" override_token="" response_code="" src_ip="192.168.101.30" dst_ip="52.2.XX.XX" protocol="TCP" src_port="58591" dst_port="80" bytes_sent="409" bytes_received="492564" domain="AAA.AAA.us" exception="" activity_name="" reason="" user_agent="npm/6.14.4 node/v10.20.1 win32 x64" status_code="200" transaction_id="ff5b2b87-42ce-487f-aca2-09f3eb823acf" referer="install fhir-types" download_file_name="fhir-types-1.0.65.tgz" download_file_type="application/x-tgz" upload_file_name="" upload_file_type="" con_id="2527543296" app_name="" app_is_cloud="0" override_name="" override_authorizer="" used_quota="0"
From this log it seems that file has been downloaded ok...but in fact it gets the following error wich could be viewed on server console from where the task is running
2. This is the error for CHECKSUM
npm ERR! code EINTEGRITY
npm ERR! sha512-sKgzGOAWveGIN+6DsPrYjjJLXOroOf8WagX8SXxcjrqTmOQgdtd1IUC0nfVUTq0Qw3qCZjpLgUXRyAI3luaGxA== integrity checksum failed when using sha512: wanted sha512-sKgzGOAWveGIN+6DsPrYjjJLXOroOf8WagX8SXxcjrqTmOQgdtd1IUC0nfVUTq0Qw3qCZjpLgUXRyAI3luaGxA== but got sha512-SlyRELvlGprO5+6WmJnVjAksPZ/z3+aEn/HXk7EoT61YHsGri0/6mGvsjtGVTERVDTHa2lPqEs2lnxYhyCzDKg==. (491753 bytes)
Any idea on this matter ? (If I make myself clear ...)
This thread was automatically locked due to age.