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: b05536bb8a33da573d0bfd9543dca0c05466851c1f1a5a378f92615893d45a9c