Information
The macOS system must disable Server Message Block (SMB) sharing.
GROUP ID: V-268478
RULE ID: SV-268478r1034374
Support for SMB file sharing is nonessential and must be disabled.
The information system must be configured to provide only essential capabilities. Enabling any service increases the attack surface for an intruder. By disabling unnecessary services, the attack surface is minimized.
Solution
Configure the macOS system to disable SMB sharing with the following command:
/bin/launchctl disable system/com.apple.smbd
The system may need to be restarted for the update to take effect.