6.3.4.15 Ensure the audit log file directories are mode 0700 or more restrictive

Information

The audit log directory must have a mode of 0700 or less permissive to prevent unauthorized read access.

Unauthorized disclosure of audit records can reveal system and configuration data to attackers, thus compromising its confidentiality.

Audit information includes all information (e.g., audit records, audit settings, audit reports) needed to successfully audit system activity.

Satisfies: SRG-OS-000057-GPOS-00027, SRG-OS-000058-GPOS-00028, SRG-OS-000059-GPOS-00029

Solution

Configure the audit log directory to be protected from unauthorized read access by setting the correct permissive mode with the following command:

# chmod 0700 [audit_log_directory]

Replace "[audit_log_directory]" to the correct audit log directory path, by default this location is "/var/log/audit".

See Also

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