STIGUI
V-217025CAT III — Low severitySV-217025r604135_rule

The Juniper router must be configured to log all packets that have been dropped.

Rule version JUNI-RT-000200 · STIG v3 · 2024-12-05

Discussion

Auditing and logging are key components of any security architecture. It is essential for security personnel to know what is being done or attempted to be done, and by whom, to compile an accurate risk assessment. Auditing the actions on network devices provides a means to recreate an attack or identify a configuration mistake on the device.

Check

Review all filters to verify that packets that are discarded or rejected are logged as shown in the configuration below.

firewall { family inet { filter XYZ … … … } term DENY_BY_DEFAULT { then { syslog; discard; } } } }

Verify that logging is enabled to capture packets that are dropped as shown in the configuration below.

system { host-name XYZ; … … … } syslog { file LOG_FILE { firewall any; } } }

Note: The “any” parameter can be configured in lieu of the “firewall” parameter.

If packets being dropped are not logged, this is a finding.

Fix

Configure the firewall terms that discards or rejects packets to log the action as shown in the example below.

[edit firewall family inet] set filter FILTER_INBOUND term DENY_BY_DEFAULT then syslog discard

Configure logging to record packets being dropped by firewall filters as shown in the example below.

[edit system syslog] set file LOG_FILE firewall any

Note: The “any” parameter can be configured in lieu of the “firewall” parameter.

Identifiers

Group ID
V-217025
Group title
SRG-NET-000078-RTR-000001
Rule ID
SV-217025r604135_rule
Check ID
C-18254r296943_chk
Fix ID
F-18252r296944_fix