Big Sur - Configure System to Shut Down Upon Audit Failure

Information

The audit service _MUST_ be configured to shut down the computer if it is unable to audit system events.

Once audit failure occurs, user and system activity are no longer recorded, and malicious activity could go undetected. Audit processing failures can occur due to software/hardware errors, failures in the audit capturing mechanisms, and audit storage capacity being reached or exceeded.

Solution

[source,bash]
----
/usr/bin/sed -i.bak 's/^policy.*/policy: ahlt,argv/' /etc/security/audit_control; /usr/sbin/audit -s
----

See Also

https://github.com/usnistgov/macos_security

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-5, 800-53|AU-5b., CCE|CCE-85257-4, CCI|CCI-000140, STIG-ID|APPL-11-001010

Plugin: Unix

Control ID: 521a0cd8ae7e4fec879e7eb2e89e1718dec21e84f4e34a58cd8b21b0fc769b5e