macOS
TMA-MACOS15-4.2
Ensure HTTP Server Is Disabled
MittelStufe 1Automatisiertmacos
Beschreibung
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.
So wird geprüft
Prüfmethode: Shell-Befehl
shell
out=$(/bin/launchctl list 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -c 'org.apache.httpd' || true- Erwartete Ausgabe
0
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
Terminal: sudo /usr/sbin/apachectl stop ; sudo /bin/launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist.
Eigenschaften
- Betriebssysteme
- macos-15
- Tags
- macosnetwork
- Referenz
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 4.2 Ensure HTTP Server Is Disabled
Diesen Host prüfen
Führen Sie dies auf einem Rechner aus, den Sie prüfen dürfen. Der Scan ist schreibgeschützt.
shell
tmaegis scan --target macos