The macOS system must be configured to disable SMB File Sharing unless it is required.
An XCCDF Rule
Description
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.
- ID
- SV-252479r816251_rule
- Version
- APPL-12-002001
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
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.