Monterey - Configure Audit Log Folder to Not Contain Access Control Lists

Information

The audit log folder _MUST_ not contain access control lists (ACLs).

Audit logs contain sensitive data about the system and users. This rule ensures that the audit service is configured to create log folders that are readable and writable only by system administrators in order to prevent normal users from reading audit logs.

Solution

[source,bash]
----
/bin/chmod -N $(/usr/bin/grep '^dir' /etc/security/audit_control | /usr/bin/awk -F: '{print $2}')
----

See Also

https://github.com/usnistgov/macos_security

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-9, CCE|CCE-90852-5, CCI|CCI-000162

Plugin: Unix

Control ID: ba91d31cad60b45e37f663a361454c0c646d4bee9b8afff53cd5864e8f268ca4