1.5.1 Ensure core dump storage is disabled

Information

A core dump is the memory of an executable program. It is generally used to determine why a program aborted. It can also be used to glean confidential information from a core file.

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

Edit /etc/systemd/coredump.conf and edit or add the following line:

Storage=none

See Also

https://workbench.cisecurity.org/files/4230