APPL-13-004001 - The macOS system must be configured with system log files owned by root and group-owned by wheel or admin - asl

Information

System logs must only be readable by root or admin users. System logs frequently contain sensitive information that could be used by an attacker. Setting the correct owner mitigates this risk.

Some system log files are controlled by 'newsyslog' and 'aslmanager'.

Solution

Configure the macOS system with system log files owned by root or a service account and group-owned by wheel or admin with the following command:

/usr/bin/sudo chown root:wheel [log file]

Alternatively, if the file is managed by 'newsyslog', find the configuration line in the directory '/etc/newsyslog.d/' or the file '/etc/newsyslog.conf' and ensure the owner:group column is set to 'root:wheel' or the appropriate service account and group.

If the file is managed by 'aslmanager', find the configuration line in the directory '/etc/asl/' or the file '/etc/asl.conf' and ensure that 'uid' and 'gid' options are set to a service account and group, respectively.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apple_macOS_13_V1R1_STIG.zip

Item Details

References: CAT|II, CCI|CCI-001314, Rule-ID|SV-257237r905344_rule, STIG-ID|APPL-13-004001, Vuln-ID|V-257237

Plugin: Unix

Control ID: 3b0dd0a7796111cb0c6cef6da5dedaad285ac4f88d942bacefa7030ac9e132db