DISA STIGS Viewer

The macOS system must disable Erase Content and Settings.

Overview

Finding ID Version Rule ID IA Controls Severity
V-268564 APPL-15-005061 SV-268564r1034632_rule   Medium
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.
STIG Date
Apple macOS 15 (Sequoia) Security Technical Implementation Guide 2025-05-05

Details

Check Text (C-72594r1034630_chk)
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 Text (F-72495r1034631_fix)
Configure the macOS system to disable Erase Content and Settings by installing the "com.apple.applicationaccess" configuration profile.