TMAegis
Thêm quy tắc cho solaris

TMA-SOLARIS-2.12

Disable Telnet Service

CaoCấp 1Tự độngsolaris

Mô tả

The telnet daemon, which accepts connections from users from other systems via the telnet protocol and can be used for remote shell access. The telnet protocol is insecure and unencrypted. The use of an unencrypted transmission medium could allow a user with access to sniff network traffic the ability to steal credentials. The ssh protocol provides an encrypted session and stronger security. Audit: `svcs -Ho state` must report disabled; a service that is not installed is compliant.

Cách kiểm tra

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

shell
command -v svcs >/dev/null 2>&1 || exit 1; r=compliant; for f in svc:/network/telnet; do st=$(svcs -Ho state "$f" 2>/dev/null); case "$st" in ''|disabled) ;; *) r="$f: $st";; esac; done; echo "$r"
Đầ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

svcadm disable svc:/network/telnet

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
solarisnetwork
Tham chiếu
CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 2.12 Disable Telnet Service

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 solaris