Auto-Ban FTP Attacks with Remote Service Install
This .zip file contains everything you need (including cscript.exe) to deply a service on a list of remote computers.Â The service this script deploys is .vbs script that looks for failed logon attempts to the Administrator account.Â When the script detects a failed login to the Administrator account it adds a route that breaks the connection almost immidately.Â Then, the hostile IP is added to the ban list for all FTP sites on the machine.Â This ban is at the root level, not just the site level.
Â This script is very effective at stopping strong-arm attackers because almost any brute force attack tries the Administrator account right away.Â The only prolem with this script is that it will NOT stop failed attempts on other accounts.Â From my experience, this script stops at least half of all attackers right away, and most eventually.
Steps to install:
- Open the serverlist.txt and put one server on each line, (this installer works with psexec from sysinternals) then save and close the file.Â
- Open up theÂ runstuff.bat in your favorite text editor (Notepad++ for me) and change the 'administrator' username to whatever domain administrator you useÂ on your network.Â Including the domain might or might not be required depending on how your target computers areÂ set up.Â
- Cut andÂ pasteÂ the files to aÂ place on the network available to all the target computers.
- Open the install.bat in a text editor and change the (INSERT NETWORK LOCATION HERE) to the UNC path on your network.
- OpenÂ the runstuff.bat file and enter your password when prompted.
Download .zip: BanIP Remote Installer</p>
Thanks the .vbs script's author ChrissyÂ andÂ to frijolesÂ for the great instructions I used toÂ write this.