Blocking WordPress brute-force attacks automatically at the hosting edge
Summary
In July 2020 Manuel Schmitt announces a free firewall in all of manitu's web hosting packages that monitors and blocks brute-force attacks on WordPress admin logins. The feature works without activation, no matter in which directory a WordPress instance lives. Only sites whose WordPress paths have been renamed unusually via .htaccess fall outside the detection.
Why the protection sits at the hosting edge
Brute-force attacks on WordPress try huge numbers of username and password pairs on the login page wp-login.php. Protection in the host's web server recognises this pattern for all installations at once, without every site needing its own security plugin.
Besides wp-login.php, the XML-RPC interface xmlrpc.php also accepts a username and password. Protection that only watches the login path does not automatically cover this second route; the post does not say exactly which paths manitu's firewall monitors.
Ideas
- Central detection can protect many WordPress installations without individual plugins.
- Automatic activation also reaches customers who do not configure security features themselves.
- Detection works regardless of the installation directory.
- Heavily altered login paths can bypass path-based detection.
- xmlrpc.php also accepts login credentials.
Insights
- Platform protection has broad reach but must make its assumptions about application paths transparent.
- Brute-force protection complements updates and strong accounts but does not replace them.
Facts
- The firewall was introduced for all web hosting packages in July 2020.
- The feature was free and active without manual activation.
- Unusually renamed WordPress paths could fall outside the detection.
- WordPress's XML-RPC interface checks username and password in its own login method.
References
Recommendations
- Combine rate limits with MFA and timely WordPress updates.
- Disable xmlrpc.php if neither an app nor a plugin needs the interface.
- Monitor false positives and attacks on alternative authentication endpoints.
Read the original article on Hostblogger
Found a mistake or have something to add? Get in touch.
Links to the original source and the Web Archive open in a new tab.