SV-266062r1003658_rule
V-266062
SRG-OS-000363-GPOS-00150
PHTN-40-000237
CAT II
10
Update the /etc/aide.conf file with the template provided as a supplemental document.
At the command line, run the following commands to generate an AIDE database to use for file monitoring:
# aide --init
# cp /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz
Note: It is recommended to run these fix steps after all other STIG configurations have been completed so that the AIDE database includes those updates.
At the command line, run the following commands to verify AIDE is configured and used to monitor for file changes:
# grep -v '^#' /etc/aide.conf | grep -v '^$'
Example result:
STIG = p+i+n+u+g+s+m+S
LOGS = p+n+u+g
/boot STIG
/opt STIG
/usr STIG
/etc STIG
/var/log LOGS
If the AIDE configuration does not include the lines shown above, this is a finding.
At the command line, run the following commands to verify an AIDE database is configured and used to monitor for file changes:
# aide --check
If the check command indicates there is no database available, this is a finding.
V-266062
False
PHTN-40-000237
At the command line, run the following commands to verify AIDE is configured and used to monitor for file changes:
# grep -v '^#' /etc/aide.conf | grep -v '^$'
Example result:
STIG = p+i+n+u+g+s+m+S
LOGS = p+n+u+g
/boot STIG
/opt STIG
/usr STIG
/etc STIG
/var/log LOGS
If the AIDE configuration does not include the lines shown above, this is a finding.
At the command line, run the following commands to verify an AIDE database is configured and used to monitor for file changes:
# aide --check
If the check command indicates there is no database available, this is a finding.
M
5569