How are passwords and keys stored in PAN xml config files

Showing results for 
Search instead for 
Did you mean: 

How are passwords and keys stored in PAN xml config files

Not applicable

Are they hashed before storing them in the config files? By the looks of them, it seems like the PAN appliance is storing them in an encrypted format. If so, can they be decrypted?

For example, an OSPF key is stored as follows


This pattern can be observed in almost all of the keys/passwords stored in the XML config. Is there a way to decrypt these keys. I am particularly interested in the OSPF MD5 keys as I need to add new routers to our network but I don't know the key.

Has anyone successfully decrypted a PAN key?



Do you remove private keys also ? I have many private keys here for SSL decryption and VPN.

Yes, we have removed the public and private keys.  These seem to be at the beginning of the XML configuration file and can be manually removed.

After some investigations, the techdump.tgz file seems to be cleaned of its passwords and private keys, so techdumps are not a threat. Just be careful when you export the config.xml , this one has them all.

Hashed password. You can use openssl passwd to compute the md5 phash.

Yes, administrator passwords for login to the firewall are hashed (looks like standard Linux/FreeBSD salted MD5), but what about passwords used externally? For example, the bind-password for LDAP or ActiveDirectory service accounts. Mine starts with <bind-password>-AQ==

you can also use the 'request password-hash' operational mode CLI command.

I also noticed that when I create users via the API in 4.1, I can send the passwords in clear.

L1 Bithead


Is this still the case for 5.0.X PAs ?

Given that PA recently got approved for various security oriented certificates I sure do hope this has been fixed or at least noted in these tests:

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!