1.295 OL09-00-002384

Information

OL 9 must disable acquiring, saving, and processing core dumps.

GROUP ID: V-271732
RULE ID: SV-271732r1155329

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 trying to debug problems.

Solution

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

$ sudo systemctl mask --now systemd-coredump.socket

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

Reload the daemon for this change to take effect.

$ sudo systemctl daemon-reload

See Also

https://workbench.cisecurity.org/benchmarks/27024