UCF STIG Viewer Logo

The operating system must enforce requirements for remote connections to the information system.


Overview

Finding ID Version Rule ID IA Controls Severity
V-59537 AOSX-10-000055 SV-73967r1_rule Medium
Description
The Screen Sharing feature allows remote users to view or control the desktop of the current user. A malicious user can take advantage of Screen Sharing to gain full access to the system remotely, either with stolen credentials or by guessing the username and password. Disabling Screen Sharing mitigates this risk.
STIG Date
Apple OS X 10.10 (Yosemite) Workstation Security Technical Implementation Guide 2017-04-06

Details

Check Text ( C-60307r2_chk )
To check if the 'screen sharing' service is disabled, use the following command:

sudo launchctl print-disabled system | grep com.apple.screensharing

If the results do not show the following:

"com.apple.screensharing" => true

this is a finding.
Fix Text (F-64947r1_fix)
To disable the 'screen sharing' service, run the following command:

sudo launchctl disable system/com.apple.screensharing

The system may need to be restarted for the update to take effect.