CCE-95423-0Platform: 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: Configure grub so that processes that are capable of being audited can be audited even if they start up prior to auditd
Rationale:Audit events need to be captured on processes that start up prior to auditd, so that potential malicious activity cannot go undetected.
Note: This recommendation is designed around the grub2 bootloader, if LILO or another bootloader is in use in your environment enact equivalent settings.
Remediation:
Edit /etc/default/grub and add audit=1 to GRUB_CMDLINE_LINUX
GRUB_CMDLINE_LINUX="audit=1"
Run the following command to update the grub2
# grub2-mkconfig -o /boot/grub2/grub.cfg
Parameter:
[yes/no]
Technical Mechanism:
Edit /etc/default/grub and add audit=1 to GRUB_CMDLINE_LINUX
GRUB_CMDLINE_LINUX="audit=1"
Run the following command to update the grub2
# grub2-mkconfig -o /boot/grub2/grub.cfg
CCSS Severity: | CCSS Metrics: |
CCSS Score : 7.3 | Attack Vector: NETWORK |
Exploit Score: 3.9 | Attack Complexity: LOW |
Impact Score: 3.4 | Privileges Required: NONE |
Severity: HIGH | User Interaction: NONE |
Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | Scope: UNCHANGED |
| Confidentiality: LOW |
| Integrity: LOW |
| Availability: LOW |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72394 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68574 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72028 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:84268 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72660 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72974 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72869 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72763 |