Skip to content

FBI advisory on FortiGate (FortiBleed): what to check in your config

Firewall audit · Palo Alto · how-to

How to audit a Palo Alto firewall config: ten things to check

The ten most severe checks the review runs on a Palo Alto export, each with the setting or line it reads. The lines come from a made-up insecure sample file, so you can find the same setting in your own export.

Ten things to check

  1. Telnet is enabled on the management interface

    CriticalManagement

    Telnet transmits administrator credentials and session data in cleartext.

    <disable-telnet>no</disable-telnet> line 13 of paloalto-panos-insecure.xml (the sample file)

  2. A security rule allows any source, destination and application

    CriticalPolicies

    A rule from Any zone, Any source, Any service with action=allow is a default-allow rule.

    The setting it reads: rulebase security

  3. Admin account lockout not enforced

    HighAdmin

    CIS 1.4.2 / STIG require failed-attempt lockout on administrative authentication.

    <failed-attempts>0</failed-attempts> line 48 of paloalto-panos-insecure.xml (the sample file)

  4. HTTP (cleartext) management is enabled

    HighManagement

    Serving the web UI or API over plain HTTP exposes admin sessions and tokens to interception.

    <disable-http>no</disable-http> line 14 of paloalto-panos-insecure.xml (the sample file)

  5. Management/SSL service profile permits TLS 1.0/1.1

    HighManagement

    An SSL/TLS Service Profile with a minimum version of TLS 1.0 or 1.1 (or SSLv3) lets administrators and decryption negotiate deprecated, breakable protocol versions.

    <min-version>tls1-0</min-version> line 93 of paloalto-panos-insecure.xml (the sample file)

  6. Minimum password complexity is disabled

    HighPassword

    CIS 1.3.1 requires the Minimum Password Complexity feature be enabled so length and character-class rules are enforced for local administrators.

    <enabled>no</enabled> line 19 of complexity-disabled-failing.xml

  7. Allow rule matches application "any" (App-ID not used)

    HighPolicies

    A security rule with application=any permits any App-ID, defeating the core NGFW control.

    <application><member>any</member></application> line 70 of paloalto-panos-insecure.xml (the sample file)

  8. Allow rules without a Security Profile group

    HighPolicies

    Allow rules without a Profile group are not inspected for threats, AV, URLs, files, or DNS.

    <entry name="permit-outbound-all"> line 65 of paloalto-panos-insecure.xml (the sample file)

  9. Allow rules without logging at session end

    HighPolicies

    PAN-OS sets every security rule you create to log at session end by default; only the predefined intrazone-default and interzone-default rules start with logging off.

    The setting it reads: rulebase security

  10. SSH admin sign-in accepts passwords, not only keys

    HighAdmin

    Allowing password-only SSH for admins exposes the management plane to brute-force attempts.

    In the Admin settings of the export; the reader cites no single line for this check.

How to export the file

How long it takes: About 5 minutes per firewall.

  1. Web interface: Device → Setup → Operations → Export named configuration snapshot → choose running-config.xml → OK, and upload the running-config.xml it downloads

Every step, the command-line route, and the errors you may meet: the Palo Alto Networks PAN-OS export guide.

What the export does not show

  • Hit counts, so unused rules are not found
  • Address and service object contents in depth
  • Rule descriptions
  • Logs and traffic: this is the configuration and nothing else
  • Settings pushed from Panorama (device groups and templates): not in this export (Export device state includes them; that bundle is not read)

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 50 checks on a Palo Alto export. All of them, with the part of the export each reads: Palo Alto PAN-OS firewall audit from the config file. The same items across every firewall: the firewall audit checklist.