TMAegisBêta
Plus de règles pour fortigate

Fortinet FortiGate

TMA-FORTIGATE-2.2.2

Ensure administrator password retries and lockout time are configured

ÉlevéeNiveau 1Automatiséefortigate

Description

Failed login attempts can indicate malicious attempts to gain access to your network. To prevent this security risk, FortiGate 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 FortiOS 'show full-configuration' output (run it from the global context on VDOM-enabled units and save the full output); patterns are scoped to the named 'config ... end' block, whose member lines are indented.

Méthode de vérification

Méthode d'audit: Motif de configuration

Motif
(?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]*$)

Méthode de correction

Méthode de correction: Recommandation ou correctif d'infrastructure

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.

Propriétés

Systèmes d'exploitation
Tous
Étiquettes
fortigateauthentication
Référence
CIS FortiGate 7.4.x Benchmark v1.0.1 - 2.2.2 Ensure administrator password retries and lockout time are configured

Vérifier cet hôte

Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.

shell
tmaegis scan --target fortigate