5.2.4.5 Ensure audit configuration files are restrictive

Information

Audit configuration files control auditd and what events are audited.

Access to the audit configuration files could allow unauthorized personnel to prevent the auditing of critical events.

Misconfigured audit configuration files may prevent the auditing of critical events or impact the system's performance by overwhelming the audit log. Misconfiguration of the audit configuration files may also make it more difficult to establish and investigate events relating to an incident.

Solution

Run the following command to remove more permissive mode from the audit configuration files:

# chmod 444 /etc/security/audit_event /etc/security/audit_class
# chmod 500 /etc/security/audit_warn
# chmod 600 /etc/security/audit_control /etc/security/audit_user

See Also

https://workbench.cisecurity.org/benchmarks/19044

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: 8cf4cac0bf4a2cd0d034a72f25f872eaf155091e7fc414f2715f2e5fde9d8199