Rule ID
SV-288953r1316795_rule
Version
V1R1
CCIs
The Find My service must be disabled. A Mobile Device Management (MDM) solution must be used to carry out remote locking and wiping instead of Apple's Find My service. Apple's Find My service uses a personal AppleID for authentication. Organizations must rely on MDM solutions, which have much more secure authentication requirements, to perform remote lock and remote wipe.
Verify the macOS system is configured to disable Find My service with the following command:
/usr/bin/osascript -l JavaScript -e 'var s1 = $.NSUserDefaults.alloc.initWithSuiteName("com.apple.applicationaccess"); var s2 = $.NSUserDefaults.alloc.initWithSuiteName("com.apple.icloud.managed"); var v1 = ObjC.unwrap(s1.objectForKey("allowFindMyDevice")); var v2 = ObjC.unwrap(s1.objectForKey("allowFindMyFriends")); var v3 = ObjC.unwrap(s2.objectForKey("DisableFMMiCloudSetting")); var f1 = s1.objectIsForcedForKey("allowFindMyDevice"); var f2 = s1.objectIsForcedForKey("allowFindMyFriends"); var f3 = s2.objectIsForcedForKey("DisableFMMiCloudSetting"); (v1 == false && v2 == false && v3 == true && f1 && f2 && f3) ? "PASS" : "FAIL"'
If the result is not "PASS", this is a finding.Configure the macOS system to disable Find My service by installing the "com.apple.applicationaccess" and "com.apple.icloud.managed" configuration profiles.