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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | WAN interfaces should not allow HTTPS management | set allowaccess ping https ssh snmp line 23 of failing.conf |
| WAN interfaces should not allow SSH | set allowaccess ping https ssh snmp line 23 of failing.conf | |
| WAN interfaces should not allow SNMP | set allowaccess ping https ssh snmp line 23 of failing.conf | |
| Cisco ASA | SSH 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 XGS | SSH (CLI) reachable from WAN zone | The setting it reads: zone "WAN" |
| Web admin (HTTPS) reachable from WAN zone | The setting it reads: zone "WAN" | |
| Web admin allowed from any source network | The setting it reads: WebAdminSettings AllowedNetworks | |
| WatchGuard | Management access permitted from Any-External | The setting it reads: alias-list |
| pfSense | Management service reachable from WAN | In 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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | Admin accounts should restrict source IPs (trusthost) | edit "admin" line 11 of failing.conf |
| Palo Alto PAN-OS | Management plane has no Permitted IP allow-list | In the Management settings of the export; the reader cites no single line for this check. |
| Cisco Meraki | Dashboard 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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | SSHv1 must not be permitted | config system global line 2 of failing.conf |
| Admin HTTPS must require TLS 1.2 or higher | set 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 SNMPv1 | edit 1 line 61 of failing.conf | |
| Palo Alto PAN-OS | Telnet 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 ASA | Telnet allowed for management | telnet 0.0.0.0 0.0.0.0 inside line 18 of cisco-asa-insecure.conf (the sample file) |
| SNMP community `public` exposed | snmp-server community public line 67 of cisco-asa-insecure.conf (the sample file) | |
| Weak SSL/TLS ciphers permitted | In the TLS settings of the export; the reader cites no single line for this check. | |
| SNMP host uses a v1/v2c community | snmp-server host inside 10.0.0.5 line 68 of cisco-asa-insecure.conf (the sample file) | |
| Cisco Meraki | SNMP uses v1/v2c community access instead of SNMPv3 | The setting it reads: snmp |
| Check Point | Telnet management enabled | set net-access telnet on line 27 of checkpoint-insecure.conf (the sample file) |
| Gaia Portal allows TLS 1.0/1.1 | In the Portal settings of the export; the reader cites no single line for this check. | |
| Default SNMP community string in use | add snmp community public read-only line 43 of checkpoint-insecure.conf (the sample file) | |
| SNMP agent not restricted to v3-Only | set snmp agent-version any line 42 of checkpoint-insecure.conf (the sample file) | |
| SNMP v1 enabled | set snmp agent-version any line 42 of checkpoint-insecure.conf (the sample file) | |
| SSH allows weak ciphers | In the SSH settings of the export; the reader cites no single line for this check. | |
| Juniper SRX | Telnet management service enabled | set 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 configured | set snmp community public authorization read-only line 31 of juniper-srx-insecure.set.txt (the sample file) | |
| SSH protocol version 1 permitted | In the SSH settings of the export; the reader cites no single line for this check. | |
| SSH weak cipher allowed | In the SSH settings of the export; the reader cites no single line for this check. | |
| Sophos XGS | SNMP using default community string | The setting it reads: SNMP Community |
| SNMP v1 enabled | The 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 management | In the TLS settings of the export; the reader cites no single line for this check. | |
| TLS 1.1 enabled for management | In the TLS settings of the export; the reader cites no single line for this check. | |
| pfSense | SNMP community public | In 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) | |
| OPNsense | Web interface served over HTTP | <protocol>http</protocol> line 41 of insecure.xml |
| Captive portal login served over HTTP | In 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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | Default `admin` account should be renamed or disabled | edit "admin" line 11 of failing.conf |
| Sophos XGS | Default "admin" account active with unchanged password | In 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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | Admin accounts must enforce two-factor authentication | The setting it reads: system admin |
| Cisco Meraki | Two-factor not required for org admins | "enforceTwoFactorAuth": false, line 16 of cisco-meraki-insecure.json (the sample file) |
| Check Point | Admin MFA not enforced | The setting it reads: gaia-system |
| Sophos XGS | Admin 2FA not enforced | The setting it reads: TwoFactorAuthentication |
| Local admin without 2FA | In 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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | Admin lockout threshold should be configured | The setting it reads: system global |
| Palo Alto PAN-OS | Admin account lockout not enforced | <failed-attempts>0</failed-attempts> line 48 of paloalto-panos-insecure.xml (the sample file) |
| Cisco Meraki | Dashboard 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 attempts | The setting it reads: loginSecurity | |
| Check Point | Failed-login account lockout disabled | The setting it reads: gaia-system |
| Account lockout threshold too permissive | set password-controls deny-on-fail failures-allowed 10 line 21 of checkpoint-insecure.conf (the sample file) | |
| Unused (dormant) account lockout disabled | The setting it reads: gaia-system | |
| Juniper SRX | No login retry-options (brute-force throttling) | The setting it reads: system |
| Login retry-options without lockout-period | The setting it reads: system | |
| Sophos XGS | Failed sign-in lockout disabled | The setting it reads: AdminSettings |
| WatchGuard | Account lockout / blocked failed-login protection disabled | The 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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | Every admin account must set a password | edit "ops-helper" line 15 of failing.conf |
| A password policy must be enforced | The setting it reads: system password-policy | |
| Password policy should require character complexity | The setting it reads: system password-policy | |
| Password minimum length should be at least 14 | In the Password policy settings of the export; the reader cites no single line for this check. | |
| Admin passwords should expire | The setting it reads: system password-policy | |
| Palo Alto PAN-OS | SSH admin sign-in accepts passwords, not only keys | In 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 ASA | Stored 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 characters | In the Password settings of the export; the reader cites no single line for this check. | |
| Local password expiry not configured | In the Password settings of the export; the reader cites no single line for this check. | |
| Cisco Meraki | Dashboard 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 days | The 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 Point | Password complexity below CIS minimum | set password-controls complexity 1 line 18 of checkpoint-insecure.conf (the sample file) |
| Password expiration too long or disabled | set password-controls password-expiration never line 20 of checkpoint-insecure.conf (the sample file) | |
| Password complexity policy missing | set password-controls min-password-length 6 line 17 of checkpoint-insecure.conf (the sample file) | |
| Password history reuse not enforced | The setting it reads: gaia-system | |
| Admin without password expiration | The setting it reads: password-expiration | |
| Palindrome password check disabled | set password-controls palindrome-check off line 19 of checkpoint-insecure.conf (the sample file) | |
| Juniper SRX | Weak 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) auth | In the Root settings of the export; the reader cites no single line for this check. | |
| No password minimum-length policy | The setting it reads: system | |
| Sophos XGS | Password complexity check disabled | In the Auth settings of the export; the reader cites no single line for this check. |
| pfSense | Console without password | The setting it reads: consolepass |
| SSH password auth permitted | The setting it reads: sshdkeyonly | |
| Weak password complexity | In the Users settings of the export; the reader cites no single line for this check. | |
| OPNsense | Console without password | The 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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | Limit accounts holding the super_admin profile | edit "admin" line 11 of failing.conf |
| Palo Alto PAN-OS | Limit superuser admin roles | In the Admin settings of the export; the reader cites no single line for this check. |
| Sophos XGS | Excessive super-administrator accounts | In the Auth settings of the export; the reader cites no single line for this check. |
| pfSense | Multiple users with admin privilege | In 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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | Admin idle timeout should be 5 minutes or less | set admintimeout 60 line 4 of failing.conf |
| Concurrent admin sessions should be disabled | set admin-concurrent enable line 5 of failing.conf | |
| Palo Alto PAN-OS | Management idle-timeout exceeds 10 minutes (or disabled) | <idle-timeout>60</idle-timeout> line 11 of paloalto-panos-insecure.xml (the sample file) |
| Cisco ASA | Console sessions never time out | In the Console settings of the export; the reader cites no single line for this check. |
| SSH idle timeout not configured | In the SSH settings of the export; the reader cites no single line for this check. | |
| Cisco Meraki | Dashboard 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 minutes | The setting it reads: loginSecurity | |
| Check Point | CLI idle timeout too long | set cli idle-timeout 60 line 36 of checkpoint-insecure.conf (the sample file) |
| Web UI session timeout too long | set web session-timeout 60 line 35 of checkpoint-insecure.conf (the sample file) | |
| Juniper SRX | Login class without idle-timeout | The setting it reads: system |
| Sophos XGS | Admin session timeout too long | The setting it reads: AdminSettings |
| WatchGuard | Management session/idle timeout disabled or excessive | In 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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | SSL-VPN portal with local-only authentication | In the VPN settings of the export; the reader cites no single line for this check. |
| Palo Alto PAN-OS | GlobalProtect exposed with no strong authentication control | In the GlobalProtect settings of the export; the reader cites no single line for this check. |
| Sophos XGS | SSL VPN without RADIUS / 2FA | In the VPN settings of the export; the reader cites no single line for this check. |
| WatchGuard | Mobile VPN MFA / AuthPoint not enforced | The setting it reads: sslvpn-list |
| pfSense | OpenVPN without tls-auth / tls-crypt key | In the OpenVPN settings of the export; the reader cites no single line for this check. |
| OpenVPN uses SHA1/MD5 auth digest | In the OpenVPN settings of the export; the reader cites no single line for this check. | |
| OPNsense | OpenVPN without tls-auth / tls-crypt | In 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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | IPsec 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 mode | The setting it reads: vpn ipsec phase1-interface (to-branch) | |
| Palo Alto PAN-OS | IKE Aggressive Mode enabled on a peer | In the VPN settings of the export; the reader cites no single line for this check. |
| IPsec proposal allows DES / 3DES / MD5 | In the VPN settings of the export; the reader cites no single line for this check. | |
| Cisco ASA | IPsec proposal uses a non-AES cipher | In the Crypto settings of the export; the reader cites no single line for this check. |
| IKE policy uses DES/3DES/MD5 | encryption 3des line 53 of cisco-asa-insecure.conf (the sample file) | |
| Juniper SRX | IKE aggressive mode enabled | set 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 PFS | The 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 XGS | IPsec policy uses 3DES / MD5 / aggressive mode | In the VPN settings of the export; the reader cites no single line for this check. |
| IPsec without PFS | In the VPN settings of the export; the reader cites no single line for this check. | |
| WatchGuard | BOVPN cipher weak | The setting it reads: ipsec-proposal-list |
| IKE/IPsec uses a weak Diffie-Hellman group | The setting it reads: ike-action-list | |
| pfSense | IPsec phase-1 in Aggressive mode | In the IPsec settings of the export; the reader cites no single line for this check. |
| IPsec phase-1 uses weak cipher / hash / DH group | In the IPsec settings of the export; the reader cites no single line for this check. | |
| OpenVPN allows weak cipher | In the OpenVPN settings of the export; the reader cites no single line for this check. | |
| OPNsense | IPsec phase-1 in Aggressive mode | In the IPsec settings of the export; the reader cites no single line for this check. |
| An IPsec phase 1 uses a weak Diffie-Hellman group | In the IPsec settings of the export; the reader cites no single line for this check. | |
| OpenVPN allows a weak cipher | In 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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | A policy named as inspected/secure carries no security profile | The setting it reads: firewall policy |
| Accept policies from untrusted zones should have an IPS sensor | edit 2 line 72 of fortinet-fortigate-insecure.conf (the sample file) | |
| Internet-bound policies should have SSL/SSH inspection | The setting it reads: firewall policy, system interface | |
| No deep SSL inspection profile applied to outbound policies | The setting it reads: firewall policy | |
| Inbound accept policies should run AV scanning | edit 2 line 72 of fortinet-fortigate-insecure.conf (the sample file) | |
| Palo Alto PAN-OS | No decryption rulebase configured | In 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 up | In 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 ASA | Default global_policy inspection map modified | In the Inspection settings of the export; the reader cites no single line for this check. |
| Threat detection disabled | In the Threat detection settings of the export; the reader cites no single line for this check. | |
| Cisco Meraki | IPS disabled on Security Appliance | The setting it reads: intrusion |
| IPS set to detect and not block | The setting it reads: intrusion | |
| Check Point | IPS profile disabled | The setting it reads: ips_profile |
| HTTPS inspection accepts weak ciphers | set https-inspection accept-weak-ssl line 70 of checkpoint-insecure.conf (the sample file) | |
| Sophos XGS | Anti-virus inspection disabled | The 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 disabled | The setting it reads: SSLTLSInspection | |
| HTTPS deep inspection disabled | In the Inspection settings of the export; the reader cites no single line for this check. | |
| Zero-day / sandbox analysis (Sandstorm) disabled | In the Threat settings of the export; the reader cites no single line for this check. | |
| Country/geo-IP blocking disabled | In the Threat settings of the export; the reader cites no single line for this check. | |
| WatchGuard | Gateway AV disabled | The setting it reads: proxy-action-list |
| IPS disabled | The setting it reads: intrusion-prevention.enabled | |
| HTTPS proxy without inspection | The setting it reads: proxy-action-list | |
| IPS disabled | The setting it reads: abs-policy-list | |
| pfSense | No 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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | No firewall policy should allow any-any-any with action accept | edit 2 line 72 of fortinet-fortigate-insecure.conf (the sample file) |
| Palo Alto PAN-OS | An allow rule uses service "any" instead of application-default | The setting it reads: service |
| Cisco ASA | An ACL permits any source to any destination | access-list OUTSIDE_IN extended permit ip any any line 38 of cisco-asa-insecure.conf (the sample file) |
| Cisco Meraki | L3 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 SRX | Security policy permit any-any | set 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 XGS | Any-any allow rule | <FirewallRule> line 91 of sophos-xgs-insecure.xml (the sample file) |
| WatchGuard | Policy allow any-any | The setting it reads: alias-list |
| pfSense | Any-any allow rule | <source><any/></source> line 69 of pfsense-insecure.xml (the sample file) |
| OPNsense | A 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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | Virtual IP static NAT with mappedip range covering many hosts | In the NAT settings of the export; the reader cites no single line for this check. |
| Disabled policies suggest pending cleanup | The setting it reads: firewall policy | |
| Palo Alto PAN-OS | Static NAT with any-source on management-port | In the NAT settings of the export; the reader cites no single line for this check. |
| Cisco ASA | NAT (any,any) identity statement | In the NAT settings of the export; the reader cites no single line for this check. |
| Cisco Meraki | Port forward open to any public source | The setting it reads: portForwardingRules |
| 1:1 NAT with broad inbound port range | The setting it reads: oneToOneNatRules | |
| Sophos XGS | Source NAT rule applies to traffic toward any destination | The setting it reads: SNAT dest |
| pfSense | Port forward (NAT 1:1 / rdr) with source = any | In the NAT settings of the export; the reader cites no single line for this check. |
| OPNsense | NAT 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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | A syslog destination should be configured | The setting it reads: log syslogd setting |
| Cisco ASA | No remote syslog destination | In the Logging settings of the export; the reader cites no single line for this check. |
| Syslog messages lack timestamps | In the Logging settings of the export; the reader cites no single line for this check. | |
| Cisco Meraki | Syslog server not configured (CIS 6.1.1) | The setting it reads: syslogServers |
| NetFlow / traffic analytics reporting disabled | The setting it reads: netflow | |
| Syslog server configured without security / IDS event roles | The setting it reads: syslogServers | |
| Check Point | No syslog destination | The setting it reads: gaia-system |
| Gaia system logs not forwarded to management (cplogs) | The setting it reads: gaia-system | |
| Juniper SRX | No syslog host configured | The setting it reads: system |
| Security (traffic) logs not streamed off-box | The setting it reads: security | |
| WatchGuard | No remote log server | In the Logging settings of the export; the reader cites no single line for this check. |
| pfSense | No remote syslog target | In the Logging settings of the export; the reader cites no single line for this check. |
| OPNsense | No remote syslog destination | In 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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | Accept policies should log UTM events at minimum | edit 99 line 32 of failing.conf |
| A policy named as logged/audited has logging disabled | The setting it reads: firewall policy | |
| Implicit-deny policy should log | edit 50 line 50 of failing.conf | |
| Implicit deny not configured to log violations | In the Policies settings of the export; the reader cites no single line for this check. | |
| Palo Alto PAN-OS | Allow rules without logging at session end | The setting it reads: rulebase security |
| Traffic dropped by the implicit deny is not logged | In the Policies settings of the export; the reader cites no single line for this check. | |
| Cisco ASA | Logging is not enabled | In the Logging settings of the export; the reader cites no single line for this check. |
| Administrative command accounting not enabled | In the AAA settings of the export; the reader cites no single line for this check. | |
| No explicit deny ip any any log | In the ACL settings of the export; the reader cites no single line for this check. | |
| No buffered logging configured | In the Logging settings of the export; the reader cites no single line for this check. | |
| Check Point | Management audit logging disabled | The setting it reads: gaia-system |
| Audit log not set to permanent | The setting it reads: gaia-system | |
| Juniper SRX | Default session log disabled | The setting it reads: security |
| Administrative commands not logged | The setting it reads: system | |
| Sophos XGS | No final logged deny rule | In the Policies settings of the export; the reader cites no single line for this check. |
| Web filtering set to log only | The setting it reads: WebFilteringMode | |
| WatchGuard | Default-deny / unhandled-packet logging disabled | In the Logging settings of the export; the reader cites no single line for this check. |
| Firewall policy with logging disabled | The 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.
| Firewall | Check | Where to look |
|---|---|---|
| Palo Alto PAN-OS | Threat content updates run less often than every 30 minutes | In 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 XGS | Signature / pattern auto-update disabled | In the Lifecycle settings of the export; the reader cites no single line for this check. |
| Firmware older than 2 quarters | The setting it reads: firmware | |
| WatchGuard | Security-service signature auto-update disabled | In the Services settings of the export; the reader cites no single line for this check. |
| pfSense | Firmware older than 2.7.x | The setting it reads: firmware |
| OPNsense | Firmware older than 23.7 | In 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.
| Firewall | Check | Where to look |
|---|---|---|
| FortiGate | NTP time synchronization should be enabled | The setting it reads: system ntp |
| Palo Alto PAN-OS | NTP without authentication | In the NTP settings of the export; the reader cites no single line for this check. |
| Cisco ASA | No NTP server configured | In the NTP settings of the export; the reader cites no single line for this check. |
| NTP without authentication | In the NTP settings of the export; the reader cites no single line for this check. | |
| Check Point | NTP disabled | In the NTP settings of the export; the reader cites no single line for this check. |
| Only one NTP server configured | The setting it reads: gaia-system | |
| Juniper SRX | No NTP server configured | The setting it reads: system |
| NTP without authentication | The setting it reads: system | |
| Sophos XGS | NTP time synchronization disabled | In the Time settings of the export; the reader cites no single line for this check. |
| WatchGuard | NTP time synchronization not configured | In the Time settings of the export; the reader cites no single line for this check. |
| pfSense | NTP server unset | In the NTP settings of the export; the reader cites no single line for this check. |
By firewall
The ten most severe checks for each firewall, with how to export the file:
- How to audit a Palo Alto firewall config: ten things to check
- How to audit a Cisco ASA firewall config: ten things to check
- How to audit a Check Point firewall config: ten things to check
- How to audit a Sophos XGS firewall config: ten things to check
- How to audit a Juniper SRX firewall config: ten things to check
- How to audit a WatchGuard firewall config: ten things to check
- How to audit a pfSense firewall config: ten things to check
- How to audit an OPNsense firewall config: ten things to check
- How to audit a FortiGate firewall config: ten things to 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.