The 55 checks run on the FortiGate export
These are the checks that reached a result on a FortiGate export in its own layout in our tests: the same 55 the vendor table counts as checks run. Each row says what part of the export the check reads.
Auth 9
| Check | Severity | Reads |
|---|---|---|
| Admin accounts must enforce two-factor authentication | Critical | system admin |
| Every admin account must set a password | Critical | system admin |
| Admin lockout threshold should be configured | High | system global |
| Admin accounts should restrict source IPs (trusthost) | High | system admin |
| Default `admin` account should be renamed or disabled | Medium | system admin |
| Admin HTTPS redirect should be enabled | Medium | the Auth settings |
| Admin idle timeout should be 5 minutes or less | Medium | system global |
| Limit accounts holding the super_admin profile | Medium | system admin |
| Concurrent admin sessions should be disabled | Low | system global |
Crypto 6
| Check | Severity | Reads |
|---|---|---|
| SSHv1 must not be permitted | Critical | system global |
| IPsec phase-1 should not use weak DH groups (1, 2, 5) | High | vpn ipsec phase1-interface |
| IPsec phase-1 should negotiate over IKEv2, not IKEv1 | High | vpn ipsec phase1-interface |
| `strong-crypto` should be enabled | High | system global |
| Admin HTTPS must require TLS 1.2 or higher | High | system global |
| Admin GUI should not use the factory/self-signed certificate | Medium | the Crypto settings |
HA 2
| Check | Severity | Reads |
|---|---|---|
| Production firewalls should run in HA | Medium | system ha |
| Active-active HA carries operational caveats | Info | the HA settings |
Inspection 1
| Check | Severity | Reads |
|---|---|---|
| No deep SSL inspection profile applied to outbound policies | Medium | firewall policy |
Intent 4
| Check | Severity | Reads |
|---|---|---|
| A policy named as a block/deny rule is set to ACCEPT | High | firewall policy |
| A policy named as inspected/secure carries no security profile | High | firewall policy |
| A policy named as restricted/scoped uses an any selector | High | firewall policy |
| A policy named as logged/audited has logging disabled | Medium | firewall policy |
Interfaces 5
| Check | Severity | Reads |
|---|---|---|
| WAN interfaces should not allow HTTPS management | Critical | system interface |
| WAN interfaces should not allow SSH | Critical | system interface |
| CIS 4.1: no SNMP community is named `public` | High | system snmp community |
| WAN interfaces should not allow SNMP | High | system interface |
| Every interface should have a role assigned | Low | system interface |
Logging 3
| Check | Severity | Reads |
|---|---|---|
| A syslog destination should be configured | High | log syslogd setting |
| Configuration revision backup should be enabled | Medium | system global |
| Timezone should be explicitly set | Low | system global |
NAT 2
| Check | Severity | Reads |
|---|---|---|
| Virtual IP static NAT with mappedip range covering many hosts | High | the NAT settings |
| Mixed central + per-policy NAT | Low | the NAT settings |
Password policy 4
| Check | Severity | Reads |
|---|---|---|
| A password policy must be enforced | High | system password-policy |
| Password policy should require character complexity | Medium | system password-policy |
| Password minimum length should be at least 14 | Medium | the Password policy settings |
| Admin passwords should expire | Low | system password-policy |
Policies 12
| Check | Severity | Reads |
|---|---|---|
| No firewall policy should allow any-any-any with action accept | Critical | firewall policy |
| Accept policies from untrusted zones should have an IPS sensor | High | firewall policy, system interface |
| Accept policies should log UTM events at minimum | High | firewall policy |
| Internet-bound policies should have SSL/SSH inspection | High | firewall policy, system interface |
| Accept policies should apply an application-control profile | Medium | firewall policy |
| Inbound accept policies should run AV scanning | Medium | firewall policy, system interface |
| Implicit-deny policy should log | Medium | firewall policy |
| Outbound accept policies should apply a DNS filter profile | Medium | firewall policy |
| Accept policies should apply a web filter profile | Medium | firewall policy |
| Implicit deny not configured to log violations | Medium | the Policies settings |
| Disabled policies suggest pending cleanup | Low | firewall policy |
| Policies should be named for searchability | Low | firewall policy |
SNMP 1
| Check | Severity | Reads |
|---|---|---|
| SNMP must not use a default/public community or SNMPv1 | High | system snmp community |
System 4
| Check | Severity | Reads |
|---|---|---|
| The maintainer (physical-access reset) account should be disabled | Medium | system global |
| NTP time synchronization should be enabled | Medium | system ntp |
| USB auto-install should be disabled | Medium | system auto-install |
| A pre-login warning banner should be configured | Low | system global |
VPN 2
| Check | Severity | Reads |
|---|---|---|
| IPsec phase-1 in aggressive mode | High | vpn ipsec phase1-interface (to-branch) |
| SSL-VPN portal with local-only authentication | High | the VPN settings |
The FortiGate export
- How long it takes
- About 5 minutes per FortiGate; a large configuration takes a minute or two more to print.
- Who can pull it
- An administrator with the super_admin profile, or a profile with System set to Read/Write
- The file
- Plain text, one .conf file in FortiOS command-line interface (CLI) syntax. Our reader needs its top line to start with #config-version=
- Formats read
- show full-configuration text export
The steps, console and command line, are on the Fortinet FortiGate export guide.
What the export does not show
- Multi-VDOM files: settings inside config global and config vdom blocks are not read yet
- Rule comments, so rule documentation is not checked
- Hit counts, so unused rules are not found
- Logs, sessions and traffic: this is the configuration and nothing else
Limits of the reader
- Multi-VDOM exports are read as partial: the settings inside config global and each VDOM are not read, and the review says so.
- 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 FortiGate finding from the sample
Policy 47 allows any internal-corp traffic to prod-payments
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.
FortiGate 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 FortiGate 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 FortiGate export take?
About 5 minutes per FortiGate; a large configuration takes a minute or two more to print.
What does the FortiGate export not show?
Multi-VDOM files: settings inside config global and config vdom blocks are not read yet. Rule comments, so rule documentation is not checked. Hit counts, so unused rules are not found. Logs, sessions and traffic: this is the configuration and nothing else.
Does the file hold passwords or keys?
Fortinet: "The passwords, and private keys used in certificates, that are stored on the FortiGate are encrypted using a predefined private key". They show as ENC values, and Fortinet advisory FG-IR-19-007 says to consider them "easy to decrypt" if the file gets out. Administrator passwords are stored as hashes. With private-data-encryption on (it is off by default) the FortiGate uses its own key. 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.