SV-283441r1192638_rule
V-283441
SRG-OS-000033-GPOS-00014
AZLX-23-000050
CAT I
10
Configure the Amazon Linux 2023 to implement FIPS mode with the following command:
$ sudo fips-mode-setup --enable
To ensure the kernel enables FIPS mode for early boot, "fips=1" must be added to the grub config:
$ sudo grubby --update-kernel=ALL --args="fips=1"
Verify the setting with the following command:
$ cat /proc/cmdline
BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.14.0-570.21.1.el9_6.x86_64 root=/dev/mapper/rhel-root ro resume=/dev/mapper/rhel-swap rd.luks.uuid=luks-cd37eb8d-a2c3-4671-96ee-1e6a3a681561 rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet fips=1 boot=UUID=acbbb4ee-adc0-4cb2-9546-afab857b8849 audit_backlog_limit=8192 crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M
Reboot the system for the changes to take effect.
Verify Amazon Linux 2023 is in FIPS mode with the following command:
$ sudo fips-mode-setup --check
FIPS mode is enabled.
If FIPS mode is not enabled, this is a finding.
If any other lines are returned by the above command, run the following command to see the currently applied crypto-policy:
$ update-crypto-policies --show
FIPS
If the policy is not "FIPS" or a FIPS policy authorized by and documented with the ISSO, this is a finding.
V-283441
False
AZLX-23-000050
Verify Amazon Linux 2023 is in FIPS mode with the following command:
$ sudo fips-mode-setup --check
FIPS mode is enabled.
If FIPS mode is not enabled, this is a finding.
If any other lines are returned by the above command, run the following command to see the currently applied crypto-policy:
$ update-crypto-policies --show
FIPS
If the policy is not "FIPS" or a FIPS policy authorized by and documented with the ISSO, this is a finding.
M
5700