STIGhubSTIGhub
STIGhub— A free STIG search and compliance tool·STIGs updated 1 hour ago
Powered by Pylon·Privacy·Terms·Feedback·© 2026 Beacon Cloud Solutions, Inc.
← Back to Apple macOS 27 Security Technical Implementation Guide

V-288996

CAT II (Medium)

The macOS system must authorize USB devices before allowing connection.

Rule ID

SV-288996r1316817_rule

STIG

Apple macOS 27 Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-001958CCI-003959

Discussion

USB devices connected to a Mac must be authorized. [IMPORTANT] ==== This feature is removed if a smart card is paired or smart card attribute mapping is configured. ==== Without authenticating devices, unidentified or unknown devices may be introduced, thereby facilitating malicious activity. Satisfies: SRG-OS-000378-GPOS-00163, SRG-OS-000690-GPOS-00140

Check Content

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 ) {
      let forced = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName("com.apple.ironwood.support").objectIsForcedForKey("allowUSBRestrictedMode"))
      if ( forced == true ) {
        return("FAIL")
      } else {
        return("PASS")
      }
    } else {
      return("PASS")
    }
  }
EOS

If the result is not "PASS", this is a finding.

Fix Text

Configure the macOS system to authorize USB devices before allowing connection by installing the "com.apple.applicationaccess" configuration profile.