macOS
TMA-MACOS15-2.3.3.1
Ensure Screen Sharing Is Disabled
ВисокаНиво 1Аутоматскаmacos
Опис
Screen Sharing allows a computer to connect to another computer on a network and display the computer’s screen. While sharing the computer’s screen, the user can control what happens on that computer, such as opening documents or applications, opening, moving, or closing windows, and even shutting down the computer.
Како се проверава
Метод провере: Команда љуске
shell
out=$(/bin/launchctl list 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -cE 'com.apple.screensharing$' || true- Очекивани излаз
0
Како се исправља
Метод исправке: Смерница или закрпа инфраструктуре
Terminal: sudo /bin/launchctl disable system/com.apple.screensharing ; sudo /bin/launchctl bootout system/com.apple.screensharing. GUI: System Settings > General > Sharing > Set Screen Sharing to disabled.
Својства
- Оперативни системи
- macos-15
- Ознаке
- macossystem-settings
- Референца
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 2.3.3.1 Ensure Screen Sharing Is Disabled
Проверите овај рачунар
Покрените ово на рачунару за који имате дозволу за проверу. Скенирање ради у режиму само за читање.
shell
tmaegis scan --target macos