AOSX-13-002106 - The macOS system must be configured with system log files set to mode 640 or less permissive - 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 permissions mitigates this risk.

Solution

For any log file that returns an incorrect permission value, run the following command:

/usr/bin/sudo chmod 640 [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 edit the mode column to be '640' or less permissive.

If the file is managed by 'aslmanager', find the configuration line in the directory '/etc/asl/' or the file '/etc/asl.conf' and add or edit the mode option to be 'mode=0640' or less permissive.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apple_OS_X_10-13_V2R5_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-11b., CAT|II, CCI|CCI-001314, Rule-ID|SV-214930r609363_rule, STIG-ID|AOSX-13-002106, STIG-Legacy|SV-96455, STIG-Legacy|V-81741, Vuln-ID|V-214930

Plugin: Unix

Control ID: 3591c0f7e67ab51188b029f8cb37b8f92caa4b3e0ab2148a5f171a93baeb7565