Vulnerability Discussion
/etc/security/audit_control must not contain Access Control Lists (ACLs).
/etc/security/audit_control contains sensitive configuration data about the audit service. This rule
ensures that the audit service is configured to be readable and writable only by system administrators
in order to prevent normal users from manipulating audit logs.
Satisfies:
SRG-OS-000057-GPOS-00027,SRG-OS-000058-GPOS-00028,SRG-OS-000059-GPOS-00029,SRG-OS-000063-GPOS-00032,SRG-OS-000256-GPOS-00097,SRG-OS-000257-GPOS-00098,SRG-OS-000258-GPOS-00099
Check
Verify the macOS system is configured without ACLs applied to audit_control with the
following command:
/bin/ls -le /etc/security/audit_control | /usr/bin/awk '{print $1}' | /usr/bin/grep -c ":"
If the result is not "0", this is a finding.
Fix
Configure the macOS system without ACLs applied to audit_control with
the following command:
/bin/chmod -N /etc/security/audit_control