SV-274177r1120519_rule
V-274177
SRG-OS-000366-GPOS-00153
AZLX-23-002575
CAT II
10
Configure Amazon Linux 2023 to disable kernel image loading.
Add or edit the following line in a system configuration file in the "/etc/sysctl.d/" directory:
kernel.kexec_load_disabled = 1
Load settings from all system configuration files with the following command:
$ sudo sysctl --system
Verify Amazon Linux 2023 is configured to disable kernel image loading.
Check the status of the kernel.kexec_load_disabled kernel parameter with the following command:
$ sudo sysctl kernel.kexec_load_disabled
kernel.kexec_load_disabled = 1
If "kernel.kexec_load_disabled" is not set to "1" or is missing, this is a finding.
V-274177
False
AZLX-23-002575
Verify Amazon Linux 2023 is configured to disable kernel image loading.
Check the status of the kernel.kexec_load_disabled kernel parameter with the following command:
$ sudo sysctl kernel.kexec_load_disabled
kernel.kexec_load_disabled = 1
If "kernel.kexec_load_disabled" is not set to "1" or is missing, this is a finding.
M
5700