SV-272482r1208740_rule
V-272482
SRG-OS-000250-GPOS-00093
RHEL-08-010296
CAT I
10
Configure the RHEL 8 SSH client to use only MACs employing FIPS 140-3-approved algorithms.
Reinstall crypto-policies with the following command:
$ sudo dnf -y reinstall crypto-policies
Set the 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 RHEL 8 SSH client is configured to use only MACs employing FIPS 140-3-approved algorithms.
To verify the MACs in the systemwide SSH configuration file, use the following command:
$ grep -i MACs /etc/crypto-policies/back-ends/openssh.config
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256
If the MACs entries in the "openssh.config" file have any hashes other than "hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256", or they are missing or commented out, this is a finding.
V-272482
False
RHEL-08-010296
Verify the RHEL 8 SSH client is configured to use only MACs employing FIPS 140-3-approved algorithms.
To verify the MACs in the systemwide SSH configuration file, use the following command:
$ grep -i MACs /etc/crypto-policies/back-ends/openssh.config
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256
If the MACs entries in the "openssh.config" file have any hashes other than "hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256", or they are missing or commented out, this is a finding.
M
2921