AOSX-15-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-15_V1R10_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-225160r610901_rule, STIG-ID|AOSX-15-002002, STIG-Legacy|SV-111701, STIG-Legacy|V-102739, Vuln-ID|V-225160

Plugin: Unix

Control ID: d2ea502b8e0d247a80d3435a6921a59e37abcac678ef0dc4bb45a8a1aad1b2e1