The macOS system must disable Erase Content and Settings.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-268564SRG-OS-000095-GPOS-00049APPL-15-005061SV-268564r1034632_rule2025-02-201
Description
Erase Content and Settings must be disabled. Without disabling the Erase Content and Settings configuration, forensics data could be lost if this feature is activated on a compromised system.
ℹ️ Check
Verify the macOS system is configured to disable Erase Content and Settings with the following command: /usr/bin/osascript -l JavaScript << EOS $.NSUserDefaults.alloc.initWithSuiteName('com.apple.applicationaccess')\ .objectForKey('allowEraseContentAndSettings').js EOS If the result is not "false", this is a finding.
✔️ Fix
Configure the macOS system to disable Erase Content and Settings by installing the "com.apple.applicationaccess" configuration profile.