TMAegisBeta
Thêm quy tắc cho macos

macOS

TMA-MACOS15-5.1.3

Ensure Apple Mobile File Integrity (AMFI) Is Enabled

CaoCấp 1Tự độngmacos

Mô tả

Apple Mobile File Integrity (AMFI) was first released in macOS 10.12. The daemon and service block attempts to run unsigned code. AMFI uses launchd, code signatures, certificates, entitlements, and provisioning profiles to create a filtered entitlement dictionary for an app. AMFI is the macOS kernel module that enforces code-signing and library validation.

Cách kiểm tra

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

shell
out=$(/usr/sbin/nvram -p 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -c "amfi_get_out_of_my_way=1" || true
Đầu ra mong đợi
0

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/sbin/nvram boot-args="".

Thuộc tính

Hệ điều hành
macos-15
Thẻ
macossystem-access
Tham chiếu
CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 5.1.3 Ensure Apple Mobile File Integrity (AMFI) 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