CCE-95477-6Platform: cpe:/o:amazon:linux:2, cpe:/o:centos:centos:7, cpe:/o:oracle:linux:7, cpe:/o:oracle:linux:8, cpe:/o:redhat:enterprise_linux:7, cpe:/o:redhat:enterprise_linux:8, cpe:/o:redhat:enterprise_linux:9 | Date: (C)2021-03-05 (M)2023-07-04 |
Description
Periodic checking of the filesystem integrity is needed to detect changes to the filesystem.
Rationale
Periodic file checking allows the system administrator to determine on a regular basis if critical files have been changed in an unauthorized fashion.
Audit
Run the following commands to determine if there is a cron job scheduled to run the aide check.
# crontab -u root -l | grep aide
# grep -r aide /etc/cron.* /etc/crontab
Ensure a cron job in compliance with site policy is returned.
Remediation
Run the following command:
# crontab -u root -e
Add the following line to the crontab:
0 5 * * * /usr/bin/aide --check
Notes
The checking in this recommendation occurs every day at 5am. Alter the frequency and time of the checks in compliance with site policy.
Parameter:
[yes/no]
Technical Mechanism:
Run the following command:
# crontab -u root -e
Add the following line to the crontab:
0 5 * * * /usr/bin/aide --check
CCSS Severity: | CCSS Metrics: |
CCSS Score : 10.0 | Attack Vector: NETWORK |
Exploit Score: 3.9 | Attack Complexity: LOW |
Impact Score: 6.0 | Privileges Required: NONE |
Severity: CRITICAL | User Interaction: NONE |
Vector: AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | Scope: CHANGED |
| Confidentiality: HIGH |
| Integrity: HIGH |
| Availability: HIGH |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72923 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68628 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:84218 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:73028 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72344 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72817 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72714 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:71978 |