id: os_uucp_disable
title: Disable Unix-to-Unix Copy Protocol Service
discussion: |
  The system _MUST_ not have the Unix-to-Unix Copy Protocol (UUCP) service active.

  UUCP, a set of programs that enable the sending of files between different UNIX systems as well as sending commands to be executed on another system, is not essential and _MUST_ be disabled in order to prevent the unauthorized connection of devices, transfer of information, and tunneling.

  NOTE: UUCP service is disabled at startup by default macOS.
check: |
  result="FAIL"
  enabled=$(/bin/launchctl print-disabled system | /usr/bin/grep '"com.apple.uucp" => enabled')
  running=$(/bin/launchctl print system/com.apple.uucp 2>/dev/null)
  
  if [[ -z "$running" ]] && [[ -z "$enabled" ]]; then
    result="PASS"
  elif [[ -n "$running" ]]; then
    result=result+" RUNNING"
  elif [[ -n "$enabled" ]]; then
    result=result+" ENABLED"
  fi
  echo $result
result:
  string: PASS
fix: |
  [source,bash]
  ----
  /bin/launchctl bootout system/com.apple.uucp 
  /bin/launchctl disable system/com.apple.uucp
  ----
  The system may need to be restarted for the update to take effect.
references:
  cce:
    - CCE-95330-7
  cci:
    - CCI-000213
  800-53r5:
    - AC-3
    - AC-17
  800-53r4:
    - AC-3
  srg:
    - SRG-OS-000080-GPOS-00048
  disa_stig:
    - APPL-26-002006
  800-171r3:
    - 03.01.02
    - 03.04.06
  cis:
    benchmark:
      - N/A
    controls v8:
      - 3.3
      - 4.1
      - 4.8
  cmmc:
    - AC.L1-3.1.1
macOS:
  - '26.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
severity: medium
mobileconfig: false
mobileconfig_info:
