Skip to content
Firewall audit · from the configuration

Palo Alto PAN-OS firewall audit from the config file

Export the Palo Alto PAN-OS configuration, upload the config file, and the review runs 50 checks on it, each on the setting it reads. Nothing connects to the firewall.

The 50 checks run on the Palo Alto PAN-OS export

These are the checks that reached a result on a Palo Alto PAN-OS export in its own layout in our tests: the same 50 the vendor table counts as checks run. Each row says what part of the export the check reads.

Admin 4

CheckSeverityReads
Admin account lockout not enforced Highno
SSH admin sign-in accepts passwords, not only keys Highthe Admin settings
Admin password minimum length below 16 Mediummgt-config password-complexity
Limit superuser admin roles Mediumthe Admin settings

Captive portal 1

CheckSeverityReads
Captive portal without MFA Mediumthe Captive portal settings

CLI 1

CheckSeverityReads
No commit lock policy Lowthe CLI settings

Dataplane 1

CheckSeverityReads
No DoS Protection policy on an internet-facing zone Mediumthe Dataplane settings

Decryption 2

CheckSeverityReads
No decryption rulebase configured Highthe Decryption settings
Decryption profile does not block weak/unsupported sessions Mediumthe Decryption settings

DNS security 1

CheckSeverityReads
DNS Security is not applied Mediumthe DNS security settings

Ethernet 1

CheckSeverityReads
Layer 2 mode in production Infothe Ethernet settings

GlobalProtect 2

CheckSeverityReads
No second factor found on GlobalProtect sign-in Highthe GlobalProtect settings
GlobalProtect exposed with no strong authentication control Highthe GlobalProtect settings

HA 2

CheckSeverityReads
HA configured without link or path monitoring Mediumthe HA settings
High availability is turned off Mediumthe HA settings

Inspection 1

CheckSeverityReads
An allow rule uses service "any" instead of application-default Mediumservice

Management 6

CheckSeverityReads
Telnet is enabled on the management interface Criticaldeviceconfig system
HTTP (cleartext) management is enabled Highdeviceconfig system
Management plane has no Permitted IP allow-list Highthe Management settings
Management/SSL service profile permits TLS 1.0/1.1 Highthe Management settings
Management idle-timeout exceeds 10 minutes (or disabled) Mediumdeviceconfig setting
Login banner missing or uses a welcoming greeting Lowno

Management profile 1

CheckSeverityReads
A management profile allows HTTPS on a data-plane interface Highthe Management profile settings

NAT 2

CheckSeverityReads
Static NAT with any-source on management-port Highthe NAT settings
NAT rules overlapping security policy Mediumthe NAT settings

NTP 1

CheckSeverityReads
NTP without authentication Lowthe NTP settings

Password 4

CheckSeverityReads
Minimum password complexity is disabled Highmgt-config password-complexity
Password complexity missing character-class requirements Mediummgt-config password-complexity
Administrator passwords never expire Lowmgt-config password-complexity
Password reuse history is below 24 Lowmgt-config password-complexity

Policies 8

CheckSeverityReads
A security rule allows any source, destination and application Criticalrulebase security
Allow rule matches application "any" (App-ID not used) Highrulebase security
Allow rules without logging at session end Highrulebase security
Allow rules without a Security Profile group Highthe Policies settings
Traffic dropped by the implicit deny is not logged Mediumthe Policies settings
Rules without descriptive names Lowthe Policies settings
Rules do not use User-ID Lowsource-user
Disabled security rules left in the rulebase Inforulebase security

Security profile 2

CheckSeverityReads
No anti-spyware profile attached Highthe Security profile settings
WildFire analysis of unknown files is not set up Highthe Security profile settings

SNMP 1

CheckSeverityReads
SNMP v2c (community-based) polling is in use Mediumdeviceconfig system

Threat prevention 1

CheckSeverityReads
Threat content updates run less often than every 30 minutes Mediumthe Threat prevention settings

Updates 2

CheckSeverityReads
Antivirus content not updated at least hourly Mediumdeviceconfig system
Update/Dynamic-update server identity verification disabled Mediumdeviceconfig system

URL filtering 1

CheckSeverityReads
URL Filtering does not block the malware category Highthe URL filtering settings

User-ID 1

CheckSeverityReads
User-ID is not enabled on any zone Mediumthe User-ID settings

VPN 3

CheckSeverityReads
IKE Aggressive Mode enabled on a peer Highthe VPN settings
IPsec pre-shared key reused across peers Highthe VPN settings
IPsec proposal allows DES / 3DES / MD5 Highthe VPN settings

Zone 1

CheckSeverityReads
No zone has a Zone Protection profile Mediumthe Zone settings

The Palo Alto PAN-OS export

How long it takes
About 5 minutes per firewall.
Who can pull it
The predefined Superuser role. Palo Alto: "Only administrators with the predefined Superuser role can export or import firewall configurations and shut down the firewall." No narrower role is documented for this export. For the API route the role must also have the XML API enabled. Superuser (read-only) is described as "Read-only access to the firewall (enables the XML API in a read-only state)", and Palo Alto does not say whether that role, or a custom Admin Role profile, may run the API export: if the export answers with an error instead of the file, have a Superuser run it.
The file
XML, one running-config.xml: the firewall’s running configuration, starting with <?xml and a <config …> element
Formats read
PAN-OS XML running config (export) · `set`-format export

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

Limits of the reader

  • A Panorama export (device groups, templates, or shared pre- and post-rules with no firewall rulebase) is refused: upload running-config.xml from each firewall.
  • A firewall managed by Panorama: the rules and settings Panorama pushes to it are not in its export, so its review is partial.
  • Pre- and post-rules in a firewall export are read in file order, not in the order the firewall applies them, so the review is partial.
  • Security profile groups are read by name. The profiles inside a group are not checked.
  • If your export leaves a section out, the review does not flag it as partial.
  • 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 Palo Alto PAN-OS finding from the sample

Sample company: Acme Capital (fictional)

Telnet allowed for management

Criticaldeviceconfig system · line 13

Raised by the review on a made-up insecure Palo Alto PAN-OS file: paloalto-panos-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.

Palo Alto PAN-OS findings feed attack paths: each one can be a step on a path an attacker could take to your crown jewels.

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

Questions

Does the Palo Alto PAN-OS 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 Palo Alto PAN-OS export take?

About 5 minutes per firewall.

What does the Palo Alto PAN-OS export 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).

Does the file hold passwords or keys?

Palo Alto: "A master key encrypts all private keys and passwords in a configuration", every firewall "has a default master key", and "The default master key is publicly known and poses a critical security risk". So on a firewall that still uses the default master key, treat every key and password in the file as readable by anyone who holds the file. 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.