STIGUI
V-275534CAT II — Medium severitySV-275534r1147652_rule

Ubuntu OS must be configured so that audit configuration files are not write-accessible by unauthorized users.

Rule version RIIM-OS-100006 · STIG v1 · 2025-10-02

Discussion

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.

Check

Verify "/etc/audit/audit.rules", "/etc/audit/auditd.conf", and "/etc/audit/rules.d/*" files have a mode of "640" or less permissive by using the following command:

     $ sudo ls -al /etc/audit/audit.rules /etc/audit/auditd.conf /etc/audit/rules.d/* | awk '{print $1, $9}' 
     -rw-r----- /etc/audit/audit.rules 
     -rw-r----- /etc/audit/auditd.conf 
     -rw-r----- /etc/audit/rules.d/audit.rules 

If "/etc/audit/audit.rules", "/etc/audit/auditd.conf", or "/etc/audit/rules.d/*" files have a mode more permissive than "640", this is a finding.

Fix

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/*

Identifiers

Group ID
V-275534
Group title
SRG-OS-000063-GPOS-00032
Rule ID
SV-275534r1147652_rule
Check ID
C-79636r1147650_chk
Fix ID
F-79541r1147651_fix