TMA-MACOS-2.6.6
Ensure FileVault Is Enabled
CaoCấp 1Tự độngmacos
Mô tả
FileVault secures a system's data by automatically encrypting its boot volume and requiring a password or recovery key to access it. FileVault should be used with a saved escrow key to ensure that the owner can decrypt their data if the password is lost. FileVault may also be enabled using command line using the fdesetup command. Audit: Requires FileVault On and the com.apple.MCX dontAllowFDEDisable profile key (the benchmark requires the profile).
Cách kiểm tra
Phương pháp kiểm tra: Lệnh shell
shell
s=$(/usr/bin/fdesetup status 2>/dev/null) || exit 1
p=$(/usr/bin/osascript -l JavaScript <<'EOS'
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.MCX').objectForKey('dontAllowFDEDisable').js
EOS
)
if printf '%s' "$s" | /usr/bin/grep -q "FileVault is On" && [ "$p" = true ]; then echo compliant; else echo "$s dontAllowFDEDisable=${p:-unset}"; fi- Đầu ra mong đợi
compliant
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
Profile (preferred): com.apple.MCX dontAllowFDEDisable = <true/>. GUI: System Settings > Security & Privacy > Turn On.
Thuộc tính
- Hệ điều hành
- macos-26
- Thẻ
- macossystem-settings
- Tham chiếu
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.6.6 Ensure FileVault Is Enabled
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