macOS
TMA-MACOS14-5.3.2
Ensure all APFS and HFS+ external user storage volumes are encrypted
说明
Apple developed the APFS (Apple File System) structure primarily for flash and solid- state drives. This file structure was first made available in 10.12 and then became the default in 10.13. Apple introduced CoreStorage with Mac OS X 10.7 Lion. It is used as the default for formatting on macOS volumes prior to macOS 10.13 High Sierra. All HFS and CoreStorage Volumes should be encrypted. CoreStorage has been deprecated and replaced with APFS for volume encryption. In order to protect user data from loss or tampering volumes, carrying data should be encrypted.
检查方式
审计方法: Shell 命令
[ -x /usr/sbin/diskutil ] || exit 1
out=$(/usr/sbin/diskutil list external | /usr/bin/grep -E 'APFS Volume|Apple_HFS|Logical Volume' | /usr/bin/awk '{print $NF}' | /usr/bin/xargs -n1 /usr/sbin/diskutil info | /usr/bin/grep -E "Volume Name|FileVault")
if printf '%s\n' "$out" | /usr/bin/grep -qE 'FileVault: +No'; then printf '%s\n' "$out"; else echo compliant; fi- 预期输出
compliant
修复方式
修复方法: 操作指南或基础设施补丁
Use Disk Utility to erase a user disk and format as APFS (Encrypted). Note: It is recommended using APFS over HFS+ where possible. If you do need to use an HFS+/CoreStorage external drive for compatibility reasons, you need to format the drive to MacOS Extended (Journaled) (or MacOS Extended (Case-Sensitive, Journaled) if Case-Sensitive is required).
属性
- 操作系统
- macos-14
- 标签
- encryptionmacossonoma
- 参考
- CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 5.3.2 Ensure all APFS and HFS+ external user storage volumes are encrypted
检查本机
请在您有权审计的机器上运行此命令。扫描为只读操作。
tmaegis scan --target macos