TMAegisBeta
Aturan lainnya untuk macos

macOS

TMA-MACOS-4.2

Ensure HTTP Server Is Disabled

SedangLevel 1Otomatismacos

Deskripsi

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.

Cara pemeriksaan

Metode audit: Perintah shell

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

Cara perbaikan

Metode perbaikan: Panduan atau patch infrastruktur

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

Properti

Sistem operasi
macos-26
Tag
macosnetwork
Referensi
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 4.2 Ensure HTTP Server Is Disabled

Periksa host ini

Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.

shell
tmaegis scan --target macos