1.4.2 Ensure filesystem integrity is regularly checked - aidecheck.timer status

Information

Periodic checking of the filesystem integrity is needed to detect changes to the filesystem. Periodic file checking allows the system administrator to determine on a regular basis if critical files have been changed in an unauthorized fashion.

Solution

Run the following commands:
# cp ./config/aidecheck.service /etc/systemd/system/aidecheck.service
# cp ./config/aidecheck.timer /etc/systemd/system/aidecheck.timer
# chmod 0644 /etc/systemd/system/aidecheck.*
# systemctl reenable aidecheck.timer
# systemctl restart aidecheck.timer
# systemctl daemon-reload

OR

Run the following command:
# crontab -u root -e

Add the following line to the crontab:
0 5 * * * /usr/sbin/aide --check

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-7(1)

Plugin: Unix

Control ID: d5cde7a955407e96012bc1c0e8cacfaad2ef6b80bb19ce0ce6bda43ebf3e523c