Big Sur - Configure Audit Log Files Group to Wheel

Information

Audit log files _MUST_ have the group set to wheel.

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

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

Solution

[source,bash]
----
/usr/bin/chgrp -R wheel $(/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-85258-2, CCI|CCI-000162, STIG-ID|APPL-11-001014

Plugin: Unix

Control ID: 59a2f8756ba43f1cb4c144023c6ccb8351a700e1f8a1540d5beb6f1090b8553c