BaselineWatch
Desk

audit_folder_owner_configure Configure Audit Log Folders to be Owned by Root

NIST macOS Security Compliance Project Tahoe Guidance, Revision 3.0 (cf656e8)
All changes in this version
first version loaded Auditing

Title

Configure Audit Log Folders to be Owned by Root

Control

/bin/ls -dn $(/usr/bin/grep '^dir' /etc/security/audit_control | /usr/bin/awk -F: '{print $2}') | /usr/bin/awk '{print $3}'

Discussion

Audit log folders _MUST_ be owned by root.

The audit service _MUST_ be configured to create log folders with the correct ownership to prevent normal users from reading audit logs.

Audit logs contain sensitive data about the system and users. If log folders are set to only be readable and writable by system administrators, the risk is mitigated.

Related controls

au-9

Fix

[source,bash]
----
/usr/sbin/chown root /var/audit
----