TMAegis
macos için daha fazla kural

macOS

TMA-MACOS14-5.7

Ensure an Administrator Account Cannot Login to Another User's Active and Locked Session

YüksekDüzey 1Otomatikmacos

Açıklama

macOS has a privilege that can be granted to any user that will allow that user to unlock active users' sessions. Disabling the administrator's and/or user's ability to log into another user's active and locked session prevents unauthorized persons from viewing potentially sensitive and/or personal information.

Nasıl denetlenir

Denetim yöntemi: Kabuk komutu

shell
out=$(/usr/bin/security authorizationdb read system.login.screensaver 2>&1) || exit 1
printf '%s\n' "$out" | /usr/bin/awk -F "[<>]" '$3=="authenticate-session-owner" { ++x } END { print x+0 }'
Beklenen çıktı
1

Nasıl düzeltilir

Düzeltme yöntemi: Kılavuz veya altyapı yaması

Terminal Method: Run the following command to disable a user logging into another user's active and/or locked session: % /usr/bin/sudo /usr/bin/security authorizationdb write system.login.screensaver authenticate-session-owner YES (0) Running this command will disable Touch ID to unlock the screen saver. To re-enable Touch ID for users, run the following command: % /usr/bin/sudo /usr/bin/defaults write /Library/Preferences/com.apple.loginwindow screenUnlockMode -int 1

Özellikler

İşletim sistemleri
macos-14
Etiketler
loggingmacossonoma
Referans
CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 5.7 Ensure an Administrator Account Cannot Login to Another User's Active and Locked Session

Bu ana makineyi denetle

Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.

shell
tmaegis scan --target macos