SV-284951r1208921_rule
V-284951
SRG-OS-000396-GPOS-00176
SLES-15-010045
CAT I
10
Configure the SUSE operating system to use a FIPS 140-3-compliant systemwide cryptographic policy.
Set the systemwide crypto-policy to FIPS with the following command:
> sudo update-crypto-policies --set FIPS
Setting system policy to FIPS
Note: Systemwide crypto-policies are applied on application startup. It is recommended to restart the system for the change of policies to fully take place.
Verify the SUSE operating system is set to use a FIPS 140-3-compliant systemwide cryptographic policy with the following command:
> update-crypto-policies --show
FIPS
If the systemwide crypto-policy is not set to "FIPS", this is a finding.
Verify the current minimum crypto-policy configuration with the following commands:
> sudo grep -E 'rsa_size|hash' /etc/crypto-policies/state/CURRENT.pol
hash = SHA2-256 SHA2-384 SHA2-512 SHA2-224 SHA3-256 SHA3-384 SHA3-512 SHAKE-256
min_rsa_size = 2048
If the "hash" values do not include at least the following FIPS 140-3-compliant algorithms, this is a finding:
"SHA2-256 SHA2-384 SHA2-512 SHA2-224 SHA3-256 SHA3-384 SHA3-512 SHAKE-256"
If any algorithms include "SHA1" or a hash value less than "224", this is a finding.
If the "min_rsa_size" is not set to a value of at least "2048", this is a finding.
If these commands do not return any output, this is a finding.
V-284951
False
SLES-15-010045
Verify the SUSE operating system is set to use a FIPS 140-3-compliant systemwide cryptographic policy with the following command:
> update-crypto-policies --show
FIPS
If the systemwide crypto-policy is not set to "FIPS", this is a finding.
Verify the current minimum crypto-policy configuration with the following commands:
> sudo grep -E 'rsa_size|hash' /etc/crypto-policies/state/CURRENT.pol
hash = SHA2-256 SHA2-384 SHA2-512 SHA2-224 SHA3-256 SHA3-384 SHA3-512 SHAKE-256
min_rsa_size = 2048
If the "hash" values do not include at least the following FIPS 140-3-compliant algorithms, this is a finding:
"SHA2-256 SHA2-384 SHA2-512 SHA2-224 SHA3-256 SHA3-384 SHA3-512 SHAKE-256"
If any algorithms include "SHA1" or a hash value less than "224", this is a finding.
If the "min_rsa_size" is not set to a value of at least "2048", this is a finding.
If these commands do not return any output, this is a finding.
M
5274