AOSX-14-002002 - The macOS system must be configured to disable Apple File (AFP) Sharing.

Information

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.

Solution

To disable the Apple File (AFP) Sharing service, run the following command:

/usr/bin/sudo /bin/launchctl disable system/com.apple.AppleFileServer

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apple_OS_X_10-14_V2R6_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-209567r610285_rule, STIG-ID|AOSX-14-002002, STIG-Legacy|SV-105005, STIG-Legacy|V-95867, Vuln-ID|V-209567

Plugin: Unix

Control ID: 7c9e562ed75d23b01276a421bb499b7ad421eb8c9c96a801d7d83328cd88f9c1