The Ubuntu operating system must be configured so that audit configuration files are not write-accessible by unauthorized users.
An XCCDF Rule
Description
<VulnDiscussion>Without the capability to restrict which roles and individuals can select which events are audited, unauthorized personnel may be able to prevent the auditing of critical events. Misconfigured audits may degrade the system's performance by overwhelming the audit log. Misconfigured audits may also make it more difficult to establish, correlate, and investigate the events relating to an incident or identify those responsible for one.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-219234r610963_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Configure "/etc/audit/audit.rules", "/etc/audit/rules.d/*" and "/etc/audit/auditd.conf" files to have a mode of 0640 by using the following command:
# chmod -R 0640 /etc/audit/audit*.{rules,conf} /etc/audit/rules.d/*
Note: The "root" account must be used to edit any files in the /etc/audit and /etc/audit/rules.d/ directories.