Windows – automatically block IP address after many failed login attempts

firewallwindows

I am receiving a lot of failed login attempts (1 per sec) on a Windows 2008 server, I have already set local security policy to automatically lock an account after too many login attempts, but is there a way to automatically include an IP adress in the Windows firewall so that it will be blocked temporarily (say for 30 minutes) ?

Best Answer

We were recently flooded with similar attempts and had great success with fail2ban which does precisely that: blocks a source IP after N failed login attempts.

While it's designed for linux, a great answer by Evan Anderson to the ServerFault question Does fail2ban do Windows? may help you implement it.

Related Topic