Skip to content
Firewall audit · from the configuration

Cisco ASA firewall audit from the config file

Export the Cisco ASA configuration, upload the config file, and the review runs 42 checks on it, each on the setting it reads. Nothing connects to the firewall.

The 42 checks run on the Cisco ASA export

These are the checks that reached a result on a Cisco ASA export in its own layout in our tests: the same 42 the vendor table counts as checks run. Each row says what part of the export the check reads.

AAA 5

CheckSeverityReads
AAA uses local accounts only (no TACACS+ or RADIUS) Highthe AAA settings
Administrative command accounting not enabled Mediumthe AAA settings
Per-command authorization not enforced Mediumthe AAA settings
Enable mode not protected by AAA Mediumthe AAA settings
Only one TACACS+ server is configured Mediumthe AAA settings

ACL 2

CheckSeverityReads
An ACL permits any source to any destination Criticalthe ACL settings
No explicit deny ip any any log Mediumthe ACL settings

Banner 1

CheckSeverityReads
No login banner configured Lowthe Banner settings

Cluster 1

CheckSeverityReads
No failover / cluster configured (single point of failure) Lowthe Cluster settings

Console 1

CheckSeverityReads
Console sessions never time out Mediumthe Console settings

Crypto 2

CheckSeverityReads
IPsec proposal uses a non-AES cipher Highthe Crypto settings
FIPS mode not enabled Lowthe Crypto settings

DHCP 1

CheckSeverityReads
DHCP server / relay listening on outside interface Highthe DHCP settings

ICMP 1

CheckSeverityReads
ICMP unfiltered on outside Lowthe ICMP settings

Inspection 1

CheckSeverityReads
Default global_policy inspection map modified Mediumthe Inspection settings

Logging 4

CheckSeverityReads
No remote syslog destination Highthe Logging settings
Logging is not enabled Highthe Logging settings
No buffered logging configured Lowthe Logging settings
Syslog messages lack timestamps Lowthe Logging settings

Management 4

CheckSeverityReads
Telnet allowed for management Criticalthe Management settings
SSH management allowed from any source (0.0.0.0/0) Criticalthe Management settings
ASDM/HTTPS management allowed from any source (0.0.0.0/0) Highthe Management settings
Login banner missing pre-auth notice Lowthe Management settings

NAT 2

CheckSeverityReads
Static NAT exposing internal host on outside Highthe NAT settings
NAT (any,any) identity statement Mediumthe NAT settings

NTP 2

CheckSeverityReads
No NTP server configured Mediumthe NTP settings
NTP without authentication Lowthe NTP settings

Object group 1

CheckSeverityReads
Object-group with > 200 members Lowthe Object group settings

Password 3

CheckSeverityReads
Stored passwords not AES-encrypted (no master passphrase) Mediumthe Password settings
Local passwords can be shorter than 14 characters Mediumthe Password settings
Local password expiry not configured Lowthe Password settings

Routes 1

CheckSeverityReads
Default route via outside without backup Lowthe Routes settings

SNMP 2

CheckSeverityReads
SNMP community `public` exposed Highthe SNMP settings
SNMP host uses a v1/v2c community Mediumthe SNMP settings

SSH 3

CheckSeverityReads
SSH version 1 enabled Criticalthe SSH settings
SSH key-exchange uses a weak (SHA-1) group Mediumthe SSH settings
SSH idle timeout not configured Lowthe SSH settings

Threat detection 1

CheckSeverityReads
Threat detection disabled Mediumthe Threat detection settings

TLS 1

CheckSeverityReads
Weak SSL/TLS ciphers permitted Highthe TLS settings

VPN 3

CheckSeverityReads
IKE policy uses DES/3DES/MD5 Highthe VPN settings
AnyConnect split tunnel includes default route Mediumthe VPN settings
IPsec without Perfect Forward Secrecy Mediumthe VPN settings

3 more items are guidance only: an export cannot show them, so they are not counted as checks.

The Cisco ASA export

How long it takes
About 5 minutes per ASA.
Who can pull it
An account that reaches privileged EXEC mode (enable, privilege level 15): more system:running-config runs only in privileged EXEC mode, and on an ASA every command not on the short level-0 list sits at privilege level 15 unless someone reassigned it. Exporting only prints the configuration; nothing changes. ASDM’s predefined Read Only (privilege level 5) role is read-only, but Cisco’s page does not list the commands it may run; if it can run show running-config, that copy is read too, with passwords and keys masked as *****, so the check for the SNMP community "public" cannot run on it.
The file
Plain text, one asa.txt holding the running configuration, starting with : Saved and ASA Version <version>
Formats read
show running-config text export

The steps, console and command line, are on the Cisco ASA / Firepower export guide.

What the export does not show

  • Hit counts (show access-list), so unused rules are not found
  • Object groups whose members are not in the file (fqdn objects, undefined names, IPv6 members): an entry that uses one is kept out of shadowed and redundant checks
  • Logs and live connections: this is the configuration only
  • Pre-shared key reuse across VPN peers: not checked yet
  • NAT exemption for VPN traffic: not checked yet

Limits of the reader

  • The checks of this system are not counted: a check counts once a test shows it 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 Cisco ASA finding from the sample

Sample company: Acme Capital (fictional)

Deny rule hidden behind an allow-all

HighCisco ASA · access-list OUTSIDE_IN

From the sample company’s own estate. Run the sample to see it with its fix and the attack paths it sits on.

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.

Cisco ASA 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 Cisco ASA 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 Cisco ASA export take?

About 5 minutes per ASA.

What does the Cisco ASA export not show?

Hit counts (show access-list), so unused rules are not found. Object groups whose members are not in the file (fqdn objects, undefined names, IPv6 members): an entry that uses one is kept out of shadowed and redundant checks. Logs and live connections: this is the configuration only. Pre-shared key reuse across VPN peers: not checked yet. NAT exemption for VPN traffic: not checked yet.