WinFail2Ban is an open source intrusion protection system that scans log files, looks for SQL failed logins, and analyzes the event viewer banning IPs as needed. This is a port of Fail2Ban from Linux to Windows.
You can download it from the following link: https://packetstormsecurity.com/files/download/74045/WinFail2Ban_0.2.zip
Source: https://packetstormsecurity.com/files/74045/WinFail2Ban-Open-Source-IPS-For-Windows.html