ALMA-09-011350 - AlmaLinux OS 9 must disable acquiring, saving, and processing core dumps.

Information

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.

Solution

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

Reload the daemon for this change to take effect.

$ systemctl daemon-reload

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CL_AlmaLinux_OS_9_V1R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-269179r1050061_rule, STIG-ID|ALMA-09-011350, Vuln-ID|V-269179

Plugin: Unix

Control ID: 13398c2545640723913cd43a19f76c5d885c3c377c86839ebd0ab89027563689