4.1.1.3 Ensure auditing for processes that start prior to auditd is enabled

Information

Configure grub so that processes that are capable of being audited can be audited even if they start up prior to auditd startup.

Note: This recommendation is designed around the grub bootloader, if LILO or another bootloader is in use in your environment enact equivalent settings. Replace /boot/grub/grub.cfg with the appropriate grub configuration file for your environment.

Rationale:

Audit events need to be captured on processes that start up prior to auditd , so that potential malicious activity cannot go undetected.

Solution

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 configuration:

# update-grub

See Also

https://workbench.cisecurity.org/files/2920

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-3, 800-53|AU-12, CSCv7|6.2, CSCv7|6.3

Plugin: Unix

Control ID: a10e0020aa497b9f57bad344b20ff7daaffb6011217826ab58fc37f53b9398d3