id: system_settings_smbd_disable
title: Disable Server Message Block Sharing
discussion: |
  Support for Server Message Block (SMB) file sharing is non-essential and _MUST_ be disabled.

  The information system _MUST_ be configured to provide only essential capabilities.
references:
  nist:
    cce:
      macos_27:
        - CCE-XXXXX-X
      macos_26:
        - CCE-95401-6
      macos_15:
        - CCE-94394-4
      macos_14:
        - CCE-92989-3
    800-53r5:
      - AC-3
      - AC-17
    800-171r3:
      - 03.01.02
      - 03.04.06
  disa:
    cci:
      - CCI-000213
    srg:
      - SRG-OS-000080-GPOS-00048
    disa_stig:
      macos_26:
        - APPL-26-002001
      macos_15:
        - APPL-15-002001
      macos_14:
        - APPL-14-002001
    cmmc:
      - AC.L1-3.1.1
  bzk:
    bio:
      - 8.27
      - 8.27.01
  hhs:
    hicp:
      - 2.L.A
      - 4.L.A
      - 6.L.A
  cis:
    benchmark:
      macos_26:
        - 2.3.3.2 (level 1)
      macos_15:
        - 2.3.3.2 (level 1)
      macos_14:
        - 2.3.3.2 (level 1)
    controls_v8:
      - 4.1
      - 4.8
      - 5.4
platforms:
  macOS:
    '27.0': {}
    '26.0':
      benchmarks:
        - name: cis_lvl1
        - name: cis_lvl2
        - name: disa_stig
          severity: medium
        - name: nlmapgov_plus
    '15.0':
      benchmarks:
        - name: cis_lvl1
        - name: cis_lvl2
        - name: disa_stig
          severity: medium
        - name: nlmapgov_plus
    enforcement_info:
      check:
        shell: /bin/launchctl print-disabled system | /usr/bin/grep -c '"com.apple.smbd" => disabled'
        result:
          integer: 1
      fix:
        shell: /bin/launchctl disable system/com.apple.smbd
        additional_info: The system may need to be restarted for the update to take effect.
tags:
  - 800-53r5_low
  - 800-53r5_moderate
  - 800-53r5_high
  - 800-171
  - cisv8
  - cnssi-1253_low
  - cnssi-1253_high
  - cmmc_lvl2
  - cmmc_lvl1
  - cnssi-1253_moderate
  - hicp_lp
