6.2.4.6 Ensure audit configuration files owner is configured

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 change ownership to root user:

# find /etc/audit/ -type f \( -name '*.conf' -o -name '*.rules' \) ! -user root -exec chown root {} +

Impact:

Restricting audit configuration file ownership to root may prevent non-root accounts that previously accessed them.

See Also

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

Item Details

Category: ACCESS CONTROL, AUDIT AND ACCOUNTABILITY, MEDIA PROTECTION

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

Plugin: Unix

Control ID: b3950c584b55b53a23caf30da087134523ebd4ad235b3c5c35bf4663033ba5ff