os_uucp_disable Disable Unix-to-Unix Copy Protocol Service
All changes in this version
Title
Disable Unix-to-Unix Copy Protocol Service
Control
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
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.
Related controls
ac-17, ac-3
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.