1.167 RHEL-10-500005

Information

RHEL 10 must enable auditing of processes that start prior to the audit daemon.

GROUP ID: V-281097RULE ID: SV-281097r1165646

Without the capability to generate audit records, it would be difficult to establish, correlate, and investigate the events relating to an incident or identify those responsible for one.

If auditing is enabled late in the startup process, the actions of some startup processes may not be audited. Some audit systems also maintain state information available only if auditing is enabled before a given process is created.

Solution

Configure RHEL 10 to enable auditing of processes that start prior to the audit daemon with the following command:

$ sudo grubby --update-kernel=ALL --args="audit=1"

Add or modify the following line in "/etc/default/grub" to ensure the configuration survives kernel updates:

GRUB_CMDLINE_LINUX="audit=1"

See Also

https://workbench.cisecurity.org/benchmarks/26403