id: os_mobile_file_integrity_enable
title: Enable Apple Mobile File Integrity
discussion: Mobile file integrity _MUST_ be enabled.
references:
  nist:
    cce:
      macos_27:
        - CCE-XXXXX-X
      macos_26:
        - CCE-95231-7
      macos_15:
        - CCE-94231-8
      macos_14:
        - CCE-92828-3
  cis:
    benchmark:
      macos_26:
        - 5.1.3 (level 1)
      macos_15:
        - 5.1.3 (level 1)
      macos_14:
        - 5.1.3 (level 1)
    controls_v8:
      - 2.3
      - 2.6
platforms:
  macOS:
    '27.0': {}
    '26.0':
      benchmarks:
        - name: cis_lvl1
        - name: cis_lvl2
    '15.0':
      benchmarks:
        - name: cis_lvl1
        - name: cis_lvl2
    enforcement_info:
      check:
        shell: /usr/sbin/nvram -p | /usr/bin/grep -c "amfi_get_out_of_my_way=1"
        result:
          integer: 0
      fix:
        shell: /usr/sbin/nvram boot-args=""
tags:
  - cisv8
