SV-261334r996467_rule
V-261334
SRG-OS-000033-GPOS-00014
SLEM-05-255045
CAT I
10
Configure the SSH server to only implement FIPS 140-2/140-3 approved ciphers.
Add or modify the following line in the "/etc/ssh/sshd_config" file:
Ciphers aes256-ctr,aes192-ctr,aes128-ctr
Restart the SSH daemon:
> sudo systemctl restart sshd.service
Verify that SLEM 5 implements DOD-approved encryption to protect the confidentiality of SSH remote connections 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*ciphers'
/etc/ssh/sshd_config:Ciphers aes256-ctr,aes192-ctr,aes128-ctr
If any ciphers other than "aes256-ctr", "aes192-ctr", or "aes128-ctr" are listed, the order differs from the example above, the line is commented out, or the "Ciphers" keyword is missing, or conflicting results are returned, this is a finding.
V-261334
False
SLEM-05-255045
Verify that SLEM 5 implements DOD-approved encryption to protect the confidentiality of SSH remote connections 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*ciphers'
/etc/ssh/sshd_config:Ciphers aes256-ctr,aes192-ctr,aes128-ctr
If any ciphers other than "aes256-ctr", "aes192-ctr", or "aes128-ctr" are listed, the order differs from the example above, the line is commented out, or the "Ciphers" keyword is missing, or conflicting results are returned, this is a finding.
M
5596