mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
Check for Apple Mobile File Integrity #307
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @robertgendler on GitHub.
Apple Mobile File Integrity. AMFI is the macOS kernel module that enforces the code-signing validation.
https://eclecticlight.co/2018/12/29/amfi-checking-file-integrity-on-your-mac/
Check would be to check for the existence of "amfi_get_out_of_my_way=1" in the nvram boot-args
@robertgendler commented on GitHub:
800-53 R5 SI-7(1), SI-3
@robertgendler commented on GitHub:
Not really a useful check.
@robertgendler commented on GitHub:
This seems to require disabling SIP
@robertgendler commented on GitHub:
check:
nvram -p | grep -c "amfi_get_out_of_my_way=1"fix:
nvram boot-args=""