1.4.3 Ensure core dump backtraces are 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, increasing the risk to the system.

Solution

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

ProcessSizeMax=0

See Also

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