Ten things to check
Any-any allow rule
Default-allow rule.
<FirewallRule>line 91 of sophos-xgs-insecure.xml (the sample file)Admin 2FA not enforced
Admin login is single-factor.
The setting it reads:
TwoFactorAuthenticationSSH (CLI) reachable from WAN zone
SSH CLI access is permitted from the WAN zone via the local service ACL, exposing the admin CLI to Internet-wide brute force and reconnaissance.
The setting it reads:
zone "WAN"Web admin (HTTPS) reachable from WAN zone
The web admin console (HTTPS) is permitted from the WAN zone via the local service ACL, exposing the management plane to the Internet for brute-force, DoS and zero-day exploitation.
The setting it reads:
zone "WAN"Default "admin" account active with unchanged password
The built-in super-admin "admin" account is active and its factory/default password has not been changed.
In the Auth settings of the export; the reader cites no single line for this check.
Local admin without 2FA
Single-factor.
In the Users settings of the export; the reader cites no single line for this check.
IPS disabled on accept rules
Inbound rules without IPS = uninspected.
<IntrusionPrevention>None</IntrusionPrevention>line 96 of sophos-xgs-insecure.xml (the sample file)Failed sign-in lockout disabled
The firewall does not block repeated unsuccessful sign-in attempts, leaving the admin and user portals open to unlimited online password guessing / brute force.
The setting it reads:
AdminSettingsAnti-virus inspection disabled
Inbound traffic is not checked for malware.
The setting it reads:
AntiVirusProtectionSMTP relay open to any source
The MTA permits mail relay from any source network, an open-relay condition that enables spam/phishing abuse and IP-reputation blacklisting of the organization.
The setting it reads:
MailRelaySettings AllowedRelay
How to export the file
How long it takes: About 5 minutes.
Backup and firmware → Import export → under Export, select "Export full configuration" → Export. Your browser saves a .tar file
On your computer, open a command line in the folder that holds the download and run tar -xvf <tarfilename>.tar (the command Sophos gives for Windows and Linux). It unpacks Entities.xml and, when the configuration holds passwords, hashFile.json and propertyfile
Entities.xml is the configuration file: upload that one. hashFile.json and propertyfile are not part of a review
Every step, the command-line route, and the errors you may meet: the Sophos XGS export guide.
What the export does not show
- TLS versions for administration, SNMPv1, web filtering mode, anti-virus and zero-day settings, the WAF, QoS, high availability, firmware release and certificate expiry: Sophos documents no element for them in this file, so those checks are not counted and find nothing here
- A rule hidden by a rule above it: Sophos rules also match on zones, and the rule-by-rule comparison does not read zones
- hashFile.json and propertyfile: leave them out
- Hit counts, logs and live connections: this is the configuration, not live data
Live sessions, logs and running hosts are not in a configuration export, so no finding comes from them.
The rest of the review
The review runs 59 checks on a Sophos XGS export. All of them, with the part of the export each reads: Sophos XGS firewall audit from the config file. The same items across every firewall: the firewall audit checklist.