UBTU-22-653055 - Ubuntu 22.04 LTS must permit only authorized groups ownership of the audit log files.

Information

Unauthorized disclosure of audit records can reveal system and configuration data to attackers, thus compromising its confidentiality.

Audit information includes all information (e.g., audit records, audit settings, audit reports) needed to successfully audit operating system activity.

Satisfies: SRG-OS-000057-GPOS-00027, SRG-OS-000058-GPOS-00028, SRG-OS-000059-GPOS-00029

Solution

Configure the group owner of newly created audit logs to be 'root'.

Add or modify the following lines in the '/etc/audit/auditd.conf ' file:

log_group = root

Reload the configuration file of the audit service to update the group ownership of existing files:

$ sudo systemctl kill auditd -s SIGHUP

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-9, CAT|II, CCI|CCI-000162, CCI|CCI-000163, CCI|CCI-000164, Rule-ID|SV-260599r958434_rule, STIG-ID|UBTU-22-653055, Vuln-ID|V-260599

Plugin: Unix

Control ID: 000cee070e3952ac5941069315603c375b231116c17c081dda834c003dbb2303