SV-234851r1184456_rule
V-234851
SRG-OS-000363-GPOS-00150
SLES-15-010420
CAT II
10
Configure the SUSE operating system to check the baseline configuration for unauthorized changes at least once weekly.
If the "aide" package is not installed, install it with the following command:
> sudo zypper in aide
Configure the file integrity tool to automatically run on the system at least weekly. The following example output is generic. It will set cron to run AIDE weekly, but other file integrity tools may be used:
> cat /etc/cron.weekly/aide
0 0 * * * /usr/bin/aide --check | /bin/mail -s "$HOSTNAME - Daily AIDE integrity check run" root@example_server_name.mil
Note: Per requirement SLES-15-010418, the "mailx" package must be installed on the system to enable email functionality.
Verify the SUSE operating system checks the baseline configuration for unauthorized changes at least once weekly.
Note: A file integrity tool other than AIDE may be used, but the tool must be executed at least once per week.
Check for the presence of a cron job running daily or weekly on the system that executes AIDE to scan for changes to the system baseline. The command used in the following example looks at the daily cron job:
Check the "/etc/cron" subdirectories for a "crontab" file controlling the execution of the file integrity application. For example, if AIDE is installed on the system, use the following command:
> sudo grep -R aide /etc/crontab /etc/cron.*
/etc/crontab: 30 04 * * * /etc/aide
If the file integrity application does not exist, or a "crontab" file does not exist in "/etc/crontab", the "/etc/cron.daily" subdirectory, or "/etc/cron.weekly" subdirectory, this is a finding.
V-234851
False
SLES-15-010420
Verify the SUSE operating system checks the baseline configuration for unauthorized changes at least once weekly.
Note: A file integrity tool other than AIDE may be used, but the tool must be executed at least once per week.
Check for the presence of a cron job running daily or weekly on the system that executes AIDE to scan for changes to the system baseline. The command used in the following example looks at the daily cron job:
Check the "/etc/cron" subdirectories for a "crontab" file controlling the execution of the file integrity application. For example, if AIDE is installed on the system, use the following command:
> sudo grep -R aide /etc/crontab /etc/cron.*
/etc/crontab: 30 04 * * * /etc/aide
If the file integrity application does not exist, or a "crontab" file does not exist in "/etc/crontab", the "/etc/cron.daily" subdirectory, or "/etc/cron.weekly" subdirectory, this is a finding.
M
5274