TMA-MACOS-2.3.3.1
Ensure Screen Sharing Is Disabled
TinggiLevel 1Otomatismacos
Deskripsi
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.
Cara pemeriksaan
Metode audit: Perintah shell
shell
out=$(/bin/launchctl list 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -cE 'com.apple.screensharing$' || true- Output yang diharapkan
0
Cara perbaikan
Metode perbaikan: Panduan atau patch infrastruktur
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.
Properti
- Sistem operasi
- macos-26
- Tag
- macossystem-settings
- Referensi
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.3.3.1 Ensure Screen Sharing Is Disabled
Periksa host ini
Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.
shell
tmaegis scan --target macos