STIGUI
V-277174CAT II — Medium severitySV-277174r1148974_rule

The macOS system must disable Erase Content and Settings.

Rule version APPL-26-005061 · STIG v1 · 2026-09-01

Discussion

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.

Identifiers

Group ID
V-277174
Group title
SRG-OS-000095-GPOS-00049
Rule ID
SV-277174r1148974_rule
Check ID
C-81329r1148972_chk
Fix ID
F-81234r1148973_fix