UBTU-22-653065 - Ubuntu 22.04 LTS must be configured so that audit configuration files are not write-accessible by unauthorized users.

Information

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.

Solution

Configure /etc/audit/audit.rules', '/etc/audit/auditd.conf', and '/etc/audit/rules.d/*' files to have a mode of '640' by using the following command:

$ sudo chmod -R 640 /etc/audit/audit.rules /etc/audit/auditd.conf /etc/audit/rules.d/*

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_22-04_LTS_V2R2_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12b., CAT|II, CCI|CCI-000171, Rule-ID|SV-260601r958444_rule, STIG-ID|UBTU-22-653065, Vuln-ID|V-260601

Plugin: Unix

Control ID: ff1daf5c8336a9a4b5b806f72f6abe2601ccd0e4569f8f6751ae3c5c18ef0c79