APPL-26-002050 The macOS system must disable Screen Sharing and Apple Remote Desktop.
All changes in this version
Maps to AC-3 via CCI-000213
Title
The macOS system must disable Screen Sharing and Apple Remote Desktop.
Control
Verify the macOS system is configured to disable Screen Sharing and Apple Remote Desktop with the following command: result="FAIL" enabled=$(/bin/launchctl print-disabled system | /usr/bin/grep '"com.apple.screensharing" => enabled') running=$(/bin/launchctl print system/com.apple.screensharing 2>/dev/null) if [[ -z "$running" ]] && [[ -z "$enabled" ]]; then result="PASS" elif [[ -n "$running" ]]; then result=result+" RUNNING" elif [[ -n "$enabled" ]]; then result=result+" ENABLED" fi echo $result If the result is not "PASS", this is a finding.
Discussion
Support for both Screen Sharing and Apple Remote Desktop is nonessential and must be disabled. The information system must be configured to provide only essential capabilities. Disabling Screen Sharing and Apple Remote Desktop helps prevent unauthorized connection of devices, transfer of information, and tunneling.
Related controls
CCI-000213
Fix
Configure the macOS system to disable Screen Sharing and Apple Remote Desktop with the following command: /bin/launchctl bootout system/com.apple.screensharing /bin/launchctl disable system/com.apple.screensharing Note: This will apply to the whole system.