The 45 checks run on the pfSense export
These are the checks that reached a result on a pfSense export in its own layout in our tests: the same 45 the vendor table counts as checks run. Each row says what part of the export the check reads.
ACME 1
| Check | Severity | Reads |
|---|---|---|
| No ACME / Let's Encrypt configured | Low | the ACME settings |
Admin 8
| Check | Severity | Reads |
|---|---|---|
| Management service reachable from WAN | Critical | the Admin settings |
| WebGUI HTTP_REFERER (anti-CSRF) check disabled | High | the Admin settings |
| WebGUI not forced to HTTPS | High | the Admin settings |
| DNS rebinding protection disabled | Medium | the Admin settings |
| WebGUI HSTS disabled | Medium | the Admin settings |
| WebGUI on default port | Low | webguiport |
| WebGUI login form allows credential autocomplete | Low | the Admin settings |
| Login Protection (sshguard) threshold raised above default | Low | sshguard_threshold |
Auth 1
| Check | Severity | Reads |
|---|---|---|
| No centralized authentication / MFA server | Medium | no |
Backup 1
| Check | Severity | Reads |
|---|---|---|
| AutoConfigBackup not configured | Low | no |
Captive portal 1
| Check | Severity | Reads |
|---|---|---|
| Captive portal without HTTPS | High | captiveportal httpslogin |
Console 1
| Check | Severity | Reads |
|---|---|---|
| Console without password | High | consolepass |
DHCP 1
| Check | Severity | Reads |
|---|---|---|
| DHCP scope covers /16 | Low | the DHCP settings |
Firewall 2
| Check | Severity | Reads |
|---|---|---|
| Any-any allow rule | Critical | the Firewall settings |
| Firewall optimization aggressive | Low | optimization |
Firmware 1
| Check | Severity | Reads |
|---|---|---|
| Firmware older than 2.7.x | Medium | firmware |
IPsec 3
| Check | Severity | Reads |
|---|---|---|
| IPsec phase-1 in Aggressive mode | High | the IPsec settings |
| IPsec phase-1 uses weak cipher / hash / DH group | High | the IPsec settings |
| IPsec phase-1 uses pre-shared-key authentication | Low | IPsec P1 |
IPv6 1
| Check | Severity | Reads |
|---|---|---|
| IPv6 with no firewall rules | Medium | the IPv6 settings |
Logging 1
| Check | Severity | Reads |
|---|---|---|
| No remote syslog target | High | the Logging settings |
NAT 1
| Check | Severity | Reads |
|---|---|---|
| Port forward (NAT 1:1 / rdr) with source = any | High | the NAT settings |
Notification 1
| Check | Severity | Reads |
|---|---|---|
| System notification email "From" address default | Low | the Notification settings |
NTP 1
| Check | Severity | Reads |
|---|---|---|
| NTP server unset | Medium | no |
OpenVPN 4
| Check | Severity | Reads |
|---|---|---|
| OpenVPN allows weak cipher | High | the OpenVPN settings |
| OpenVPN compression enabled (VORACLE) | Medium | OpenVPN |
| OpenVPN without tls-auth / tls-crypt key | Medium | the OpenVPN settings |
| OpenVPN uses SHA1/MD5 auth digest | Medium | the OpenVPN settings |
Other checks 1
| Check | Severity | Reads |
|---|---|---|
| No IDS package (Suricata/Snort) | Medium | the Other checks settings |
Packages 2
| Check | Severity | Reads |
|---|---|---|
| HAProxy frontend HTTP-only | Medium | the Packages settings |
| No DNS/IP blocklist + geo-IP layer (pfBlockerNG) | Low | the Packages settings |
PKI 1
| Check | Severity | Reads |
|---|---|---|
| Certificate signed with SHA-1 / MD5 digest | Medium | the PKI settings |
SNMP 1
| Check | Severity | Reads |
|---|---|---|
| SNMP community public | High | the SNMP settings |
SSH 4
| Check | Severity | Reads |
|---|---|---|
| SSH allow root | High | the SSH settings |
| SSH password auth permitted | High | sshdkeyonly |
| SSH agent forwarding enabled | Medium | the SSH settings |
| SSH listening on default port 22 | Low | the SSH settings |
Suricata 1
| Check | Severity | Reads |
|---|---|---|
| Suricata in IDS-only (not inline) | Medium | the Suricata settings |
Unbound 2
| Check | Severity | Reads |
|---|---|---|
| Unbound resolver bound to WAN / all interfaces | High | the Unbound settings |
| DNSSEC disabled in Unbound | Medium | unbound.dnssec |
Upgrade 1
| Check | Severity | Reads |
|---|---|---|
| Configuration revision history < 30 | Low | backupcount |
Users 2
| Check | Severity | Reads |
|---|---|---|
| Multiple users with admin privilege | Medium | the Users settings |
| Weak password complexity | Medium | the Users settings |
WireGuard 1
| Check | Severity | Reads |
|---|---|---|
| WireGuard peer with AllowedIPs=0.0.0.0/0 | Medium | WG AllowedIPs |
2 more items are guidance only: an export cannot show them, so they are not counted as checks.
The pfSense export
- How long it takes
- About 5 minutes.
- Who can pull it
- A user with the privilege "WebCfg - Diagnostics: Backup & Restore"
- The file
- XML, one config-<hostname>-<timestamp>.xml (backup.xml from the Secure Shell, SSH, route): the whole configuration inside one <pfsense> element
- Formats read
- config.xml backup
The steps, console and command line, are on the pfSense 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
- Which interfaces Suricata or Snort inspect: it sees that the package is there, no more
- Whether the rules end with a logged deny, and gaps in outbound NAT: not checked yet
- The password length policy and root sign-in over Secure Shell (SSH): config.xml does not hold them
- The pfSense release: config.xml holds the configuration revision, not the software version
- Logs, states and RRD graph data: this is the configuration, not live data
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.
- 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 pfSense finding from the sample
Any-any allow rule
Raised by the review on a made-up insecure pfSense file: pfsense-insecure.xml. The file is public: open it to see what the export looks like.
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.
pfSense findings stay in the review and its reports. pfSense 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 pfSense 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 pfSense export take?
About 5 minutes.
What does the pfSense export not show?
Hit counts, so unused rules are not found. Alias contents: a rule that uses an alias is not expanded. Which interfaces Suricata or Snort inspect: it sees that the package is there, no more. Whether the rules end with a logged deny, and gaps in outbound NAT: not checked yet. The password length policy and root sign-in over Secure Shell (SSH): config.xml does not hold them. The pfSense release: config.xml holds the configuration revision, not the software version. Logs, states and RRD graph data: this is the configuration, not live data.
Does the file hold passwords or keys?
In Netgate’s words, passwords such as PPPoE, DynDNS, RADIUS shared secrets, LDAP bind passwords and IPsec shared secrets "appear in plain text or with reversible Base64 encoding" in config.xml; the system password is stored as a hash. With "Backup SSH keys" ticked, the file also holds the firewall’s Secure Shell (SSH) host keys. 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.