SV-100457r1_rule
V-89807
SRG-OS-000394-GPOS-00174
VRAU-SL-001255
CAT II
10
Edit the SSH daemon configuration and remove any MACs other than "hmac-sha1". If necessary, add a "MACs" line.
# sed -i "/^[^#]*MACs/ c\MACs hmac-sha1" /etc/ssh/sshd_config
Check the SSH daemon configuration for allowed MACs:
# grep -i macs /etc/ssh/sshd_config | grep -v '^#'
If no lines are returned, or the returned MACs list contains any MAC other than "hmac-sha1", this is a finding.
V-89807
False
VRAU-SL-001255
Check the SSH daemon configuration for allowed MACs:
# grep -i macs /etc/ssh/sshd_config | grep -v '^#'
If no lines are returned, or the returned MACs list contains any MAC other than "hmac-sha1", this is a finding.
M
3459