APPL-13-004002 - The macOS system must be configured with system log files set to mode 640 or less permissive.

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 permissions mitigates this risk.

Solution

Configure the macOS system with system log files set to mode 640 with the following command:

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

See Also

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

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-11b., CAT|II, CCI|CCI-001314, Rule-ID|SV-257238r905347_rule, STIG-ID|APPL-13-004002, Vuln-ID|V-257238

Plugin: Unix

Control ID: 43e11b6d90aa03bf19e1a76413a2734f706d77fe596efce681bc08a09ce0e5c9