Check: AOSX-10-000140
Apple OS X 10-10 Workstation STIG:
AOSX-10-000140
(in versions v1 r5 through v1 r4)
Title
Apple File (AFP) Sharing must be disabled. (Cat II impact)
Discussion
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.
Check Content
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
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.
Additional Identifiers
Rule ID: SV-73999r1_rule
Vulnerability ID: V-59569
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000381 |
The organization configures the information system to provide only essential capabilities. |
Controls
Number | Title |
---|---|
CM-7 |
Least Functionality |