Dev.to Security πŸ” Cybersecurity πŸ‘ 0 πŸ“– 3 min read

Cyber insurance renewal: answering the firewall questions from your FortiGate config

The questions the renewal form asks, and the lines in the exported config that answer them. Many cyber insurance policies renew on 1 January, so December is when the renewal form lands on the IT desk. A good part of it

The questions the renewal form asks, and the lines in the exported config that answer them.

Many cyber insurance policies renew on 1 January, so December is when the renewal form lands on the IT desk. A good part of it is about the firewall, and most people answer those questions from memory. You can answer them from the exported configuration file instead, and keep the lines as your record of why you ticked each box.

Start by exporting the file: in the FortiGate console, the admin menu at the top right, Configuration, Backup. It is plain text. Open it in any editor.

1. "Is remote desktop or any admin interface reachable from the internet?"

Two places to look.

Admin access on outside interfaces:

config system interface
    edit "wan1"
        set allowaccess ping https ssh

If an internet-facing interface lists https, http, ssh or telnet, the honest answer is yes.

Remote desktop published through a port forward:

config firewall vip
    edit "rdp-server"
        set extport 3389
        set mappedport 3389

Search for 3389 and for set service "RDP" in the policies. A policy from the outside interface that allows RDP is the item insurers ask about most, because it is how many ransomware cases start.

2. "Is multi-factor authentication required for remote access?"

For VPN users kept on the firewall itself:

config user local
    edit "jsmith"
        set two-factor fortitoken

A local user with no two-factor line signs in with a password alone. If your VPN users come from a directory through RADIUS or SAML, the second factor is enforced there, and the firewall file will not show it. Say so on the form and keep the evidence from the directory side.

3. "Is multi-factor authentication required for administrator access?"

config system admin
    edit "netadmin"
        set two-factor fortitoken
        set trusthost1 10.10.20.0 255.255.255.0

Check every admin entry for a two-factor line. While you are there, a trusthost line limits where that admin can log in from, which is worth mentioning if the form has a open text box.

4. "Is the network segmented?"

The form means: if one machine is taken over, can it reach everything else? Look at the policies between your internal interfaces:

edit 12
    set srcintf "internal"
    set dstintf "servers"
    set srcaddr "all"
    set dstaddr "all"
    set service "ALL"
    set action accept

Separate interfaces with an allow-everything policy between them are not segmentation. If you find one of these, the accurate answer is "partly", and the rule is worth tightening before the renewal date.

5. "Are firewall logs kept and sent to a central system?"

config log syslogd setting
    set status enable
    set server "10.10.30.15"

or the same under config log fortianalyzer setting. Then check the policies themselves: set logtraffic disable on an internet-facing rule means that rule leaves no record.

6. "Is the firewall running supported software?"

The top line of the file tells you:

#config-version=FGT100F-7.2.8-FW-build1639-240313:opmode=0:vdom=0:user=admin

That is the model and the firmware version. Compare it with Fortinet's published support dates for that release.

7. "When were the firewall rules last reviewed?"

The file cannot answer this one for you, but it is the question behind all the others. If the answer is "not this year", the review is the thing to do before you sign the form. Reading every policy by hand takes a day or two on a firewall with a few hundred rules.

This is the work we do at CyberTwin. We read the exported config, run 55 checks like the ones above, and trace which rules let the internet reach internal systems and which single change closes the most routes. Nothing is installed and nothing connects to your network. If you want to see it on a policy block of your own, there is a box on our sample page that runs in your browser, and the file stays on your machine:

https://cybertwin.io/sample#your-config

What we check on a FortiGate export, and what the export does not show:

https://cybertwin.io/firewall-audit/fortinet-fortigate

πŸ“° Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.