AOSX-10-000139 - SMB File Sharing must be disabled unless required.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

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:

sudo launchctl disable system/com.apple.smbd

The system may need to be restarted for the update to take effect.

See Also

http://iasecontent.disa.mil/stigs/zip/U_Apple_OS_X_10-10_Workstation_V1R5_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7, CAT|II, CCI|CCI-000381, Rule-ID|SV-73997r2_rule, STIG-ID|AOSX-10-000139, Vuln-ID|V-59567

Plugin: Unix

Control ID: fe4d709bdb5fce90a2e730206970057447bcfcd8a503fc2eb3d4881bd90f006d