Skip to content

AlmaLinux OS 9 must disable acquiring, saving, and processing core dumps.

An XCCDF Rule

Description

A core dump includes a memory image taken at the time the operating system terminates an application. The memory image could contain sensitive data and is generally useful only for developers or system operators trying to debug problems. Enabling core dumps on production systems is not recommended; however, there may be overriding operational requirements to enable advanced debugging. Permitting temporary enablement of core dumps during such situations must be reviewed through local needs and policy.

ID
SV-269179r1050061_rule
Version
ALMA-09-011350
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure the system to disable the systemd-coredump.socket with the following command:

$ systemctl mask --now systemd-coredump.socket

Create symlink /etc/systemd/system/systemd-coredump.socket -> /dev/null