macOS
TMA-MACOS15-2.3.3.1
Ensure Screen Sharing Is Disabled
YüksekDüzey 1Otomatikmacos
Açıklama
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.
Nasıl denetlenir
Denetim yöntemi: Kabuk komutu
shell
out=$(/bin/launchctl list 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -cE 'com.apple.screensharing$' || true- Beklenen çıktı
0
Nasıl düzeltilir
Düzeltme yöntemi: Kılavuz veya altyapı yaması
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.
Özellikler
- İşletim sistemleri
- macos-15
- Etiketler
- macossystem-settings
- Referans
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 2.3.3.1 Ensure Screen Sharing Is Disabled
Bu ana makineyi denetle
Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.
shell
tmaegis scan --target macos