Catalina - Configure Audit Log Folders to be Owned by Root

Information

Audit log files _MUST_ be owned by root.

The audit service _MUST_ be configured to create log files with the correct 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 only be readable and writable by system administrators, the risk is mitigated.

Solution

[source,bash]
----
/usr/sbin/chown root $(/usr/bin/awk -F : '/^dir/{print $2}' /etc/security/audit_control)
----

See Also

https://github.com/usnistgov/macos_security

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-9, CCE|CCE-84718-6, CCI|CCI-000162, STIG-ID|AOSX-15-001013

Plugin: Unix

Control ID: cc7b8575d348fdffa32a77f0885d54959385d68afd49e958f45c23f53c0c61d6