1.5.2 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.

Rationale:

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

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

ProcessSizeMax=0

Default Value:

ProcessSizeMax=2G

See Also

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