UCF STIG Viewer Logo

The operating system must implement replay-resistant authentication mechanisms for network access to privileged accounts.


Overview

Finding ID Version Rule ID IA Controls Severity
V-59663 AOSX-10-000570 SV-74093r1_rule Medium
Description
The SSH Version should be explicitly set to Version 2. Version 2 supports strong crypto and was rewritten from scratch to resolve several weaknesses in Version 1 that make it extremely vulnerable to attackers. The weaker crypto in Version 1 is potentially susceptible to certain forms of replay attacks. The system default is to only enable Version 2. A replay attack may enable an unauthorized user to gain access to the operating system. Authentication sessions between the authenticator and the operating system validating the user credentials must not be vulnerable to a replay attack. An authentication process resists replay attacks if it is impractical to achieve a successful authentication by recording and replaying a previous authentication message.
STIG Date
Apple OS X 10.10 (Yosemite) Workstation Security Technical Implementation Guide 2017-04-06

Details

Check Text ( C-60433r1_chk )
To check which protocol is configured for sshd, run the following:

sudo grep ^Protocol /etc/sshd_config

If there is no result or the result is not '2', this is a finding.
Fix Text (F-65073r1_fix)
In order to make sure that 'Protocol 2' is used by sshd, run the following command:

sudo sed -i.bak 's/.*Protocol.*/Protocol 2/' /etc/sshd_config