Skip to content

The macOS system must be configured to disable SMB File Sharing unless it is required.

An XCCDF Rule

Description

File sharing is usually nonessential 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-257185r905188_rule
Version
APPL-13-002001
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure the macOS system to disable the SMB File Sharing service with 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.