VMware ESXi
TMA-VMWARE-6.5.11
Host SSH daemon, if enabled, must not permit tunnels
Mô tả
Preventing tunnel creation in the SSH daemon is a security measure aimed at thwarting unauthorized network tunneling through the host. This control, when enforced, helps mitigate the risks associated with potential data exfiltration or unauthorized network access that could occur via SSH tunnels. The audit reads /etc/ssh/sshd_config and requires PermitTunnel no (unset = OpenSSH default no). Runs in the ESXi Shell (busybox sh) as root.
Cách kiểm tra
Phương pháp kiểm tra: Lệnh shell
f=/etc/ssh/sshd_config; [ -r "$f" ] || exit 1
v=$(awk 'tolower($1)=="permittunnel" {print tolower($2); exit}' "$f")
case "$v" in '') echo compliant ;; no) echo compliant ;; *) echo "PermitTunnel $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
To remediate this recommendation, set PermitTunnel no, restart SSH if authorized, and verify SSH tunnel devices cannot be created.
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- vmwareesxiservices
- Tham chiếu
- CIS VMware ESXi 8.0 Benchmark v1.4.0 - 6.5.11 Host SSH daemon, if enabled, must not permit tunnels
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