SV-269179r1050061_rule
V-269179
SRG-OS-000480-GPOS-00227
ALMA-09-011350
CAT II
10
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
Verify AlmaLinux OS 9 is not configured to acquire, save, or process core dumps with the following command:
$ systemctl status systemd-coredump.socket
systemd-coredump.socket
Loaded: masked (Reason: Unit systemd-coredump.socket is masked.)
Active: inactive (dead) since Mon 2024-02-26 13:31:02 UTC; 26s ago
Duration: 3h 13min 22.428s
If the "systemd-coredump.socket" is loaded and not masked and the need for core dumps is not documented with the information system security officer (ISSO) as an operational requirement, this is a finding.
V-269179
False
ALMA-09-011350
Verify AlmaLinux OS 9 is not configured to acquire, save, or process core dumps with the following command:
$ systemctl status systemd-coredump.socket
systemd-coredump.socket
Loaded: masked (Reason: Unit systemd-coredump.socket is masked.)
Active: inactive (dead) since Mon 2024-02-26 13:31:02 UTC; 26s ago
Duration: 3h 13min 22.428s
If the "systemd-coredump.socket" is loaded and not masked and the need for core dumps is not documented with the information system security officer (ISSO) as an operational requirement, this is a finding.
M
5664