APPL-11-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_11_V1R6_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-11b., CAT|II, CCI|CCI-001314, Rule-ID|SV-230842r599842_rule, STIG-ID|APPL-11-004001, Vuln-ID|V-230842

Plugin: Unix

Control ID: f7d4d3c19dfcfad7c9f30431a8d83aa38571e227e47a696fd83c7fd8e18a7b27