TMAegisBeta
Thêm quy tắc cho vmware

VMware ESXi

TMA-ESXI9-3.6

Host should deactivate SNMP

Trung bìnhCấp 1Tự độngvmware

Mô tả

Simple Network Management Protocol (SNMP) facilitates the management of networked devices. Minimize attack surface by disabling non-essential services. The recommended setting is to have the SNMP service stopped unless required and configured securely. The audit runs esxcli system snmp get and requires "Enable: false". When SNMP is required, document the exception and apply 6.4.1. Runs in the ESXi Shell (busybox sh) as root.

Cách kiểm tra

Phương pháp kiểm tra: Lệnh shell

shell
out=$(esxcli system snmp get 2>/dev/null) || exit 1
v=$(printf '%s\n' "$out" | awk -F': *' 'tolower($1) ~ /^ *enable$/ {print $2; exit}' | tr 'A-Z' 'a-z' | sed 's/ *$//')
if [ "$v" = false ]; then echo compliant; else echo "SNMP Enable: ${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

1. Disable SNMP when not required with: esxcli system snmp set --enable false If SNMP is required, restrict targets/communities, prefer secure SNMP configurations supported by the environment, and limit the ESXi firewall ruleset to authorized management networks.

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.6 Host should deactivate SNMP

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.

shell
tmaegis scan --target vmware