The macOS system must disable the guest account.
Overview
Finding ID | Version | Rule ID | IA Controls | Severity |
V-268510 | APPL-15-002063 | SV-268510r1034470_rule | Medium |
Description |
Guest access must be disabled. Turning off guest access prevents anonymous users from accessing files. |
STIG | Date |
Apple macOS 15 (Sequoia) Security Technical Implementation Guide | 2025-05-05 |
Details
Check Text (C-72540r1034468_chk) |
Verify the macOS system is configured to disable the guest account with the following command: /usr/bin/osascript -l JavaScript << EOS function run() { let pref1 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.MCX')\ .objectForKey('DisableGuestAccount')) let pref2 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.MCX')\ .objectForKey('EnableGuestAccount')) if ( pref1 == true && pref2 == false ) { return("true") } else { return("false") } } EOS If the result is not "true", this is a finding. |
Fix Text (F-72441r1034469_fix) |
Configure the macOS system to disable the guest account by installing the "com.apple.MCX" configuration profile. |