SV-257803r1155668_rule
V-257803
SRG-OS-000480-GPOS-00227
RHEL-09-213040
CAT II
10
Configure RHEL 9 to disable storing core dumps.
Create a drop-in if it does not already exist:
$ sudo vi /etc/sysctl.d/99-kernel_core_pattern.conf
Add the following to the file:
kernel.core_pattern = |/bin/false
Reload settings from all system configuration files with the following command:
$ sudo sysctl --system
Verify RHEL 9 disables storing core dumps.
Check the status of the "kernel.core_pattern" kernel parameter with the following command:
$ sudo sysctl kernel.core_pattern
kernel.core_pattern = |/bin/false
If "kernel.core_pattern" is not set to "|/bin/false", or a line is not returned and the need for core dumps is not documented with the information system security officer (ISSO) as an operational requirement, this is a finding.
V-257803
False
RHEL-09-213040
Verify RHEL 9 disables storing core dumps.
Check the status of the "kernel.core_pattern" kernel parameter with the following command:
$ sudo sysctl kernel.core_pattern
kernel.core_pattern = |/bin/false
If "kernel.core_pattern" is not set to "|/bin/false", or a line is not returned and the need for core dumps is not documented with the information system security officer (ISSO) as an operational requirement, this is a finding.
M
5551