Skip to content

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

Firewall audit · Cisco ASA · how-to

How to audit a Cisco ASA firewall config: ten things to check

The ten most severe checks the review runs on a Cisco ASA 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. An ACL permits any source to any destination

    CriticalACL

    An access list permits IP traffic from any source to any destination, which makes it a default-allow rule.

    access-list OUTSIDE_IN extended permit ip any any line 38 of cisco-asa-insecure.conf (the sample file)

  2. Telnet allowed for management

    CriticalManagement

    Telnet is allowed for management, so admin passwords cross the network in clear text.

    telnet 0.0.0.0 0.0.0.0 inside line 18 of cisco-asa-insecure.conf (the sample file)

  3. SSH management allowed from any source (0.0.0.0/0)

    CriticalManagement

    An `ssh 0.0.0.0 0.0.0.0` entry means anyone who can reach that interface can try SSH logins against the ASA, from any address.

    ssh 0.0.0.0 0.0.0.0 outside line 15 of cisco-asa-insecure.conf (the sample file)

  4. SSH version 1 enabled

    CriticalSSH

    The ASA accepts SSH version 1, which has known cryptographic weaknesses.

    ssh version 1 line 16 of cisco-asa-insecure.conf (the sample file)

  5. ASDM/HTTPS management allowed from any source (0.0.0.0/0)

    HighManagement

    An `http 0.0.0.0 0.0.0.0` entry exposes the ASDM/HTTPS management interface to every host on that interface.

    http 0.0.0.0 0.0.0.0 outside line 14 of cisco-asa-insecure.conf (the sample file)

  6. Static NAT exposing internal host on outside

    HighNAT

    Static NAT publishes an internal host on the outside interface; check that an inbound access-list limits it to the services it serves.

    nat (inside,outside) static 203.0.113.50 line 45 of cisco-asa-insecure.conf (the sample file)

  7. SNMP community `public` exposed

    HighSNMP

    The SNMP community is "public", which anyone can guess.

    snmp-server community public line 67 of cisco-asa-insecure.conf (the sample file)

  8. IKE policy uses DES/3DES/MD5

    HighVPN

    An IKE policy uses DES, 3DES or MD5, which can be broken.

    encryption 3des line 53 of cisco-asa-insecure.conf (the sample file)

  9. AAA uses local accounts only (no TACACS+ or RADIUS)

    HighAAA

    Admins sign in with local accounts only, so their logins are not checked or logged centrally, which most audit baselines require.

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

  10. IPsec proposal uses a non-AES cipher

    HighCrypto

    An IPsec proposal uses DES or 3DES, which can be broken.

    In the Crypto 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 ASA.

  1. ASDM: Tools → Command Line Interface → Single Line → type more system:running-config → Send. When the Response area fills, select all of it, paste it into a new text file, delete any line above the first line of the configuration (: Saved or ASA Version), save it as asa.txt and upload it

Every step, the command-line route, and the errors you may meet: 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

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