These are two security plugins. Mainly for fail2ban but they work without it.
This one is a wp-config.php snippet (or mu-plugin) preventing malicous logins + prevent author sniffing
This is a plugin + mu-plugin for various WP security breaches to trigger fail2ban
Comments are welcome.
I know a shared hosting installation don't offer fail2ban but
exit(); can be executed of malicious actions.