TMAegisBeta
Thêm quy tắc cho fortiswitch

Fortinet FortiSwitch

TMA-FORTISWITCH-1.1.1

Ensure administrator password retries and lockout time are configured

CaoCấp 1Tự độngfortiswitch

Mô tả

Failed login attempts can indicate malicious attempts to gain access to your network. To prevent this security risk, FortiSwitch is preconfigured to limit the number of failed administrator login attempts. After the maximum number of failed login attempts is reached, access to the account is blocked for the configured lockout period. PASS requires admin-lockout-threshold of 3 or less and admin-lockout-duration of 900 seconds or less, exactly as the CIS audit states (the CIS remediation value is 900). Audited against FortiSwitchOS 'show full-configuration' output (standalone FortiSwitch, saved in full); patterns are scoped to the named 'config ... end' block, whose member lines are indented.

Cách kiểm tra

Phương pháp kiểm tra: Mẫu cấu hình

Mẫu khớp
(?m)^config system global\n(?:(?:[ \t]+[^\n]*\n)*?[ \t]+set admin-lockout-threshold [1-3][ \t]*\n(?:[ \t]+[^\n]*\n)*?[ \t]+set admin-lockout-duration (?:[1-9]\d?|[1-8]\d\d|900)[ \t]*$|(?:[ \t]+[^\n]*\n)*?[ \t]+set admin-lockout-duration (?:[1-9]\d?|[1-8]\d\d|900)[ \t]*\n(?:[ \t]+[^\n]*\n)*?[ \t]+set admin-lockout-threshold [1-3][ \t]*$)

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

config system global set admin-lockout-threshold 3 set admin-lockout-duration 900 end # CIS guidance: To configure the lockout options, from CLI: config system global set admin-lockout-threshold 3 set admin-lockout-duration 900 end Lockout affects the offending IP address, not the entire account.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
fortiswitchauthentication
Tham chiếu
CIS FortiSwitch Benchmark v1.0.0 - 1.1.1 Ensure administrator password retries and lockout time are configured

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 fortiswitch