Skip to content
Firewall audit · from the configuration

Sophos XGS firewall audit from the config file

Export the Sophos XGS configuration, upload the config file, and the review runs 59 checks on it, each on the setting it reads. Nothing connects to the firewall.

The 59 checks run on the Sophos XGS export

These are the checks that reached a result on a Sophos XGS export in its own layout in our tests: the same 59 the vendor table counts as checks run. Each row says what part of the export the check reads.

Admin 1

CheckSeverityReads
Admin 2FA not enforced CriticalTwoFactorAuthentication

API 1

CheckSeverityReads
API token has full org scope Mediumthe API settings

App control 1

CheckSeverityReads
Application Control without blocked categories Mediumthe App control settings

ATP 1

CheckSeverityReads
Advanced Threat Protection disabled Highthe ATP settings

Auth 7

CheckSeverityReads
Default "admin" account active with unchanged password Criticalthe Auth settings
Failed sign-in lockout disabled HighAdminSettings
Password complexity check disabled Highthe Auth settings
Login CAPTCHA disabled Mediumthe Auth settings
Excessive super-administrator accounts Mediumthe Auth settings
Admin session timeout too long LowAdminSettings
Login disclaimer / banner not enabled Lowthe Auth settings

AV 1

CheckSeverityReads
Anti-virus inspection disabled HighAntiVirusProtection

Backup 2

CheckSeverityReads
Scheduled backup is unencrypted MediumScheduledBackup Encryption
No scheduled configuration backup Lowthe Backup settings

Certificates 1

CheckSeverityReads
Web cert expiring < 30 days Mediumcertificate expiry

DOS 1

CheckSeverityReads
DoS protection disabled MediumDoSProtection

Email 5

CheckSeverityReads
SMTP relay open to any source HighMailRelaySettings AllowedRelay
Anti-spam protection disabled Mediumthe Email settings
DKIM verification disabled Mediumthe Email settings
DMARC verification disabled Mediumthe Email settings
SPF verification disabled MediumSPFVerification

Firewall 1

CheckSeverityReads
Any-any allow rule Criticalfirewall rule "Allow_All_Out"

Firmware 1

CheckSeverityReads
Firmware older than 2 quarters Mediumfirmware

HA 1

CheckSeverityReads
HA not configured MediumHighAvailability

Heartbeat 1

CheckSeverityReads
Security Heartbeat not enforced on access Lowthe Heartbeat settings

Inspection 1

CheckSeverityReads
HTTPS deep inspection disabled Mediumthe Inspection settings

IPS 1

CheckSeverityReads
IPS disabled on accept rules Highfirewall rule "Allow_All_Out"

Lifecycle 1

CheckSeverityReads
Signature / pattern auto-update disabled Highthe Lifecycle settings

Logging 1

CheckSeverityReads
Log retention shorter than 30 days MediumLogRetention

Management 5

CheckSeverityReads
SSH (CLI) reachable from WAN zone Criticalzone "WAN"
Web admin (HTTPS) reachable from WAN zone Criticalzone "WAN"
User Portal exposed to WAN Highthe Management settings
Web admin allowed from any source network HighWebAdminSettings AllowedNetworks
ICMP ping allowed from WAN zone Lowzone "WAN"

NAT 2

CheckSeverityReads
DNAT (port forward) with source = ANY HighDNAT source
Source NAT rule applies to traffic toward any destination MediumSNAT dest

Notification 1

CheckSeverityReads
No notification email configured Mediumthe Notification settings

Policies 3

CheckSeverityReads
SSL/TLS inspection disabled HighSSLTLSInspection
No final logged deny rule Mediumthe Policies settings
No QoS policies for critical apps Lowthe Policies settings

SNMP 2

CheckSeverityReads
SNMP using default community string HighSNMP Community
SNMP v1 enabled HighSNMPv1

SSH 1

CheckSeverityReads
Weak SSH settings (SSHv1 or password auth) Highthe SSH settings

Synchronized security 1

CheckSeverityReads
Synchronized Security with Sophos Central disabled Lowthe Synchronized security settings

Threat 2

CheckSeverityReads
Zero-day / sandbox analysis (Sandstorm) disabled Mediumthe Threat settings
Country/geo-IP blocking disabled Lowthe Threat settings

Time 1

CheckSeverityReads
NTP time synchronization disabled Mediumthe Time settings

TLS 2

CheckSeverityReads
TLS 1.0 enabled for management Highthe TLS settings
TLS 1.1 enabled for management Mediumthe TLS settings

Users 1

CheckSeverityReads
Local admin without 2FA Criticalthe Users settings

VPN 4

CheckSeverityReads
SSL VPN without RADIUS / 2FA Highthe VPN settings
IPsec policy uses 3DES / MD5 / aggressive mode Highthe VPN settings
IPsec tunnel using IKEv1 MediumIKEVersion
IPsec without PFS Mediumthe VPN settings

WAF 2

CheckSeverityReads
WAF (Web Server Protection) default action is allow HighWebServerProtection DefaultAction
WAF protection rules disabled Mediumthe WAF settings

Web 2

CheckSeverityReads
Web content filter disabled MediumWebProtection
Web filtering set to log only MediumWebFilteringMode

Zone 1

CheckSeverityReads
Single trusted zone Mediumthe Zone settings

The Sophos XGS export

How long it takes
About 5 minutes.
Who can pull it
An administrator who can open Backup and firmware → Import export, because the export is on that page. Sophos’s documentation names no specific profile right for the export. It documents the Administrator profile ("full access to the web admin console and CLI") and custom profiles under Profiles → Device access that give each menu None, Read-only or Read-write, and it does not say which level the export needs.
The file
XML, one Entities.xml, unpacked from the .tar the firewall downloads
Formats read
XGS XML config export

The steps, console and command line, are on 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

Limits of the reader

  • Findings stay in the review. They do not feed attack paths.
  • Some checks of this system are in the code and not counted: no test shows them firing on a file in the layout the vendor documents.

A configuration audit reads settings. Live traffic, hit counts the export does not carry, running hosts and logs are not in the file, so no finding comes from them.

A Sophos XGS finding from the sample

Sample company: Acme Capital (fictional)

Any-any allow rule

Criticalfirewall rule "allow-all-outbound" · line 91

Raised by the review on a made-up insecure Sophos XGS file: sophos-xgs-insecure.xml. The file is public: open it to see what the export looks like.

The grade its findings reach

Proven A finding from this file can reach PROVEN: the stored file is read a second time by a separate reader, and the finding is found at the setting it names.

Sophos XGS findings stay in the review and its reports. Sophos XGS does not feed attack paths today.

Attack paths, the one change and dollar figures are MODELED. How each grade is worked out is on the method page.

Questions

Does the Sophos XGS audit connect to the firewall?

No. The review reads the config file you export and upload, setting by setting. Nothing is installed on the firewall and nothing connects to it.

How long does the Sophos XGS export take?

About 5 minutes.

What does the Sophos XGS export 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.

Does the file hold passwords or keys?

In Sophos’s words, the secure storage master key "encrypts sensitive information, such as passwords, secrets, and keys", and an export that holds such items adds hashFile.json and propertyfile beside Entities.xml. Sophos gives no list of what stays readable in Entities.xml, so treat the file as sensitive: it describes your rules, hosts and users. With redaction on (the default), the passwords, keys and tokens the review recognises are replaced with a placeholder before anything is stored; the check before upload shows how many it found.