Welcome to WP fail2ban - a WordPress plugin that writes a myriad of WordPress events to syslog for integration with fail2ban.
If you don't know what any of that means then this probably isn't the website you're looking for.
There are a lot of WordPress security plugins, some more extensive than others, some more effective than others, but their one common feature is trying to be an active defence. Unfortunately, once the request has made it to Layer 7† it's too late to block it.
This is not only more efficient, but much more effective - if an attacker cannot connect to port 443 at all then, by definition, they cannot attack WordPress.