STIGUI
V-261406CAT II — Medium severitySV-261406r996634_rule

SLEM 5 file integrity tool must be configured to protect the integrity of the audit tools.

Rule version SLEM-05-651025 · STIG v1 · 2026-08-20

Discussion

Protecting the integrity of the tools used for auditing purposes is a critical step toward ensuring the integrity of audit information. Audit information includes all information (e.g., audit records, audit settings, and audit reports) needed to successfully audit information system activity.

Audit tools include but are not limited to vendor-provided and open-source audit tools needed to successfully view and manipulate audit information system activity and records. Audit tools include custom queries and report generators.

It is not uncommon for attackers to replace the audit tools or inject code into the existing tools to provide the capability to hide or erase system activity from the audit logs.

To address this risk, audit tools must be cryptographically signed to provide the capability to identify when the audit tools have been modified, manipulated, or replaced. An example is a checksum hash of the file or files.

Check

Verify that SLEM 5 file integrity tool is configured to protect the integrity of the audit tools.

Check that AIDE is properly configured to protect the integrity of the audit tools by running the following command:

     > sudo grep /usr/sbin/au /etc/aide.conf
     /usr/sbin/auditctl p+i+n+u+g+s+b+acl+selinux+xattrs+sha512
     /usr/sbin/auditd p+i+n+u+g+s+b+acl+selinux+xattrs+sha512
     /usr/sbin/ausearch p+i+n+u+g+s+b+acl+selinux+xattrs+sha512
     /usr/sbin/aureport p+i+n+u+g+s+b+acl+selinux+xattrs+sha512
     /usr/sbin/autrace p+i+n+u+g+s+b+acl+selinux+xattrs+sha512
     /usr/sbin/audispd p+i+n+u+g+s+b+acl+selinux+xattrs+sha512
     /usr/sbin/augenrules p+i+n+u+g+s+b+acl+selinux+xattrs+sha512

If any of the seven lines do not appear as shown, are commented out, or are missing, this is a finding.

Fix

Configure SLEM 5 file integrity tool to protect the integrity of the audit tools.

Add or modify the following lines in the "/etc/aide.conf" file:

# audit tools /usr/sbin/auditctl p+i+n+u+g+s+b+acl+selinux+xattrs+sha512 /usr/sbin/auditd p+i+n+u+g+s+b+acl+selinux+xattrs+sha512 /usr/sbin/ausearch p+i+n+u+g+s+b+acl+selinux+xattrs+sha512 /usr/sbin/aureport p+i+n+u+g+s+b+acl+selinux+xattrs+sha512 /usr/sbin/autrace p+i+n+u+g+s+b+acl+selinux+xattrs+sha512 /usr/sbin/audispd p+i+n+u+g+s+b+acl+selinux+xattrs+sha512 /usr/sbin/augenrules p+i+n+u+g+s+b+acl+selinux+xattrs+sha512

Identifiers

Group ID
V-261406
Group title
SRG-OS-000278-GPOS-00108
Rule ID
SV-261406r996634_rule
Check ID
C-65135r996632_chk
Fix ID
F-65043r996633_fix