VMware ESXi
TMA-ESXI9-3.5
Host must deactivate CIM
Mô tả
Deactivating the Common Information Model (CIM) service, when not in use, aligns with the principle of minimizing the attack surface by disabling non-essential services. This action helps in reducing the potential vectors of attack, thus bolstering the host's security posture. The audit runs esxcli system wbem get and requires "Enabled: false". Document an exception when CIM is required. Runs in the ESXi Shell (busybox sh) as root.
Cách kiểm tra
Phương pháp kiểm tra: Lệnh shell
out=$(esxcli system wbem get 2>/dev/null) || exit 1
v=$(printf '%s\n' "$out" | awk -F': *' 'tolower($1) ~ /^ *enabled$/ {print $2; exit}' | tr 'A-Z' 'a-z' | sed 's/ *$//')
if [ "$v" = false ]; then echo compliant; else echo "WBEM Enabled: ${v:-not reported}"; fi- Đầu ra mong đợi
compliant
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Prerequisite Confirm monitoring/storage integrations do not require CIM/WBEM. If not required: 1. Disable WBEM/CIM using: esxcli system wbem set --enable false
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- vmwareesximanagement
- Tham chiếu
- CIS VMware ESXi 9.0 Benchmark v1.0.0 - 3.5 Host must deactivate CIM
Kiểm tra máy này
Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.
tmaegis scan --target vmware