The 27 checks run on the OPNsense export
These are the checks that reached a result on a OPNsense export in its own layout in our tests: the same 27 the vendor table counts as checks run. Each row says what part of the export the check reads.
Admin 1
| Check | Severity | Reads |
|---|---|---|
| Web interface served over HTTP | High | the Admin settings |
Alias 1
| Check | Severity | Reads |
|---|---|---|
| URL-table alias refresh > 7d | Low | the Alias settings |
Auth 1
| Check | Severity | Reads |
|---|---|---|
| LDAP auth without TLS | High | the Auth settings |
Captive portal 1
| Check | Severity | Reads |
|---|---|---|
| Captive portal login served over HTTP | High | the Captive portal settings |
Console 1
| Check | Severity | Reads |
|---|---|---|
| Console without password | High | system: no <disableconsolemenu> (console menu not password protected) |
Cron 1
| Check | Severity | Reads |
|---|---|---|
| Custom cron jobs not signed | Low | the Cron settings |
DNS 1
| Check | Severity | Reads |
|---|---|---|
| Unbound DNSSEC disabled | Medium | the DNS settings |
Firewall 1
| Check | Severity | Reads |
|---|---|---|
| A pass rule allows any source to any destination | Critical | filter rule "Temporary: allow all in" on wan |
Firmware 1
| Check | Severity | Reads |
|---|---|---|
| Firmware older than 23.7 | Medium | the Firmware settings |
Gateway 1
| Check | Severity | Reads |
|---|---|---|
| Gateway health checks turned off | Low | the Gateway settings |
HTTP proxy 1
| Check | Severity | Reads |
|---|---|---|
| Web proxy without TLS interception | Medium | the HTTP proxy settings |
IDS 1
| Check | Severity | Reads |
|---|---|---|
| IDS/Suricata disabled | High | the IDS settings |
IPsec 2
| Check | Severity | Reads |
|---|---|---|
| IPsec phase-1 in Aggressive mode | High | the IPsec settings |
| An IPsec phase 1 uses a weak Diffie-Hellman group | High | the IPsec settings |
Logging 1
| Check | Severity | Reads |
|---|---|---|
| No remote syslog destination | High | the Logging settings |
NAT 2
| Check | Severity | Reads |
|---|---|---|
| NAT port forward with source = any | High | port forward "Publish DMZ web server" |
| Outbound NAT in Disabled mode | Medium | the NAT settings |
OpenVPN 2
| Check | Severity | Reads |
|---|---|---|
| OpenVPN allows a weak cipher | High | the OpenVPN settings |
| OpenVPN without tls-auth / tls-crypt | Medium | the OpenVPN settings |
Other checks 1
| Check | Severity | Reads |
|---|---|---|
| No NGFW package (Zenarmor/Sensei) | Medium | the Other checks settings |
SNMP 1
| Check | Severity | Reads |
|---|---|---|
| SNMPv2c uses the public community | High | the SNMP settings |
SSH 2
| Check | Severity | Reads |
|---|---|---|
| SSH root login allowed | High | the SSH settings |
| SSH password auth permitted | High | the SSH settings |
Suricata 1
| Check | Severity | Reads |
|---|---|---|
| Suricata in IDS-only (not inline) | Medium | the Suricata settings |
Tunables 1
| Check | Severity | Reads |
|---|---|---|
| ICMP broadcasts respond | Medium | the Tunables settings |
Users 1
| Check | Severity | Reads |
|---|---|---|
| Many users in admins group | Medium | the Users settings |
WireGuard 1
| Check | Severity | Reads |
|---|---|---|
| WireGuard peer with AllowedIPs=0.0.0.0/0 | Medium | the WireGuard settings |
3 more items are guidance only: an export cannot show them, so they are not counted as checks.
The OPNsense export
- How long it takes
- About 5 minutes; about 10 with the API, to create the key and delete it afterwards.
- Who can pull it
- A user who holds the "Diagnostics: Configuration History" privilege
- The file
- XML, one config-<host>-<date>.xml (config.xml from the API): the whole configuration inside one <opnsense> element
- Formats read
- config.xml backup
The steps, console and command line, are on the OPNsense export guide.
What the export does not show
- Hit counts, so unused rules are not found
- Alias contents: a rule that uses an alias is not expanded
- Logs and live states: this is the configuration and nothing else
- Whether the rules end with a logged deny: not checked yet
Limits of the reader
- If your export leaves a section out, the review does not flag it as partial.
- Findings stay in the review. They do not feed attack paths.
- Some checks of this system are in the code and not counted: no test shows them 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 OPNsense finding from the sample
A pass rule allows any source to any destination
Raised by the review on a made-up OPNsense file in its own layout, from our tests. No customer's file is shown.
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.
OPNsense findings stay in the review and its reports. OPNsense does not feed attack paths today.
Attack paths, the one change and dollar figures are MODELED. How each grade is worked out is on the method page.
Questions
Does the OPNsense 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 OPNsense export take?
About 5 minutes; about 10 with the API, to create the key and delete it afterwards.
What does the OPNsense export not show?
Hit counts, so unused rules are not found. Alias contents: a rule that uses an alias is not expanded. Logs and live states: this is the configuration and nothing else. Whether the rules end with a logged deny: not checked yet.
Does the file hold passwords or keys?
Stored in usable form (clear text or base64): private keys of certificates and certificate authorities, WireGuard private and pre-shared keys, IPsec pre-shared keys, OpenVPN static keys, the passwords and shared secrets of authentication servers, and one-time-password seeds. Stored as hashes: user passwords and API key secrets. OPNsense’s manual calls the configuration data sensitive. 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.