SV-261335r996469_rule
V-261335
SRG-OS-000125-GPOS-00065
SLEM-05-255050
CAT I
10
Configure SLEM 5 SSH daemon to only use MACs that employ FIPS 140-2/140-3 approved hashes.
Add or modify the following line in the "/etc/ssh/sshd_config" file:
MACs hmac-sha2-512,hmac-sha2-256
Verify SLEM 5 SSH daemon is configured to only use MACs that employ FIPS 140-2/140-3 approved hashes with the following command:
> sudo /usr/sbin/sshd -dd 2>&1 | awk '/filename/ {print $4}' | tr -d '\r' | tr '\n' ' ' | xargs sudo grep -iH '^\s*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, is commented out, missing, or conflicting results are returned, this is a finding.
V-261335
False
SLEM-05-255050
Verify SLEM 5 SSH daemon is configured to only use MACs that employ FIPS 140-2/140-3 approved hashes with the following command:
> sudo /usr/sbin/sshd -dd 2>&1 | awk '/filename/ {print $4}' | tr -d '\r' | tr '\n' ' ' | xargs sudo grep -iH '^\s*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, is commented out, missing, or conflicting results are returned, this is a finding.
M
5596