SV-269457r1050340_rule
V-269457
SRG-OS-000447-GPOS-00201
ALMA-09-045450
CAT II
10
Configure the file integrity tool to run automatically on the system at least weekly and to notify designated personnel if baseline configurations are changed in an unauthorized manner. The AIDE tool can be configured to email designated personnel with the use of the cron system.
The following example output is generic. It will set cron to run AIDE daily and to send email at the completion of the analysis:
$ more /etc/cron.d/0aide
/usr/sbin/aide --check | echo "Subject: $HOSTNAME - Daily aide integrity check run" | /bin/mail -t root
Verify that AlmaLinux OS 9 routinely executes a file integrity scan for changes to the system baseline. The command used in the example will use a daily occurrence.
Check the cron directories for scripts controlling the execution and notification of results of the file integrity application. For example, if Advanced Intrusion Detection Environment (AIDE) is installed on the system, use the following commands:
$ find /etc/cron* -name '*aide*'
/etc/cron.d/0aide
$ grep aide /etc/crontab /var/spool/cron/root
/var/spool/cron/root:30 04 * * * root /usr/sbin/aide --check
$ more /etc/cron.d/aide
@daily root /usr/sbin/aide --check | /bin/mail -s "$HOSTNAME - Daily aide integrity check run" root
If the file integrity application does not exist, or a script file controlling the execution of the file integrity application does not exist, or the file integrity application does not notify designated personnel of changes, this is a finding.
V-269457
False
ALMA-09-045450
Verify that AlmaLinux OS 9 routinely executes a file integrity scan for changes to the system baseline. The command used in the example will use a daily occurrence.
Check the cron directories for scripts controlling the execution and notification of results of the file integrity application. For example, if Advanced Intrusion Detection Environment (AIDE) is installed on the system, use the following commands:
$ find /etc/cron* -name '*aide*'
/etc/cron.d/0aide
$ grep aide /etc/crontab /var/spool/cron/root
/var/spool/cron/root:30 04 * * * root /usr/sbin/aide --check
$ more /etc/cron.d/aide
@daily root /usr/sbin/aide --check | /bin/mail -s "$HOSTNAME - Daily aide integrity check run" root
If the file integrity application does not exist, or a script file controlling the execution of the file integrity application does not exist, or the file integrity application does not notify designated personnel of changes, this is a finding.
M
5664