macOS
TMA-MACOS14-2.3.3.3
Ensure Printer Sharing Is Disabled
보통레벨 1자동macos
설명
By enabling Printer Sharing, the computer is set up as a print server to accept print jobs from other computers. Dedicated print servers or direct IP printing should be used instead. Disabling Printer Sharing mitigates the risk of attackers attempting to exploit the print server to gain access to the system.
점검 방법
감사 방식: 셸 명령
shell
out=$(/usr/sbin/cupsctl 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -c "_share_printers=0" || true- 예상 출력
1
조치 방법
조치 방식: 가이드 또는 인프라 패치
Graphical Method: Perform the following steps to disable Printer Sharing: 1. Open System Settings 2. Select General 3. Select Sharing 4. Set Printer Sharing to disabled Terminal Method: Run the following command to disable Printer Sharing: % /usr/bin/sudo /usr/sbin/cupsctl --no-share-printers
속성
- 운영 체제
- macos-14
- 태그
- macossonoma
- 참고 자료
- CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 2.3.3.3 Ensure Printer Sharing Is Disabled
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target macos