macOS
TMA-MACOS15-2.3.3.1
Ensure Screen Sharing Is Disabled
AltaNivel 1Automatizadamacos
Descripción
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.
Cómo se verifica
Método de auditoría: Comando de shell
shell
out=$(/bin/launchctl list 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -cE 'com.apple.screensharing$' || true- Salida esperada
0
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
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.
Propiedades
- Sistemas operativos
- macos-15
- Etiquetas
- macossystem-settings
- Referencia
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 2.3.3.1 Ensure Screen Sharing Is Disabled
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
shell
tmaegis scan --target macos