SV-248804r958412_rule
V-248804
SRG-OS-000037-GPOS-00015
OL08-00-030602
CAT III
10
Configure OL 8 to allocate sufficient "audit_backlog_limit" to capture processes that start prior to the audit daemon with the following command:
$ sudo grubby --update-kernel=ALL --args="audit_backlog_limit=8192"
Add or modify the following line in "/etc/default/grub" to ensure the configuration survives kernel updates:
GRUB_CMDLINE_LINUX="audit_backlog_limit=8192"
If audit records are not stored on a partition made specifically for audit records, a new partition with sufficient space will need be to be created.
Verify OL 8 allocates a sufficient "audit_backlog_limit" to capture processes that start prior to the audit daemon with the following commands:
$ sudo grub2-editenv list | grep audit
kernelopts=root=/dev/mapper/ol-root ro crashkernel=auto resume=/dev/mapper/ol-swap rd.lvm.lv=ol/root rd.lvm.lv=ol/swap rhgb quiet fips=1 audit=1 audit_backlog_limit=8192 boot=UUID=8d171156-cd61-421c-ba41-1c021ac29e82
If the "audit_backlog_limit" entry does not equal "8192" or larger, is missing, or the line is commented out, this is a finding.
Verify "audit_backlog_limit" is set to persist in kernel updates:
$ sudo grep audit /etc/default/grub
GRUB_CMDLINE_LINUX="audit_backlog_limit=8192"
If "audit_backlog_limit" is not set to "8192" or larger or is missing or commented out, this is a finding.
V-248804
False
OL08-00-030602
Verify OL 8 allocates a sufficient "audit_backlog_limit" to capture processes that start prior to the audit daemon with the following commands:
$ sudo grub2-editenv list | grep audit
kernelopts=root=/dev/mapper/ol-root ro crashkernel=auto resume=/dev/mapper/ol-swap rd.lvm.lv=ol/root rd.lvm.lv=ol/swap rhgb quiet fips=1 audit=1 audit_backlog_limit=8192 boot=UUID=8d171156-cd61-421c-ba41-1c021ac29e82
If the "audit_backlog_limit" entry does not equal "8192" or larger, is missing, or the line is commented out, this is a finding.
Verify "audit_backlog_limit" is set to persist in kernel updates:
$ sudo grep audit /etc/default/grub
GRUB_CMDLINE_LINUX="audit_backlog_limit=8192"
If "audit_backlog_limit" is not set to "8192" or larger or is missing or commented out, this is a finding.
M
5416