Rule ID
SV-288912r1316741_rule
Version
V1R1
AirDrop must be disabled to prevent file transfers to or from unauthorized devices. AirDrop allows users to share and receive files from other nearby Apple devices. Satisfies: SRG-OS-000080-GPOS-00048, SRG-OS-000095-GPOS-00049, SRG-OS-000046-GPOS-00022, SRG-OS-000343-GPOS-00134
Verify the macOS system is configured to disable AirDrop with the following command:
/usr/bin/osascript -l JavaScript -e 'var s = $.NSUserDefaults.alloc.initWithSuiteName("com.apple.applicationaccess"); (ObjC.unwrap(s.objectForKey("allowAirDrop")) == false && s.objectIsForcedForKey("allowAirDrop")) ? "PASS" : "FAIL"'
If the result is not "PASS", this is a finding.Configure the macOS system to disable AirDrop by installing the "com.apple.applicationaccess" configuration profile.