VMware ESXi
TMA-ESXI9-3.22
Host must deny shell access for the dcui account
Mô tả
The dcui account, utilized for process isolation for the Direct Console User Interface (DCUI), possesses shell access which, when deactivated, minimizes the attack surface. This action is a proactive measure to enhance system security. The audit runs esxcli system account list and requires Shell Access false for dcui. 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 account list 2>/dev/null) || exit 1
v=$(printf '%s\n' "$out" | awk '$1=="dcui" {print tolower($NF); exit}')
case "$v" in false) echo compliant ;; '') echo 'dcui not listed (or no Shell Access column on this build)'; exit 1 ;; *) echo 'dcui shell access: '"$v" ;; esac- Đầ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
Configure the dcui service account to have no shell access using the supported ESXi account-management mechanism for the installed build, and verify that the account cannot establish an interactive shell. Note: It is advised not to manually edit /etc/passwd unless directed by Broadcom support.
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.22 Host must deny shell access for the dcui account
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