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

Information

System logs should 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.

Solution

For any log file that returns an incorrect owner or group value, run the following command:

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

[log file] is the full path to the log file in question. 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 that the owner:group column is set to 'root:wheel' or the appropriate service user 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 either not present or are set to a service user account and group respectively.

See Also

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

Item Details

References: CAT|II, CCI|CCI-001314, Rule-ID|SV-252531r816491_rule, STIG-ID|APPL-12-004001, Vuln-ID|V-252531

Plugin: Unix

Control ID: 0f03afce8b430db8b9b4770839a3c0ac403adcf55f2b09b594e80e255b52fda4