SV-234826r622137_rule
V-234826
SRG-OS-000125-GPOS-00065
SLES-15-010270
CAT II
10
Configure the SUSE operating system SSH daemon to only use MACs that employ FIPS 140-2 approved hashes.
Edit the "/etc/ssh/sshd_config" file to uncomment or add the line for the "MACs" keyword and set its value to "hmac-sha2-512" and/or "hmac-sha2-256" (The file might be named differently or be in a different location):
MACs hmac-sha2-512,hmac-sha2-256
Verify the SUSE operating system SSH daemon is configured to only use MACs that employ FIPS 140-2 approved hashes.
Check that the SSH daemon is configured to only use MACs that employ FIPS 140-2 approved hashes with the following command:
> sudo grep -i macs /etc/ssh/sshd_config
MACs hmac-sha2-512,hmac-sha2-256
If any ciphers other than "hmac-sha2-512" or "hmac-sha2-256" are listed, the order differs from the example above, they are missing, or the returned line is commented out, this is a finding.
V-234826
False
SLES-15-010270
Verify the SUSE operating system SSH daemon is configured to only use MACs that employ FIPS 140-2 approved hashes.
Check that the SSH daemon is configured to only use MACs that employ FIPS 140-2 approved hashes with the following command:
> sudo grep -i macs /etc/ssh/sshd_config
MACs hmac-sha2-512,hmac-sha2-256
If any ciphers other than "hmac-sha2-512" or "hmac-sha2-256" are listed, the order differs from the example above, they are missing, or the returned line is commented out, this is a finding.
M
5274