Details
File Sharing is usually non-essential and must be disabled if not required. Enabling any service increases the attack surface for an intruder. By disabling unnecessary services, the attack surface is minimized.
Solution
To disable the SMB File Sharing service, run the following command:
/usr/bin/sudo /bin/launchctl disable system/com.apple.smbd
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-214823r609363_rule
- STIG-ID|AOSX-13-000139
- STIG-Legacy|SV-96221
- STIG-Legacy|V-81507
- Vuln-ID|V-214823