SV-268567r1131252_rule
V-268567
SRG-OS-000378-GPOS-00163
APPL-15-005090
CAT II
10
Configure the macOS system to authorize USB devices before allowing connection by installing the "com.apple.applicationaccess" configuration profile.
Verify the macOS system is configured to authorize USB devices before allowing connection with the following command:
/usr/bin/osascript -l JavaScript << EOS
function run() {
let pref1 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.applicationaccess')\
.objectForKey('allowUSBRestrictedMode'))
if ( pref1 == false ) {
return("false")
} else {
return("true")
}
}
EOS
If the result is not "true", this is a finding.
V-268567
False
APPL-15-005090
Verify the macOS system is configured to authorize USB devices before allowing connection with the following command:
/usr/bin/osascript -l JavaScript << EOS
function run() {
let pref1 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.applicationaccess')\
.objectForKey('allowUSBRestrictedMode'))
if ( pref1 == false ) {
return("false")
} else {
return("true")
}
}
EOS
If the result is not "true", this is a finding.
M
5661