Details
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.
Solution
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.
Supportive Information
The following resource is also helpful.
This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Unix.
References
- 800-53|CM-6b.
- CAT|II
- CCI|CCI-000366
- Rule-ID|SV-237767r648733_rule
- STIG-ID|AOSX-13-000057
- STIG-Legacy|SV-96195
- STIG-Legacy|V-81481
- Vuln-ID|V-237767