BaselineWatch
Desk

audit_folders_mode_configure Configure Audit Log Folders to Mode 700 or Less Permissive

NIST macOS Security Compliance Project Sequoia Guidance, Revision 4.0 (be5491f)
All changes in this version
first version loaded Auditing

Title

Configure Audit Log Folders to Mode 700 or Less Permissive

Control

/usr/bin/stat -f %A $(/usr/bin/grep '^dir' /etc/security/audit_control | /usr/bin/awk -F: '{print $2}')

Discussion

The audit log folder _MUST_ be configured to mode 700 or less permissive so that only the root user is able to read, write, and execute changes to folders.

Because audit logs contain sensitive data about the system and users, the audit service _MUST_ be configured to mode 700 or less permissive; thereby preventing normal users from reading, modifying or deleting audit logs.

Related controls

au-9

Fix

[source,bash]
----
/bin/chmod 700 /var/audit
----