id: os_tftpd_disable
title: Disable Trivial File Transfer Protocol Service
discussion: |
  If the system does not require Trivial File Transfer Protocol (TFTP), support it is non-essential and _MUST_ be disabled.

  The information system _MUST_ be configured to provide only essential capabilities. Disabling TFTP helps prevent the unauthorized connection of devices and the unauthorized transfer of information.

  NOTE: TFTP service is disabled at startup by default macOS.
check: |
  /bin/launchctl print-disabled system | /usr/bin/grep -c '"com.apple.tftpd" => disabled'
result:
  integer: 1
fix: |
  [source,bash]
  ----
  /bin/launchctl disable system/com.apple.tftpd
  ----
  The system may need to be restarted for the update to take effect.
references:
  cce:
    - CCE-94317-5
  cci:
    - CCI-000197
    - CCI-000213
  800-53r5:
    - AC-3
    - IA-5(1)
    - AC-17
  800-53r4:
    - AC-3
    - IA-5(1)
  srg:
    - SRG-OS-000080-GPOS-00048
    - SRG-OS-000074-GPOS-00042
  disa_stig:
    - APPL-15-002038
  800-171r3:
    - 03.01.02
    - 03.04.06
    - 03.05.07
  cis:
    benchmark:
      - N/A
    controls v8:
      - 3.3
      - 3.1
      - 5.2
  cmmc:
    - AC.L1-3.1.1
    - IA.L2-3.5.7
    - IA.L2-3.5.8
    - IA.L2-3.5.9
  bio:
    - 8.27.01
macOS:
  - '15.0'
tags:
  - 800-53r5_low
  - 800-53r5_moderate
  - 800-53r5_high
  - 800-53r4_low
  - 800-53r4_moderate
  - 800-53r4_high
  - 800-171
  - cisv8
  - cnssi-1253_low
  - cnssi-1253_high
  - cmmc_lvl2
  - cmmc_lvl1
  - stig
  - cnssi-1253_moderate
  - nlmapgov_plus
severity: high
mobileconfig: false
mobileconfig_info:
