TMAegisベータ
macos のその他のルール

macOS

TMA-MACOS-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.

チェック方法

監査方法: シェルコマンド

shell
out=$(/bin/launchctl list 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -c 'org.apache.httpd' || true
期待される出力
0

修正方法

修正方法: ガイダンスまたは IaC パッチ

Terminal: sudo /usr/sbin/apachectl stop ; sudo /bin/launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist.

プロパティ

オペレーティングシステム
macos-26
タグ
macosnetwork
参照
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 4.2 Ensure HTTP Server Is Disabled

このホストをチェック

監査が許可されているマシンで実行してください。スキャンは読み取り専用です。

shell
tmaegis scan --target macos