This article provides information on how to configure the Sophos anti-virus feature by using the default anti-virus profile (junos-sophos-av-defaults).
How to configure, verify, and troubleshoot Sophos anti-virus on a branch SRX device. This feature is supported from Junos 11.1 onwards. Sophos AV is an in-the-cloud anti-virus solution, which requires less system resources and provides better scaling and performance, as compared to other anti-virus engines.
The Sophos AV solution uses the sophos-engine, which is different from the kaspersky-lab-engine and juniper-express-engine. Before configuring the Sophos AV on the device, check if the av_key_sophos_engine license is installed on it; to verify if the license is installed on the device, run the show system license usage command and look for the av_key_sophos_engine license.
Sample output :
root> show system license usage
Feature name Licenses used Licenses installed Licenses needed Expiry av_key_kaspersky_engine 1 0 1 29 days anti_spam_key_sbl 1 0 1 29 days wf_key_surfcontrol_cpa 1 0 1 29 days ax411-wlan-ap 0 2 0 permanent av_key_sophos_engine 1 0 1 29 days logical-system 0 1 0 permanent
Feature name
Licenses used
Licenses installed
Licenses needed
Expiry
av_key_kaspersky_engine
1
0
29 days
anti_spam_key_sbl
wf_key_surfcontrol_cpa
ax411-wlan-ap
2
permanent
av_key_sophos_engine
logical-system
root>request system license add terminal
JWeb procedure :
Configure the express antivirus feature profile:
Configure a UTM policy for express antivirus :
Create a security policy and attach the UTM policy to it :
CLI procedure :
set security utm feature-profile anti-virus type sophos-engine Note: Beginning in 18.4R1, where to configure this feature has changed: set security utm default-configuration anti-virus type sophos-engine
set security utm feature-profile anti-virus type sophos-engine
set security utm utm-policy sophos-utm-policy anti-virus http-profile junos-sophos-av-defaults set security utm utm-policy sophos -utm-policy anti-virus ftp upload-profile junos-sophos-av-defaults set security utm utm-policy sophos -utm-policy anti-virus ftp download-profile junos-sophos-av-defaults set security utm utm-policy sophos -utm-policy anti-virus smtp-profile junos-sophos-av-defaults
set security policies from-zone trust to-zone untrust policy utm-security-policy match source-address any set security policies from-zone trust to-zone untrust policy utm-security-policy match destination-address any set security policies from-zone trust to-zone untrust policy utm-security-policy match application any set security policies from-zone trust to-zone untrust policy utm-security-policy then permit application-services utm-policy sophos-utm-policy
root> show security utm anti-virus status utm anti-virus status: anti-virus key expire date: 29 days left (grace period) update server: http://update.juniper-updates.net/sav/ interval: 1440 minutes pattern update status: next update in 1347 minutes last result: download version file failed anti-virus signature version: not loaded scan engine type: sophos-engine scan engine information: last action result: No error
root> show security utm anti-virus statistics
Refer to a checklist of common errors here:
2019-10-02: Under CLI procedure, step 1, added a note on config change beginning in 18.4R1