AOSX-15-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 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_OS_X_10-15_V1R10_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-11b., CAT|II, CCI|CCI-001314, Rule-ID|SV-225216r610901_rule, STIG-ID|AOSX-15-004001, STIG-Legacy|SV-111813, STIG-Legacy|V-102851, Vuln-ID|V-225216

Plugin: Unix

Control ID: 72b7935d116312ed94fb1b30ea64386229529b40f8604951b231ebf741d087e9