|Finding ID||Version||Rule ID||IA Controls||Severity|
|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. Notifications provided by information systems include, for example, electronic alerts to system administrators, messages to local computer consoles, and/or hardware indications, such as lights. This requirement applies to the Ubuntu operating system performing security function verification/testing and/or systems and environments that require this functionality.|
|Canonical Ubuntu 18.04 LTS Security Technical Implementation Guide||2022-12-06|
|Check Text ( C-21069r305360_chk )|
| Verify that Advanced Intrusion Detection Environment (AIDE) performs a verification of the operation of security functions every 30 days. |
Note: A file integrity tool other than AIDE may be used, but the tool must be executed at least once per week.
Check that AIDE is being executed every 30 days or less with the following command:
# ls -al /etc/cron.daily/aide
-rwxr-xr-x 1 root root 26049 Oct 24 2014 /etc/cron.daily/aide
If the "/etc/cron.daily/aide" file does not exist or a cron job is not configured to run at least every 30 days, this is a finding.
|Fix Text (F-21068r305361_fix)|
| The cron file for AIDE is fairly complex as it creates the report. This file is installed with the aide-common package and the default can be restored by copying it from another location: |
# sudo cp /usr/share/aide/config/cron.daily/aide /etc/cron.daily/aide