Rule ID
SV-288961r1316803_rule
Version
V1R1
iPhone Mirroring must be disabled to prevent file transfers to or from unauthorized devices. Disabling iPhone Mirroring also prevents potentially unauthorized applications from appearing as if they are installed on the Mac. Satisfies: SRG-OS-000080-GPOS-00048, SRG-OS-000095-GPOS-00049
Verify the macOS system is configured to disable iPhone Mirroring with the following command:
/usr/bin/osascript -l JavaScript -e 'var s = $.NSUserDefaults.alloc.initWithSuiteName("com.apple.applicationaccess"); (ObjC.unwrap(s.objectForKey("allowiPhoneMirroring")) == false && s.objectIsForcedForKey("allowiPhoneMirroring")) ? "PASS" : "FAIL"'
If the result is not "PASS", this is a finding.Configure the macOS system to disable iPhone Mirroring by installing the "com.apple.applicationaccess" configuration profile.