Skip to content
FortiGate configuration review

Your FortiGate config, read line by line.

CyberTwin reads your firewall, identity and cloud configuration files and shows the attack paths to your crown jewels, the one change that cuts the most of them, and the loss range a year.

Sample company: Acme Capital (fictional)

13 attack paths to 7 crown jewels

The one changeNarrow FortiGate policy 47, line 1292cuts 6 of 13 paths

Loss exposure a yearUp to $3.6MMODELED

See the whole sample →

On a computer: paste your own configuration and see its attack paths.

Upload the full-configuration export of a FortiGate. CyberTwin reads it section by section, names each finding at the line it came from with a written fix, draws the attack paths through the firewall to your crown jewels, and picks the one change that breaks the most of them. Nothing connects to your firewall.

FortiOS 6.4.0 to 7.6.xthe releases the reader was confirmed on
15configuration sections read on our sample exports
82%of findings cite their line (42 of 51, on 4 sample exports)
PROVENthe highest grade a FortiGate finding can carry
One finding, at its line

One rule open to any source, and the line that does it.

In the sample company's FortiGate export, policy 47 accepts any source address on the internal interface to the payments network. The finding names line 1292, the setting, and the change: name the group of clients that need it. Press the line to see the attack paths it cuts.
Acme Capital/The one changeTodayAfter the one change
PROVENOBSERVEDDECLAREDMODELED
Sample company: Acme Capital (fictional)
HF

Narrow FortiGate policy 47

Proven
HQ FortiGate · firewall policy 47lines 1290 to 1297 of 1,385
1290 set srcintf "internal-corp"
1291 set dstintf "prod-payments"
1292 set srcaddr "<source address group>"
1293 set dstaddr "prod-payments-net"
1294 set action accept
1295 set status enable
1296 set schedule "always"
1297 set service "HTTPS" "PGSQL"

You name the group: the clients that need prod-payments.

Press line 1292 to make the change.

Fixes by paths cut

top 6 of 20 fixes
Narrow policy 47HQ FortiGate · firewall policy 47 · line 12886
Remove the CloudOps MFA exclusionEntra ID · Conditional Access › Tenant MFA › excluded6
Token protection for CloudOpsEntra ID · Conditional Access › session controls6
Console MFA for cloudops-adminAWS IAM · user cloudops-admin › MFA devices5
Scope down PowerUserRoleAWS IAM · role PowerUserRole › attached policies4
Restrict policy 51HQ FortiGate · firewall policy 51 · line 13473
The one change sits at the top: it cuts the most paths.
Press the changed line: the struck line, the new line and the fix move to “after the one change” together.

Sample company: Acme Capital (fictional) A finding is PROVEN when the engine reads the stored file a second time and finds the setting at the place the finding names. Any other finding read from the file is OBSERVED. Paths and dollar ranges are MODELED.

What is read

What the review reads in a FortiGate export.

Every table: firewall policies, address and service objects, VIPs, VPNs, admin accounts, interfaces, logging and feature settings. full-configuration also prints defaults, so settings left at their default are visible.

Firewall policies: any-any accepts, logging, and the security profiles each accept policy applies (web filter, application control, IPS, antivirus, SSL inspection)

Admin accounts: two-factor, trusted hosts, lockout, idle timeout, the default admin and how many hold super_admin

Management access on WAN interfaces (HTTPS, SSH, SNMP) and interface roles

Crypto and VPN settings: strong-crypto, admin TLS version, SSH version, IPsec Diffie-Hellman groups and IKE version

SSL-VPN: RADIUS/MFA, source restriction and login limits

VIPs and central NAT

Password policy, syslog, NTP, FortiGuard updates and HA mode

SNMP communities

Sections read on our sample exports: system global, system password-policy, system ntp, system auto-install, system admin, system interface, firewall policy, log setting, log syslogd setting, system ha, ips global, vpn ssl settings, system autoupdate schedule, system snmp community, vpn ipsec phase1-interface.

What is not read

Where the review stops, said plainly.

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

How to export it

One export, from the CLI or the GUI.

Where: FortiGate CLI over SSH or the console, or the GUI, signed in as an administrator with the super_admin profile.
  1. macOS or Linux: log the SSH session to a file with ssh <user>@<fortigate-ip> | tee fortigate.conf (<user> is your super_admin account)
  2. Windows (PuTTY): Session → Logging → "Printable output" → choose the log file, then open the SSH session
  3. config system console
  4. set output standard (turns off the --More-- paging that cuts the output)
  5. end
  6. show full-configuration (wait for the prompt to come back and keep the session open: the step after this one puts the paging back with set output more and says how to trim the log file before you upload it)
  7. After the configuration has printed, put the paging back: config system console then set output more then end Then close the session and open the log file. Our reader needs the top line of the file to be the one that starts with #config-version= , so delete every line above it. Also delete every line after the configuration (the prompt lines and the three commands you just typed). Save the file and upload it.
  8. GUI (FortiOS 7.x): click your user name (in the upper right-hand corner) → Configuration → Backup → Backup to: Local PC → File format: FortiOS (not YAML) → leave Encryption and Password mask off → OK, and upload the .conf (on FortiOS 8.0.1 and later this screen has no unprotected choice: use the command-line steps there)

Fortinet says "Read access is required to view configurations", so an account without read access to an area does not get that area in the output; the super_admin profile has "access to all components of FortiOS". With virtual domains (VDOMs) enabled, Fortinet’s examples enter a global setting after config global and leave it with one more end; a multi-VDOM file is not read yet, and the upload lists the sections it skipped. set output standard is saved on the FortiGate (its default is more): the last command-line step puts it back. About the GUI backup: Fortinet’s backup pages for 7.0.17, 7.2.11, 7.4.13, 7.6.8 and 8.0.0 show the screen the GUI step describes (FortiOS 7.0 has no File format field). From 7.2.1 it also has Password mask, which replaces passwords and secrets with FortinetPasswordMask; Fortinet’s steps for it choose the YAML format, which the review does not read, so leave it off. From FortiOS 8.0.1 the screen has Security option instead, with no choice that leaves the file unprotected, and a file made there has not been tried with the review yet.

Every system we read, and how deeply: the vendor table.

Plans

Every plan reviews a FortiGate export.

Prices and what each plan adds are on the pricing page.
Pricing/Plans
Assess$4,800a yearBilled by the year

For a team facing its next audit, a board question or a customer security questionnaire.

Operate$14,400a yearor $1,499 a month

For the in-house team that owns security week to week.

ProgramRecommended$36,000a yearBilled by the year

For the security program that has to show its posture all year, with the evidence behind it.

EnterpriseContact usQuoted for your organization

For organizations that need the engine on their own infrastructure, under their own brand.

Prices from the published catalogCompare the plans

Read your FortiGate the way the sample is read.

Run the sample to see a FortiGate finding at its line, or buy a plan and upload your own export.