Information
The macOS system must disable Screen Sharing and Apple Remote Desktop.
GROUP ID: V-259505RULE ID: SV-259505r958472
Support for both Screen Sharing and Apple Remote Desktop (ARD) is nonessential and must be disabled.
The information system must be configured to provide only essential capabilities. Disabling screen sharing and ARD helps prevent the unauthorized connection of devices, the unauthorized transfer of information, and unauthorized tunneling.
Solution
Configure the macOS system to disable Screen Sharing and Apple Remote Desktop with the following command:
/bin/launchctl disable system/com.apple.screensharing
The system may need to be restarted for the update to take effect.Note: This will apply to the whole system.