Check: AOSX-10-000139
Apple OS X 10-10 Workstation STIG:
AOSX-10-000139
(in versions v1 r5 through v1 r4)
Title
SMB File Sharing must be disabled unless required. (Cat II impact)
Discussion
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.
Check Content
If SMB File Sharing is required, this is not applicable. To check if the 'SMB File Sharing' service is disabled, use the following command: sudo launchctl print-disabled system | grep com.apple.smbd If the results do not show the following: "com.apple.smbd" => true this is a finding.
Fix Text
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.
Additional Identifiers
Rule ID: SV-73997r2_rule
Vulnerability ID: V-59567
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000381 |
The organization configures the information system to provide only essential capabilities. |
Controls
Number | Title |
---|---|
CM-7 |
Least Functionality |