Information
The operating system must configure AIDE to perform file integrity checking on the file system.
GROUP ID: V-270650
RULE ID: SV-270650r1066439
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.
This requirement applies to the operating system performing security function verification/testing and/or systems and environments that require this functionality.
NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.
Solution
Initialize AIDE (this will take a few minutes):
$ sudo aideinit
Running aide --init..
The new database will need to be renamed to be read by AIDE:
$ sudo cp -p /var/lib/aide/aide.db.new /var/lib/aide/aide.db
Perform a manual check:
$ sudo aide -c /etc/aide/aide.conf --check
Example output:
..
Start timestamp: 2024-10-30 14:22:38 -0400 (AIDE 0.18.6)
AIDE found differences between database and filesystem!!
...
Done.