TMAegisBeta
Thêm quy tắc cho solaris

Oracle Solaris

TMA-SOLARIS-6.6

Set Delay between Failed Login Attempts to 4

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

Mô tả

The SLEEPTIME variable in the /etc/default/login file controls the number of seconds to wait before printing the "login incorrect" message when a bad password is provided. The default value for SLEEPTIME is 4 seconds. As an immediate return of an error message, coupled with the capability to try again may facilitate automatic and rapid-fire brute-force password attacks by a malicious user, this delay time should be set as appropriate to the needs of the user. Audit: SLEEPTIME must be 4 or left commented out (default 4).

Cách kiểm tra

Phương pháp kiểm tra: Mẫu tệp

Tệp
/etc/default/login
Mẫu khớp
(?m)^SLEEPTIME=(?:[^4\n]|4\S)

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

Perform the following to implement the recommended state: # cd /etc/default # cp login login.orig # awk '/SLEEPTIME=/ { $1 = "SLEEPTIME=4" } { print }' login > login.CIS # mv login.CIS login

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
solarisaccounts
Tham chiếu
CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 6.6 Set Delay between Failed Login Attempts to 4

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