UCF STIG Viewer Logo

The macOS system must disable the Screen Sharing feature.


Overview

Finding ID Version Rule ID IA Controls Severity
V-225193 AOSX-15-002050 SV-225193r610901_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.15 (Catalina) Security Technical Implementation Guide 2022-06-06

Details

Check Text ( C-26892r467747_chk )
To check if the Screen Sharing service is disabled, use the following command:

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

If the results do not show the following, this is a finding:

"com.apple.screensharing" => true
Fix Text (F-26880r467748_fix)
To disable the Screen Sharing service, run the following command:

/usr/bin/sudo /bin/launchctl disable system/com.apple.screensharing

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