Rule ID
SV-258134r1262119_rule
Version
V2R10
Without verification of the security functions, security functions may not operate correctly, and the failure may go unnoticed. Security function is defined as the hardware, software, and/or firmware of the information system responsible for enforcing the system security policy and supporting the isolation of code and data on which the protection is based. Security functionality includes, but is not limited to, establishing system accounts, configuring access authorizations (i.e., permissions, privileges), setting events to be audited, and setting intrusion detection parameters. Selection lines in the aide.conf file determine which files and directories AIDE will monitor for changes. They follow this format: <path> <rules> The <path> specifies a file, directory or wildcard pattern to monitor. The <rules>define which attributes (hashes, permissions, timestamps, etc.) to check. Satisfies: SRG-OS-000363-GPOS-00150, SRG-OS-000445-GPOS-00199
Verify the file integrity tool is configured to verify ACLs. Note: AIDE is highly configurable at install time. This requirement assumes the "aide.conf" file is under the "/etc" directory. Verify AIDE is installed with the following command: $ sudo dnf list installed aide Updating Subscription Management repositories. Installed Packages aide.x86_64 0.16-103.el9 @rhel-9-for-x86_64-appstream-rpms Use the following command to determine if the file is in a location other than "/etc/aide/aide.conf": $ sudo find / -name aide.conf If AIDE is not installed, ask the system administrator (SA) how file integrity checks are performed on the system.
Install AIDE, initialize it, and perform a manual check.
Install AIDE:
$ sudo dnf install aide
Initialize AIDE:
$ sudo /usr/sbin/aide --init
Example output:
Start timestamp: 2026-07-13 11:49:19 -0400 (AIDE 0.19.2)
AIDE successfully initialized database.
New AIDE database written to /var/lib/aide/aide.db.new.gz
Number of entries: 186298
---------------------------------------------------
The attributes of the (uncompressed) database(s):
---------------------------------------------------
/var/lib/aide/aide.db.new.gz
SHA256 : StfQ7hBYTf83ZEBRy7I+ufhA4Ewhdpsg
0LOAvlSGddY=
SHA512 : Vo8jkWTpcRoBfjf3TFcYqANkbpMaol16
2SjE+6gnWFd5qqM6tQYUZu4TiKCIOqnd
SM6thAjSZbsKluqI7aHDNQ==
STRIBOG256: VEslFSImVozED21UckdDaw2hmgVJawCC
FT+rBRof3GA=
STRIBOG512: GCm3WUKXA2YRo/zAbFK8gsQBxecLgUlT
bTlkcEUOP8OKQhFlh4ipbVQhwh9jf/fc
fidl+HNDHFid62mM/ETmcg==
SHA512/256: cR1SOYUC3oN1R2e4UQlLW/juiZceL5E7
xDbRpCSK+DI=
SHA3-256 : GyR262apcKopWo9TOe3zLIfP9YDq7N3/
26ZIUpe1xt4=
SHA3-512 : r5xi/0GmfLv1SCZ0vb8GDWPNUicp42X7
ZVZD8xffjLPl7XgyefAg5VTy2qFTnbuu
kq83J3d3cu6eRiAzmcj6zg==
End timestamp: 2026-07-13 11:49:50 -0400 (run time: 0m 31s)
The new database will need to be renamed to be read by AIDE:
$ sudo mv /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz
Perform a manual check:
$ sudo /usr/sbin/aide --check
Example output:
Start timestamp: 2026-07-13 11:53:34 -0400 (AIDE 0.19.2)
AIDE found NO differences between database and filesystem. Looks okay!!
...