UCF STIG Viewer Logo

Kernel core dumps must be disabled unless needed.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22404 GEN003510 SV-35259r1_rule ECSC-1 Medium
Description
Kernel core dumps may contain the full contents of system memory at the time of the crash. Kernel core dumps may consume a considerable amount of disk space and may result in Denial of Service by exhausting the available space on the target file system. The kernel core dump process may increase the amount of time a system is unavailable due to a crash. Kernel core dumps can be useful for kernel debugging.
STIG Date
HP-UX 11.23 Security Technical Implementation Guide 2015-12-02

Details

Check Text ( C-35095r1_chk )
Verify crash dumps are disabled.
# crashconf -v

If the included list is not empty or fully disabled, this is a finding.

Alternatively,
# crashconf -v | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' | cut -f 3,3 -d " " | \
egrep -c -i "yes,"

If the above command returns a value >0, this is a finding.
Fix Text (F-30364r1_fix)
Disable crash dumps.
# crashconf -e all

Additionally, edit /etc/rc.config.d/crashconf and:

• set CRASH_EXCLUDED_PAGES="all"
• set CRASHCONF_ENABLED="0"