TMAegisBeta
Thêm quy tắc cho macos

macOS

TMA-MACOS-5.7

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

CaoCấp 1Tự độngmacos

Mô tả

macOS has a privilege that can be granted to any user that will allow that user to unlock active users' sessions. Note: For organizations that are using Platform Single-Sign-On (PSSO), this setting can cause issues with syncing with your PSSO. See the note in the audit to verify if you are using PSSO. Audit: Organisations using Platform SSO (app-sso platform -s shows a configuration) should not apply this change.

Cách kiểm tra

Phương pháp kiểm tra: Lệnh shell

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 }'
Đầu ra mong đợi
1

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

Terminal: sudo /usr/bin/security authorizationdb write system.login.screensaver authenticate-session-owner ; sudo /usr/bin/defaults write /Library/Preferences/com.apple.loginwindow screenUnlockMode -int 1.

Thuộc tính

Hệ điều hành
macos-26
Thẻ
macossystem-access
Tham chiếu
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 5.7 Ensure an Administrator Account Cannot Login to Another User's Active and Locked Session

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target macos