macOS 15 - Sequoia

The macOS system must disable Server Message Block (SMB) sharing

STIG ID: APPL-15-002001 | SRG: SRG-OS-000080-GPOS-00048 | Severity: Medium | CCI: CCI-000213 | Vulnerability ID: V-268478

Description

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.

Check

C-268478r1034374_chk

Verify the macOS system is configured to disable SMB sharing with the following command:/bin/launchctl print-disabled system | /usr/bin/grep -c '"com.apple.smbd" => disabled'If the result is not "1", this is a finding.

Fix

F-72409r1034373_fix

Configure the macOS system to disable SMB sharing with the following command:/bin/launchctl disable system/com.apple.smbdThe system may need to be restarted for the update to take effect.