STIGUI
V-259480CAT II — Medium severitySV-259480r958478_rule

The macOS system must disable Location Services.

Rule version APPL-14-002004 · STIG v2 · 2024-12-04

Discussion

The information system must be configured to provide only essential capabilities. Disabling Location Services helps prevent the unauthorized connection of devices, unauthorized transfer of information, and unauthorized tunneling.

Check

Verify the macOS system is configured to disable Location Services with the following command:

/usr/bin/sudo -u _locationd /usr/bin/osascript -l JavaScript << EOS $.NSUserDefaults.alloc.initWithSuiteName('com.apple.locationd')\ .objectForKey('LocationServicesEnabled').js EOS

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

Fix

Configure the macOS system to disable Location Services with the following command:

/usr/bin/defaults write /var/db/locationd/Library/Preferences/ByHost/com.apple.locationd LocationServicesEnabled -bool false; /bin/launchctl kickstart -k system/com.apple.locationd

The system may need to be restarted for the update to take effect.

Identifiers

Group ID
V-259480
Group title
SRG-OS-000095-GPOS-00049
Rule ID
SV-259480r958478_rule
Check ID
C-63219r941060_chk
Fix ID
F-63127r941061_fix