UCF STIG Viewer Logo

Apple File (AFP) Sharing must be disabled.


Overview

Finding ID Version Rule ID IA Controls Severity
V-59569 AOSX-10-000140 SV-73999r1_rule Medium
Description
File Sharing is non-essential and must be disabled. Enabling any service increases the attack surface for an intruder. By disabling unnecessary services, the attack surface is minimized.
STIG Date
Apple OS X 10.10 (Yosemite) Workstation Security Technical Implementation Guide 2017-04-06

Details

Check Text ( C-60339r2_chk )
To check if the 'Apple File (AFP) Sharing' service is disabled, use the following command:

sudo launchctl print-disabled system | grep com.apple.AppleFileServer

If the results do not show the following:

"com.apple.AppleFileServer" => true

this is a finding.
Fix Text (F-64979r1_fix)
To disable the 'Apple File (AFP) Sharing' service, run the following command:

sudo launchctl disable system/com.apple.AppleFileServer

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