Skip to content

Ubuntu 22.04 LTS must be configured so that the audit log directory is not write-accessible by unauthorized users.

An XCCDF Rule

Description

<VulnDiscussion>If audit information were to become compromised, then forensic analysis and discovery of the true source of potentially malicious system activity is impossible to achieve. To ensure the veracity of audit information, the operating system must protect audit information from unauthorized deletion. This requirement can be achieved through multiple methods, which will depend upon system architecture and design. Audit information includes all information (e.g., audit records, audit settings, audit reports) needed to successfully audit information system activity.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>

ID
SV-260600r958438_rule
Severity
Medium
References
Updated



Remediation - Manual Procedure

Configure the audit log directory to have a mode of "750" or less permissive.  
  
Using the path of the directory containing the audit logs, configure the audit log directory to have a mode of "750" or less permissive by using the following command:  
  
     $ sudo chmod -R  g-w,o-rwx /var/log/audit