1. Home
  2. Security Hardening
  3. NIST MacOS Big Sur V1.4.0 800 171
  4. Big Sur – Configure Audit Log Folders to Mode 700 or Less Permissive

Big Sur – Configure Audit Log Folders to Mode 700 or Less Permissive

Details

The audit log folder _MUST_ be configured to mode 700 or less permissive so that only the root user is able to read, write, and execute changes to folders.

Because audit logs contain sensitive data about the system and users, the audit service _MUST_ be configured to mode 700 or less permissive; thereby preventing normal users from reading, modifying or deleting audit logs.

Solution

Run the following bash code

/bin/chmod 700 $(/usr/bin/grep '^dir' /etc/security/audit_control | /usr/bin/awk -F: '{print $2}')
----

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Audit and Accountability.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles