Check: UBTU-18-010516
Canonical Ubuntu 18.04 LTS STIG:
UBTU-18-010516
(in versions v2 r14 through v2 r9)
Title
The Ubuntu operating system must be configured so that a file integrity tool verifies the correct operation of security functions every 30 days. (Cat II impact)
Discussion
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.
Check Content
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
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
Additional Identifiers
Rule ID: SV-219344r853403_rule
Vulnerability ID: V-219344
Group Title: SRG-OS-000446-GPOS-00200
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-002699 |
The information system performs verification of the correct operation of organization-defined security functions: when the system is in an organization-defined transitional state; upon command by a user with appropriate privileges; and/or on an organization-defined frequency. |
Controls
Number | Title |
---|---|
SI-6 |
Security Function Verification |