Rule ID
SV-288860r1316077_rule
Version
V1R1
The audit log files must not contain ACLs. This rule ensures that audit information and audit files are configured to be readable and writable only by system administrators, thereby preventing unauthorized access, modification, and deletion of files. Satisfies: SRG-OS-000057-GPOS-00027, SRG-OS-000058-GPOS-00028, SRG-OS-000355-GPOS-00143, SRG-OS-000356-GPOS-00144, SRG-OS-000028-GPOS-00009
Verify the macOS system is configured without ACLs applied to log files with the following command:
/bin/ls -le $(/usr/bin/grep '^dir' /etc/security/audit_control | /usr/bin/awk -F: '{print $2}') | /usr/bin/awk '{print $1}' | /usr/bin/grep -c ":"
If the result is not "0", this is a finding.Configure the macOS system without ACLs applied to log files with the following command: /bin/chmod -RN /var/audit