UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

System audit logs must have mode 0640 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-813 GEN002700 SV-37916r1_rule ECTP-1 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
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2014-04-02

Details

Check Text ( C-37142r1_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-967r2_fix)
Change the mode of the audit log directories/files.
# chmod 0750
# chmod 0640