Check: APPL-14-000070
Apple macOS 14 (Sonoma) STIG:
APPL-14-000070
(in versions v2 r2 through v1 r1)
Title
The macOS system must enforce screen saver timeout. (Cat II impact)
Discussion
The screen saver timeout must be set to 900 seconds or a shorter length of time. This rule ensures that a full session lock is triggered within no more than 900 seconds of inactivity.
Check Content
Verify the macOS system is configured to initiate the screen saver timeout after 15 minutes of inactivity with the following command: /usr/bin/osascript -l JavaScript << EOS function run() { let timeout = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.screensaver')\ .objectForKey('idleTime')) if ( timeout <= 900 ) { return("true") } else { return("false") } } EOS If the result is not "true", this is a finding.
Fix Text
Configure the macOS system to initiate the screen saver after 15 minutes of inactivity by installing the "com.apple.screensaver" configuration profile.
Additional Identifiers
Rule ID: SV-259441r958402_rule
Vulnerability ID: V-259441
Group Title: SRG-OS-000029-GPOS-00010
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000057 |
Prevent further access to the system by initiating a device lock after organization-defined time period of inactivity; and/or requiring the user to initiate a device lock before leaving the system unattended. |
Controls
Number | Title |
---|---|
AC-11 |
Session Lock |