The macOS system must disable Screen Sharing and Apple Remote Desktop.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-277114 | SRG-OS-000080-GPOS-00048 | APPL-26-002050 | SV-277114r1149392_rule | 2026-02-11 | 1 |
Description
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.
ℹ️ Check
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.
✔️ 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.