APPL-15-002004 - The macOS system must disable Location Services.

Information

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.

Solution

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apple_macOS_15_V1R1_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-268480r1034380_rule, STIG-ID|APPL-15-002004, Vuln-ID|V-268480

Plugin: Unix

Control ID: 304c461aef14afcb802c29582399640e6fefc21f38fd442554528673846efc36