SV-225193r610901_rule
V-225193
SRG-OS-000480-GPOS-00227
AOSX-15-002050
CAT II
10
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.
To check if the Screen Sharing service is disabled, use the following command:
/usr/bin/sudo /bin/launchctl print-disabled system | /usr/bin/grep com.apple.screensharing
If the results do not show the following, this is a finding:
"com.apple.screensharing" => true
V-225193
False
AOSX-15-002050
To check if the Screen Sharing service is disabled, use the following command:
/usr/bin/sudo /bin/launchctl print-disabled system | /usr/bin/grep com.apple.screensharing
If the results do not show the following, this is a finding:
"com.apple.screensharing" => true
M
4212