Skip to content
Firewall audit · checklist

Firewall audit checklist: what to check in the config file

What to check in an exported firewall configuration, area by area. Each item says why it matters, and, for each firewall whose reader has it, the setting or line to look at. The lines come from made-up insecure sample files, not from any customer.

Management access

Admin services are closed on internet-facing interfaces

An admin login that answers the internet can be tried by anyone. Management belongs on an inside or dedicated network.

FirewallCheckWhere to look
FortiGateWAN interfaces should not allow HTTPS managementset allowaccess ping https ssh snmp line 23 of failing.conf
WAN interfaces should not allow SSHset allowaccess ping https ssh snmp line 23 of failing.conf
WAN interfaces should not allow SNMPset allowaccess ping https ssh snmp line 23 of failing.conf
Cisco ASASSH management allowed from any source (0.0.0.0/0)ssh 0.0.0.0 0.0.0.0 outside line 15 of cisco-asa-insecure.conf (the sample file)
ASDM/HTTPS management allowed from any source (0.0.0.0/0)http 0.0.0.0 0.0.0.0 outside line 14 of cisco-asa-insecure.conf (the sample file)
Sophos XGSSSH (CLI) reachable from WAN zoneThe setting it reads: zone "WAN"
Web admin (HTTPS) reachable from WAN zoneThe setting it reads: zone "WAN"
Web admin allowed from any source networkThe setting it reads: WebAdminSettings AllowedNetworks
WatchGuardManagement access permitted from Any-ExternalThe setting it reads: alias-list
pfSenseManagement service reachable from WANIn the Admin settings of the export; the reader cites no single line for this check.

Admin logins are limited to known addresses

Wherever the login is reachable, it should accept the addresses your team works from and refuse the rest.

FirewallCheckWhere to look
FortiGateAdmin accounts should restrict source IPs (trusthost)edit "admin" line 11 of failing.conf
Palo Alto PAN-OSManagement plane has no Permitted IP allow-listIn the Management settings of the export; the reader cites no single line for this check.
Cisco MerakiDashboard API access not restricted to trusted IPs"ipRestrictionsForKeys": { line 21 of cisco-meraki-insecure.json (the sample file)
Dashboard login not restricted to trusted IP ranges (CIS 1.1.x)"enforceLoginIpRanges": false, line 17 of cisco-meraki-insecure.json (the sample file)

Management uses encrypted, current protocols

Telnet, plain HTTP, SNMP v1 and v2c communities and old TLS or SSH versions send credentials or data in ways others can read or replay.

FirewallCheckWhere to look
FortiGateSSHv1 must not be permittedconfig system global line 2 of failing.conf
Admin HTTPS must require TLS 1.2 or higherset admin-https-ssl-versions tlsv1-1 tlsv1-2 line 6 of failing.conf
CIS 4.1: no SNMP community is named `public`The setting it reads: system snmp community
SNMP must not use a default/public community or SNMPv1edit 1 line 61 of failing.conf
Palo Alto PAN-OSTelnet is enabled on the management interface<disable-telnet>no</disable-telnet> line 13 of paloalto-panos-insecure.xml (the sample file)
HTTP (cleartext) management is enabled<disable-http>no</disable-http> line 14 of paloalto-panos-insecure.xml (the sample file)
Management/SSL service profile permits TLS 1.0/1.1<min-version>tls1-0</min-version> line 93 of paloalto-panos-insecure.xml (the sample file)
SNMP v2c (community-based) polling is in use<snmp-community-string>public</snmp-community-string> line 26 of paloalto-panos-insecure.xml (the sample file)
Cisco ASATelnet allowed for managementtelnet 0.0.0.0 0.0.0.0 inside line 18 of cisco-asa-insecure.conf (the sample file)
SNMP community `public` exposedsnmp-server community public line 67 of cisco-asa-insecure.conf (the sample file)
Weak SSL/TLS ciphers permittedIn the TLS settings of the export; the reader cites no single line for this check.
SNMP host uses a v1/v2c communitysnmp-server host inside 10.0.0.5 line 68 of cisco-asa-insecure.conf (the sample file)
Cisco MerakiSNMP uses v1/v2c community access instead of SNMPv3The setting it reads: snmp
Check PointTelnet management enabledset net-access telnet on line 27 of checkpoint-insecure.conf (the sample file)
Gaia Portal allows TLS 1.0/1.1In the Portal settings of the export; the reader cites no single line for this check.
Default SNMP community string in useadd snmp community public read-only line 43 of checkpoint-insecure.conf (the sample file)
SNMP agent not restricted to v3-Onlyset snmp agent-version any line 42 of checkpoint-insecure.conf (the sample file)
SNMP v1 enabledset snmp agent-version any line 42 of checkpoint-insecure.conf (the sample file)
SSH allows weak ciphersIn the SSH settings of the export; the reader cites no single line for this check.
Juniper SRXTelnet management service enabledset system services telnet line 17 of juniper-srx-insecure.set.txt (the sample file)
J-Web served over HTTP (cleartext)set system services web-management http interface ge-0/0/0.0 line 18 of juniper-srx-insecure.set.txt (the sample file)
SNMPv3 not used (v1/v2c only)The setting it reads: system
SNMP v1/v2c configuredset snmp community public authorization read-only line 31 of juniper-srx-insecure.set.txt (the sample file)
SSH protocol version 1 permittedIn the SSH settings of the export; the reader cites no single line for this check.
SSH weak cipher allowedIn the SSH settings of the export; the reader cites no single line for this check.
Sophos XGSSNMP using default community stringThe setting it reads: SNMP Community
SNMP v1 enabledThe setting it reads: SNMPv1
Weak SSH settings (SSHv1 or password auth)In the SSH settings of the export; the reader cites no single line for this check.
TLS 1.0 enabled for managementIn the TLS settings of the export; the reader cites no single line for this check.
TLS 1.1 enabled for managementIn the TLS settings of the export; the reader cites no single line for this check.
pfSenseSNMP community publicIn the SNMP settings of the export; the reader cites no single line for this check.
HAProxy frontend HTTP-only<!-- HAProxy HTTP frontend, no SSL --> line 173 of pfsense-insecure.xml (the sample file)
OPNsenseWeb interface served over HTTP<protocol>http</protocol> line 41 of insecure.xml
Captive portal login served over HTTPIn the Captive portal settings of the export; the reader cites no single line for this check.
SNMPv2c uses the public community<rocommunity>public</rocommunity> line 108 of insecure.xml

Administrators

Default accounts are renamed or disabled

A default admin name is the one anyone tries before any other.

FirewallCheckWhere to look
FortiGateDefault `admin` account should be renamed or disablededit "admin" line 11 of failing.conf
Sophos XGSDefault "admin" account active with unchanged passwordIn the Auth settings of the export; the reader cites no single line for this check.

Every administrator signs in with a second factor

A stolen or reused admin password is enough to take over a firewall that asks for nothing else.

FirewallCheckWhere to look
FortiGateAdmin accounts must enforce two-factor authenticationThe setting it reads: system admin
Cisco MerakiTwo-factor not required for org admins"enforceTwoFactorAuth": false, line 16 of cisco-meraki-insecure.json (the sample file)
Check PointAdmin MFA not enforcedThe setting it reads: gaia-system
Sophos XGSAdmin 2FA not enforcedThe setting it reads: TwoFactorAuthentication
Local admin without 2FAIn the Users settings of the export; the reader cites no single line for this check.

Failed logins lock the account

Without a lockout, password guessing can run for as long as the attacker likes.

FirewallCheckWhere to look
FortiGateAdmin lockout threshold should be configuredThe setting it reads: system global
Palo Alto PAN-OSAdmin account lockout not enforced<failed-attempts>0</failed-attempts> line 48 of paloalto-panos-insecure.xml (the sample file)
Cisco MerakiDashboard account lockout disabled (CIS 1.1.x)"enforceAccountLockout": false, line 12 of cisco-meraki-insecure.json (the sample file)
Dashboard account lockout threshold above 5 attemptsThe setting it reads: loginSecurity
Check PointFailed-login account lockout disabledThe setting it reads: gaia-system
Account lockout threshold too permissiveset password-controls deny-on-fail failures-allowed 10 line 21 of checkpoint-insecure.conf (the sample file)
Unused (dormant) account lockout disabledThe setting it reads: gaia-system
Juniper SRXNo login retry-options (brute-force throttling)The setting it reads: system
Login retry-options without lockout-periodThe setting it reads: system
Sophos XGSFailed sign-in lockout disabledThe setting it reads: AdminSettings
WatchGuardAccount lockout / blocked failed-login protection disabledThe setting it reads: system-parameters/auth-global-setting

Password rules are enforced

Length, complexity, expiry and reuse rules decide how hard admin passwords are to guess.

FirewallCheckWhere to look
FortiGateEvery admin account must set a passwordedit "ops-helper" line 15 of failing.conf
A password policy must be enforcedThe setting it reads: system password-policy
Password policy should require character complexityThe setting it reads: system password-policy
Password minimum length should be at least 14In the Password policy settings of the export; the reader cites no single line for this check.
Admin passwords should expireThe setting it reads: system password-policy
Palo Alto PAN-OSSSH admin sign-in accepts passwords, not only keysIn the Admin settings of the export; the reader cites no single line for this check.
Minimum password complexity is disabled<enabled>no</enabled> line 19 of complexity-disabled-failing.xml
Admin password minimum length below 16<minimum-length>8</minimum-length> line 109 of paloalto-panos-insecure.xml (the sample file)
Password complexity missing character-class requirements<minimum-uppercase-letters>0</minimum-uppercase-letters> line 110 of paloalto-panos-insecure.xml (the sample file)
Administrator passwords never expire<expiration-period>0</expiration-period> line 115 of paloalto-panos-insecure.xml (the sample file)
Password reuse history is below 24<password-history-count>4</password-history-count> line 114 of paloalto-panos-insecure.xml (the sample file)
Cisco ASAStored passwords not AES-encrypted (no master passphrase)In the Password settings of the export; the reader cites no single line for this check.
Local passwords can be shorter than 14 charactersIn the Password settings of the export; the reader cites no single line for this check.
Local password expiry not configuredIn the Password settings of the export; the reader cites no single line for this check.
Cisco MerakiDashboard minimum password length below 12 characters"minimumPasswordLength": 6, line 9 of cisco-meraki-insecure.json (the sample file)
Dashboard password expiration not enforced (CIS 1.1.x)"enforcePasswordExpiration": false, line 6 of cisco-meraki-insecure.json (the sample file)
Dashboard strong-password complexity not enforced (CIS 1.1.x)"enforceStrongPasswords": false, line 8 of cisco-meraki-insecure.json (the sample file)
Dashboard password expiration interval exceeds 90 daysThe setting it reads: loginSecurity
Dashboard password reuse not blocked (CIS 1.1.x)"enforceDifferentPasswords": false, line 10 of cisco-meraki-insecure.json (the sample file)
Check PointPassword complexity below CIS minimumset password-controls complexity 1 line 18 of checkpoint-insecure.conf (the sample file)
Password expiration too long or disabledset password-controls password-expiration never line 20 of checkpoint-insecure.conf (the sample file)
Password complexity policy missingset password-controls min-password-length 6 line 17 of checkpoint-insecure.conf (the sample file)
Password history reuse not enforcedThe setting it reads: gaia-system
Admin without password expirationThe setting it reads: password-expiration
Palindrome password check disabledset password-controls palindrome-check off line 19 of checkpoint-insecure.conf (the sample file)
Juniper SRXWeak password hash format (md5/sha1)In the Login settings of the export; the reader cites no single line for this check.
Root user has password (not key) authIn the Root settings of the export; the reader cites no single line for this check.
No password minimum-length policyThe setting it reads: system
Sophos XGSPassword complexity check disabledIn the Auth settings of the export; the reader cites no single line for this check.
pfSenseConsole without passwordThe setting it reads: consolepass
SSH password auth permittedThe setting it reads: sshdkeyonly
Weak password complexityIn the Users settings of the export; the reader cites no single line for this check.
OPNsenseConsole without passwordThe setting it reads: system: no <disableconsolemenu> (console menu not password protected)
SSH password auth permitted<passwordauth>1</passwordauth> line 58 of insecure.xml

Few accounts hold full rights

Every account with full rights is one more way to change everything.

FirewallCheckWhere to look
FortiGateLimit accounts holding the super_admin profileedit "admin" line 11 of failing.conf
Palo Alto PAN-OSLimit superuser admin rolesIn the Admin settings of the export; the reader cites no single line for this check.
Sophos XGSExcessive super-administrator accountsIn the Auth settings of the export; the reader cites no single line for this check.
pfSenseMultiple users with admin privilegeIn the Users settings of the export; the reader cites no single line for this check.

Idle admin sessions time out

An admin session left open on an unattended screen is an open door.

FirewallCheckWhere to look
FortiGateAdmin idle timeout should be 5 minutes or lessset admintimeout 60 line 4 of failing.conf
Concurrent admin sessions should be disabledset admin-concurrent enable line 5 of failing.conf
Palo Alto PAN-OSManagement idle-timeout exceeds 10 minutes (or disabled)<idle-timeout>60</idle-timeout> line 11 of paloalto-panos-insecure.xml (the sample file)
Cisco ASAConsole sessions never time outIn the Console settings of the export; the reader cites no single line for this check.
SSH idle timeout not configuredIn the SSH settings of the export; the reader cites no single line for this check.
Cisco MerakiDashboard idle-session timeout disabled (CIS 1.1.x)"enforceIdleTimeout": false, line 14 of cisco-meraki-insecure.json (the sample file)
Dashboard idle-session timeout longer than 30 minutesThe setting it reads: loginSecurity
Check PointCLI idle timeout too longset cli idle-timeout 60 line 36 of checkpoint-insecure.conf (the sample file)
Web UI session timeout too longset web session-timeout 60 line 35 of checkpoint-insecure.conf (the sample file)
Juniper SRXLogin class without idle-timeoutThe setting it reads: system
Sophos XGSAdmin session timeout too longThe setting it reads: AdminSettings
WatchGuardManagement session/idle timeout disabled or excessiveIn the Management settings of the export; the reader cites no single line for this check.

VPN

VPN logins use strong authentication

A VPN login answers the internet. With a local password alone, anyone who has or guesses one is inside; a second factor or a central directory closes that.

FirewallCheckWhere to look
FortiGateSSL-VPN portal with local-only authenticationIn the VPN settings of the export; the reader cites no single line for this check.
Palo Alto PAN-OSGlobalProtect exposed with no strong authentication controlIn the GlobalProtect settings of the export; the reader cites no single line for this check.
Sophos XGSSSL VPN without RADIUS / 2FAIn the VPN settings of the export; the reader cites no single line for this check.
WatchGuardMobile VPN MFA / AuthPoint not enforcedThe setting it reads: sslvpn-list
pfSenseOpenVPN without tls-auth / tls-crypt keyIn the OpenVPN settings of the export; the reader cites no single line for this check.
OpenVPN uses SHA1/MD5 auth digestIn the OpenVPN settings of the export; the reader cites no single line for this check.
OPNsenseOpenVPN without tls-auth / tls-cryptIn the OpenVPN settings of the export; the reader cites no single line for this check.

VPN tunnels use current encryption

Old ciphers, weak Diffie-Hellman groups and aggressive mode make a tunnel easier to break or impersonate.

FirewallCheckWhere to look
FortiGateIPsec phase-1 should not use weak DH groups (1, 2, 5)edit "site-a-ipsec" line 67 of failing.conf
IPsec phase-1 in aggressive modeThe setting it reads: vpn ipsec phase1-interface (to-branch)
Palo Alto PAN-OSIKE Aggressive Mode enabled on a peerIn the VPN settings of the export; the reader cites no single line for this check.
IPsec proposal allows DES / 3DES / MD5In the VPN settings of the export; the reader cites no single line for this check.
Cisco ASAIPsec proposal uses a non-AES cipherIn the Crypto settings of the export; the reader cites no single line for this check.
IKE policy uses DES/3DES/MD5encryption 3des line 53 of cisco-asa-insecure.conf (the sample file)
Juniper SRXIKE aggressive mode enabledset security ike policy IKE-POL mode aggressive line 55 of juniper-srx-insecure.set.txt (the sample file)
IKE weak Diffie-Hellman group (1/2/5)set security ike proposal IKE-PROP dh-group group2 line 52 of juniper-srx-insecure.set.txt (the sample file)
IKE/IPsec weak encryption (DES/3DES)set security ike proposal IKE-PROP encryption-algorithm 3des-cbc line 53 of juniper-srx-insecure.set.txt (the sample file)
IPsec without PFSThe setting it reads: security
IKE/IPsec weak integrity (MD5/SHA1)set security ike proposal IKE-PROP authentication-algorithm md5 line 54 of juniper-srx-insecure.set.txt (the sample file)
Sophos XGSIPsec policy uses 3DES / MD5 / aggressive modeIn the VPN settings of the export; the reader cites no single line for this check.
IPsec without PFSIn the VPN settings of the export; the reader cites no single line for this check.
WatchGuardBOVPN cipher weakThe setting it reads: ipsec-proposal-list
IKE/IPsec uses a weak Diffie-Hellman groupThe setting it reads: ike-action-list
pfSenseIPsec phase-1 in Aggressive modeIn the IPsec settings of the export; the reader cites no single line for this check.
IPsec phase-1 uses weak cipher / hash / DH groupIn the IPsec settings of the export; the reader cites no single line for this check.
OpenVPN allows weak cipherIn the OpenVPN settings of the export; the reader cites no single line for this check.
OPNsenseIPsec phase-1 in Aggressive modeIn the IPsec settings of the export; the reader cites no single line for this check.
An IPsec phase 1 uses a weak Diffie-Hellman groupIn the IPsec settings of the export; the reader cites no single line for this check.
OpenVPN allows a weak cipherIn the OpenVPN settings of the export; the reader cites no single line for this check.

Policies

Allowed traffic is inspected

An allow rule with no intrusion prevention, antivirus or decryption passes whatever rides on the allowed service.

FirewallCheckWhere to look
FortiGateA policy named as inspected/secure carries no security profileThe setting it reads: firewall policy
Accept policies from untrusted zones should have an IPS sensoredit 2 line 72 of fortinet-fortigate-insecure.conf (the sample file)
Internet-bound policies should have SSL/SSH inspectionThe setting it reads: firewall policy, system interface
No deep SSL inspection profile applied to outbound policiesThe setting it reads: firewall policy
Inbound accept policies should run AV scanningedit 2 line 72 of fortinet-fortigate-insecure.conf (the sample file)
Palo Alto PAN-OSNo decryption rulebase configuredIn the Decryption settings of the export; the reader cites no single line for this check.
Allow rules without a Security Profile group<entry name="permit-outbound-all"> line 65 of paloalto-panos-insecure.xml (the sample file)
WildFire analysis of unknown files is not set upIn the Security profile settings of the export; the reader cites no single line for this check.
Decryption profile does not block weak/unsupported sessions<block-unsupported-version>no</block-unsupported-version> line 94 of paloalto-panos-insecure.xml (the sample file)
Antivirus content not updated at least hourly<weekly> line 35 of paloalto-panos-insecure.xml (the sample file)
Cisco ASADefault global_policy inspection map modifiedIn the Inspection settings of the export; the reader cites no single line for this check.
Threat detection disabledIn the Threat detection settings of the export; the reader cites no single line for this check.
Cisco MerakiIPS disabled on Security ApplianceThe setting it reads: intrusion
IPS set to detect and not blockThe setting it reads: intrusion
Check PointIPS profile disabledThe setting it reads: ips_profile
HTTPS inspection accepts weak ciphersset https-inspection accept-weak-ssl line 70 of checkpoint-insecure.conf (the sample file)
Sophos XGSAnti-virus inspection disabledThe setting it reads: AntiVirusProtection
IPS disabled on accept rules<IntrusionPrevention>None</IntrusionPrevention> line 96 of sophos-xgs-insecure.xml (the sample file)
SSL/TLS inspection disabledThe setting it reads: SSLTLSInspection
HTTPS deep inspection disabledIn the Inspection settings of the export; the reader cites no single line for this check.
Zero-day / sandbox analysis (Sandstorm) disabledIn the Threat settings of the export; the reader cites no single line for this check.
Country/geo-IP blocking disabledIn the Threat settings of the export; the reader cites no single line for this check.
WatchGuardGateway AV disabledThe setting it reads: proxy-action-list
IPS disabledThe setting it reads: intrusion-prevention.enabled
HTTPS proxy without inspectionThe setting it reads: proxy-action-list
IPS disabledThe setting it reads: abs-policy-list
pfSenseNo DNS/IP blocklist + geo-IP layer (pfBlockerNG)In the Packages settings of the export; the reader cites no single line for this check.

No rule allows any source to any destination

A rule that allows everything makes every other rule below it irrelevant for that traffic.

FirewallCheckWhere to look
FortiGateNo firewall policy should allow any-any-any with action acceptedit 2 line 72 of fortinet-fortigate-insecure.conf (the sample file)
Palo Alto PAN-OSAn allow rule uses service "any" instead of application-defaultThe setting it reads: service
Cisco ASAAn ACL permits any source to any destinationaccess-list OUTSIDE_IN extended permit ip any any line 38 of cisco-asa-insecure.conf (the sample file)
Cisco MerakiL3 firewall default rule should be deny{ "comment": "Allow all", "policy": "allow", "protocol": "any", "srcCidr": "any", "destCidr": "any", "syslogEnabled": false } line 55 of cisco-meraki-insecure.json (the sample file)
Juniper SRXSecurity policy permit any-anyset security policies from-zone untrust to-zone trust policy allow-all match source-address any line 40 of juniper-srx-insecure.set.txt (the sample file)
Sophos XGSAny-any allow rule<FirewallRule> line 91 of sophos-xgs-insecure.xml (the sample file)
WatchGuardPolicy allow any-anyThe setting it reads: alias-list
pfSenseAny-any allow rule<source><any/></source> line 69 of pfsense-insecure.xml (the sample file)
OPNsenseA pass rule allows any source to any destination<rule uuid="3c4d5e6f-7081-4923-8b4c-5d6e7f8a9b03"> line 166 of insecure.xml

NAT and port forwards open no more than is needed

A port forward or static NAT open to any source publishes an inside system to the internet.

FirewallCheckWhere to look
FortiGateVirtual IP static NAT with mappedip range covering many hostsIn the NAT settings of the export; the reader cites no single line for this check.
Disabled policies suggest pending cleanupThe setting it reads: firewall policy
Palo Alto PAN-OSStatic NAT with any-source on management-portIn the NAT settings of the export; the reader cites no single line for this check.
Cisco ASANAT (any,any) identity statementIn the NAT settings of the export; the reader cites no single line for this check.
Cisco MerakiPort forward open to any public sourceThe setting it reads: portForwardingRules
1:1 NAT with broad inbound port rangeThe setting it reads: oneToOneNatRules
Sophos XGSSource NAT rule applies to traffic toward any destinationThe setting it reads: SNAT dest
pfSensePort forward (NAT 1:1 / rdr) with source = anyIn the NAT settings of the export; the reader cites no single line for this check.
OPNsenseNAT port forward with source = any<rule uuid="4c1d2e0a-7b3f-4d6e-9a51-0f3b2c1d4e01"> line 114 of insecure.xml

Logging

Logs go to a central system

Logs kept on the firewall alone are lost or changed with it; a central copy is what an investigation reads.

FirewallCheckWhere to look
FortiGateA syslog destination should be configuredThe setting it reads: log syslogd setting
Cisco ASANo remote syslog destinationIn the Logging settings of the export; the reader cites no single line for this check.
Syslog messages lack timestampsIn the Logging settings of the export; the reader cites no single line for this check.
Cisco MerakiSyslog server not configured (CIS 6.1.1)The setting it reads: syslogServers
NetFlow / traffic analytics reporting disabledThe setting it reads: netflow
Syslog server configured without security / IDS event rolesThe setting it reads: syslogServers
Check PointNo syslog destinationThe setting it reads: gaia-system
Gaia system logs not forwarded to management (cplogs)The setting it reads: gaia-system
Juniper SRXNo syslog host configuredThe setting it reads: system
Security (traffic) logs not streamed off-boxThe setting it reads: security
WatchGuardNo remote log serverIn the Logging settings of the export; the reader cites no single line for this check.
pfSenseNo remote syslog targetIn the Logging settings of the export; the reader cites no single line for this check.
OPNsenseNo remote syslog destinationIn the Logging settings of the export; the reader cites no single line for this check.

Denied traffic and admin actions are logged

Without logs of what was denied and what admins changed, nobody can say afterwards what happened.

FirewallCheckWhere to look
FortiGateAccept policies should log UTM events at minimumedit 99 line 32 of failing.conf
A policy named as logged/audited has logging disabledThe setting it reads: firewall policy
Implicit-deny policy should logedit 50 line 50 of failing.conf
Implicit deny not configured to log violationsIn the Policies settings of the export; the reader cites no single line for this check.
Palo Alto PAN-OSAllow rules without logging at session endThe setting it reads: rulebase security
Traffic dropped by the implicit deny is not loggedIn the Policies settings of the export; the reader cites no single line for this check.
Cisco ASALogging is not enabledIn the Logging settings of the export; the reader cites no single line for this check.
Administrative command accounting not enabledIn the AAA settings of the export; the reader cites no single line for this check.
No explicit deny ip any any logIn the ACL settings of the export; the reader cites no single line for this check.
No buffered logging configuredIn the Logging settings of the export; the reader cites no single line for this check.
Check PointManagement audit logging disabledThe setting it reads: gaia-system
Audit log not set to permanentThe setting it reads: gaia-system
Juniper SRXDefault session log disabledThe setting it reads: security
Administrative commands not loggedThe setting it reads: system
Sophos XGSNo final logged deny ruleIn the Policies settings of the export; the reader cites no single line for this check.
Web filtering set to log onlyThe setting it reads: WebFilteringMode
WatchGuardDefault-deny / unhandled-packet logging disabledIn the Logging settings of the export; the reader cites no single line for this check.
Firewall policy with logging disabledThe setting it reads: abs-policy-list

Firmware and time

Firmware and security updates are current

Old firmware carries published weaknesses, and stale signatures miss what is new.

FirewallCheckWhere to look
Palo Alto PAN-OSThreat content updates run less often than every 30 minutesIn the Threat prevention settings of the export; the reader cites no single line for this check.
Update/Dynamic-update server identity verification disabled<server-verification>no</server-verification> line 16 of paloalto-panos-insecure.xml (the sample file)
Sophos XGSSignature / pattern auto-update disabledIn the Lifecycle settings of the export; the reader cites no single line for this check.
Firmware older than 2 quartersThe setting it reads: firmware
WatchGuardSecurity-service signature auto-update disabledIn the Services settings of the export; the reader cites no single line for this check.
pfSenseFirmware older than 2.7.xThe setting it reads: firmware
OPNsenseFirmware older than 23.7In the Firmware settings of the export; the reader cites no single line for this check.

Time is synchronised

Logs from different systems line up when their clocks agree, and not otherwise.

FirewallCheckWhere to look
FortiGateNTP time synchronization should be enabledThe setting it reads: system ntp
Palo Alto PAN-OSNTP without authenticationIn the NTP settings of the export; the reader cites no single line for this check.
Cisco ASANo NTP server configuredIn the NTP settings of the export; the reader cites no single line for this check.
NTP without authenticationIn the NTP settings of the export; the reader cites no single line for this check.
Check PointNTP disabledIn the NTP settings of the export; the reader cites no single line for this check.
Only one NTP server configuredThe setting it reads: gaia-system
Juniper SRXNo NTP server configuredThe setting it reads: system
NTP without authenticationThe setting it reads: system
Sophos XGSNTP time synchronization disabledIn the Time settings of the export; the reader cites no single line for this check.
WatchGuardNTP time synchronization not configuredIn the Time settings of the export; the reader cites no single line for this check.
pfSenseNTP server unsetIn the NTP settings of the export; the reader cites no single line for this check.

Questions

How often should firewall rules be reviewed?

PCI DSS requirement 1.2.7 asks for the configurations of network security controls, firewalls among them, to be reviewed at least once every six months. Outside PCI DSS, common practice is a review on a fixed schedule that your own policy sets, and another after a significant change such as a new connection, a migration or an incident.

What is a firewall rule review?

A check of each rule in a firewall’s policy: what it allows, from where to where, on which services, and whether it is still needed. It usually covers the settings around the rules too: who can manage the firewall, how they sign in, and what is logged. Done from the exported configuration, it needs no access to the live device.

Can a firewall audit be done from the config file alone?

Most of it. The exported configuration holds the rules, the admin accounts, the management settings, the VPN settings and the logging settings. It does not hold live sessions, logs or, for the firewalls read here, rule hit counts, so unused rules and anything that happened on the device are outside it.