Details
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.
Supportive Information
The following resource is also helpful.
This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Unix.
References
- 800-53|CM-7a.
- CAT|II
- CCI|CCI-000381
- Rule-ID|SV-214824r609363_rule
- STIG-ID|AOSX-13-000140
- STIG-Legacy|SV-96223
- STIG-Legacy|V-81509
- Vuln-ID|V-214824