Skip to content

The macOS system must be configured with system log files owned by root and group-owned by wheel or admin.

An XCCDF Rule

Description

<VulnDiscussion>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 owner mitigates this risk. Some system log files are controlled by "newsyslog" and "aslmanager".</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>

ID
SV-257237r905344_rule
Severity
Medium
References
Updated



Remediation - Manual Procedure

Configure the macOS system with system log files owned by root or a service account and group-owned by wheel or admin with the following command:

/usr/bin/sudo chown root:wheel [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 ensure the owner:group column is set to "root:wheel" or the appropriate service account and group.