{"description": "To configure the system to introduce a delay after failed logon attempts,\nadd or correct the <tt>pam_faildelay</tt> settings in\n<tt>/etc/pam.d/common-auth</tt> to make sure its <tt>delay</tt> parameter\nis at least <sub idref=\"var_password_pam_delay\" /> or greater. For example:\n<pre>auth required pam_faildelay.so delay=<sub idref=\"var_password_pam_delay\" /></pre>", "rationale": "Limiting the number of logon attempts over a certain time interval reduces\nthe chances that an unauthorized user may gain access to an account.", "severity": "medium", "references": {"srg": ["SRG-OS-000480-GPOS-00226"], "stigid": ["UBTU-22-412010"], "stigref": ["SV-260550r991588_rule"]}, "control_references": {"stigid": ["UBTU-22-412010"]}, "components": [], "identifiers": {}, "ocil_clause": "the value of delay is not set properly or the line is commented or missing", "ocil": "Verify that the Ubuntu 22.04 operating system enforces a minimum delay between\nlogon prompts following a failed logon attempt.\n\n<pre># grep pam_faildelay /etc/pam.d/common-auth\nauth required pam_faildelay.so delay=<sub idref=\"var_password_pam_delay\" /></pre>\n\nIf the value of delay is not set to\n<tt><sub idref=\"var_password_pam_delay\" /></tt> or greater,\n\"delay\" is commented out, \"delay\" is missing, or the \"pam_faildelay\" line is missing\ncompletely, this is a finding.", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": "package[pam]", "platforms": ["package[pam]"], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": ["package_pam"], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Enforce Delay After Failed Logon Attempts", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/accounts/accounts-pam/locking_out_password_attempts/accounts_passwords_pam_faildelay_delay/rule.yml", "template": {"name": "pam_options", "vars": {"path": "/etc/pam.d/common-auth", "type": "auth", "control_flag": "required", "module": "pam_faildelay.so", "arguments": [{"variable": "delay", "operation": "greater than or equal"}]}, "backends": {}}}