The macOS system must disable the Screen Sharing feature.
An XCCDF Rule
Description
<VulnDiscussion>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.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-252507r816335_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
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.