Troubleshooting Tip: Slow GUI access caused by Brute Force login attempts
| Description | This article describes the reason and recommendations for slowness in GUI access, which may take approximately 60 seconds or more for HTTP/HTTPS access due to a brute force login attack. |
| Scope | FortiOS. |
| Solution | FortiGate GUI login can be slow if there is Brute force login attempt is being performed from an anonymous source. A huge number of system event logs can appear with a log description 'Admin login failed'. Even though after a certain period, the admin login will be disabled, the login attempt may have a high buffer and can slow down the valid admin login process via the GUI.
The HAR file may show a '404 error' and very high latency, even though the GET request eventually ends with 200 OK. When this behavior occurs, the following debug for the HTTP authentication daemon can be captured to determine why the process is consuming high CPU.
CLI debug:
diagnose debug reset diagnose debug application http_authd -1 diagnose debug console timestamp enable diagnose debug enable
To disable:
diagnose debug disable diagnose debug reset
Key points to check from the debug:
More detail from the debug output:
The GUI slowness occurs because the HTTP authentication daemon, responsible for handling HTTPS administrator authentication in FortiOS, receives continuous brute force login requests from multiple external IP addresses. Each login attempt triggers CPU-intensive operations such as session creation, VDOM context switching, user lookup, password hash verification, and logging. As these requests arrive rapidly and concurrently, the HTTP authentication daemon process can consume more than 90% of the management CPU core. This saturation of the management plane delays legitimate GUI responses, resulting in slow or unresponsive access. To prevent brute force attacks on administrator access ports, review the following article along with the related references: Technical Tip: How to prevent brute force attempts to a FortiGate administrator account login. |

