TMAegis
macos için daha fazla kural

macOS

TMA-MACOS14-5.1.3

Ensure Apple Mobile File Integrity (AMFI) Is Enabled

YüksekDüzey 1Otomatikmacos

Açıklama

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. Apple Mobile File Integrity validates that application code is validated.

Nasıl denetlenir

Denetim yöntemi: Kabuk komutu

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
Beklenen çıktı
0

Nasıl düzeltilir

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

Terminal Method: Run the following command to enable the Apple Mobile File Integrity service: % /usr/bin/sudo /usr/sbin/nvram boot-args=""

Özellikler

İşletim sistemleri
macos-14
Etiketler
macossonoma
Referans
CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 5.1.3 Ensure Apple Mobile File Integrity (AMFI) Is Enabled

Bu ana makineyi denetle

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

shell
tmaegis scan --target macos