Ten things to check
Security policy permit any-any
Default-allow.
set security policies from-zone untrust to-zone trust policy allow-all match source-address anyline 40 of juniper-srx-insecure.set.txt (the sample file)Telnet management service enabled
Telnet transmits credentials and session data in cleartext, exposing the management plane to sniffing and hijack.
set system services telnetline 17 of juniper-srx-insecure.set.txt (the sample file)Default security policy is permit-all
A global default-policy of permit-all means any traffic not matching an explicit rule is forwarded — the firewall fails open instead of failing closed.
In the Policies settings of the export; the reader cites no single line for this check.
IKE aggressive mode enabled
IKEv1 aggressive mode exposes the PSK identity hash on the wire, enabling offline cracking of the pre-shared key.
set security ike policy IKE-POL mode aggressiveline 55 of juniper-srx-insecure.set.txt (the sample file)IKE weak Diffie-Hellman group (1/2/5)
DH groups 1, 2 and 5 use small MODP primes (768/1024/1536-bit) that are within reach of nation-state and increasingly commodity attacks (Logjam).
set security ike proposal IKE-PROP dh-group group2line 52 of juniper-srx-insecure.set.txt (the sample file)IKE/IPsec weak encryption (DES/3DES)
DES and 3DES are deprecated (small block size, Sweet32) and must not protect VPN traffic.
set security ike proposal IKE-PROP encryption-algorithm 3des-cbcline 53 of juniper-srx-insecure.set.txt (the sample file)J-Web served over HTTP (cleartext)
J-Web over plain HTTP exposes admin credentials and session cookies to network interception.
set system services web-management http interface ge-0/0/0.0line 18 of juniper-srx-insecure.set.txt (the sample file)SNMP v1/v2c configured
No encryption / weak auth.
set snmp community public authorization read-onlyline 31 of juniper-srx-insecure.set.txt (the sample file)IDP not enabled on policies
No threat inspection.
The setting it reads:
securityIPsec without PFS
No forward secrecy.
The setting it reads:
security
How to export the file
How long it takes: About 5 minutes once your login can view the configuration; add about 10 minutes when an administrator has to create the login class.
Every step, the command-line route, and the errors you may meet: the Juniper SRX export guide.
What the export does not show
- Hit counts and last-change data, so unused rules are not found
- Address-book entries resolved to addresses
- The members of custom application sets
- XML and brace-format output: just display set output is read
- FIPS mode: not checked yet
- System scripts and event options: a login with view-configuration does not see them, so they are not in the file
Live sessions, logs and running hosts are not in a configuration export, so no finding comes from them.
The rest of the review
The review runs 44 checks on a Juniper SRX export. All of them, with the part of the export each reads: Juniper SRX firewall audit from the config file. The same items across every firewall: the firewall audit checklist.