UCF STIG Viewer Logo

System audit logs must have mode 0640 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-813 GEN002700 SV-45210r1_rule Medium
Description
If a user can write to the audit logs, audit trails can be modified or destroyed and system intrusion may not be detected. System audit logs are those files generated from the audit system and do not include activity, error, or other log files created by application software.
STIG Date
SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide 2018-09-19

Details

Check Text ( C-42558r1_chk )
Perform the following to determine the location of audit logs and then check the mode of the files.
Procedure:
# grep "^log_file" /etc/audit/auditd.conf|sed s/^[^\/]*//|xargs stat -c %a:%n

If any audit log file has a mode more permissive than 0640, this is a finding.
Fix Text (F-38606r1_fix)
Change the mode of the audit log file(s).
# chmod 0640