STIGUI
V-268480CAT II — Medium severitySV-268480r1034380_rule

The macOS system must disable Location Services.

Rule version APPL-15-002004 · STIG v1 · 2026-09-01

Discussion

Location Services must be disabled.

The information system must be configured to provide only essential capabilities. Disabling Location Services helps prevent unauthorized connection of devices, transfer of information, and 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; pid=$(/bin/launchctl list | /usr/bin/awk '/com.apple.locationd/ { print $1 }') kill -9 $pid

Identifiers

Group ID
V-268480
Group title
SRG-OS-000095-GPOS-00049
Rule ID
SV-268480r1034380_rule
Check ID
C-72510r1034378_chk
Fix ID
F-72411r1034379_fix