macOS
TMA-MACOS-5.1.3
Ensure Apple Mobile File Integrity (AMFI) Is Enabled
ÉlevéeNiveau 1Automatiséemacos
Description
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.
Méthode de vérification
Méthode d'audit: Commande 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- Sortie attendue
0
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
Terminal: sudo /usr/sbin/nvram boot-args="".
Propriétés
- Systèmes d'exploitation
- macos-26
- Étiquettes
- macossystem-access
- Référence
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 5.1.3 Ensure Apple Mobile File Integrity (AMFI) Is Enabled
Vérifier cet hôte
Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.
shell
tmaegis scan --target macos