TMAegis베타
macos 관련 규칙 더 보기

macOS

TMA-MACOS14-4.2

Ensure HTTP Server Is Disabled

보통레벨 1자동macos

설명

macOS used to have a graphical front-end to the embedded Apache web server in the operating system. Personal web sharing could be enabled to allow someone on another computer to download files or information from the user's computer. Personal web sharing from a user endpoint has long been considered questionable, and Apple has removed that capability from the GUI. Apache, however, is still part of the Operating System and can be easily turned on to share files and provide remote connectivity to an end-user computer. Web sharing should only be done through hardened web servers and appropriate cloud services. Web serving should not be done from a user desktop. Dedicated web servers or appropriate cloud storage should be used. Open ports make it easier to exploit the computer.

점검 방법

감사 방식: 셸 명령

shell
out=$(/bin/launchctl list 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -c 'org.apache.httpd' || true
예상 출력
0

조치 방법

조치 방식: 가이드 또는 인프라 패치

Terminal Method: Run the following command to disable the HTTP server services: % /usr/bin/sudo /usr/sbin/apachectl stop % /usr/bin/sudo /bin/launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist

속성

운영 체제
macos-14
태그
macossonoma
참고 자료
CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 4.2 Ensure HTTP Server Is Disabled

이 호스트 점검하기

감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.

shell
tmaegis scan --target macos