This is an IN PROGRESS persistance tool using Windows Background Intelligent Transfer Service (BITS).

Functionality: File Download, File Exfiltration, File Download + Persistent Execution×280&!4&btvi=1&fsb=1&xpc=yfgtUncDqO&p=https%3A//

Usage: run shepard.exe as Administrator with the following command line arguments×280&!5&btvi=2&fsb=1&xpc=Bf8f9I2SKM&p=https%3A//

-d remoteLocation, writePath: regular file download to a local path of your choice

-e remoteLocation, localPath: regular file upload from a local path of your choice (only sends to IIS server, this is a limitation with BITS)

-dr remoteLocation, writePath, [optionalFileArgs]: file download to a path of your choice, and will attempt to maintain persitance. The downloaded file will attempt to run with optionalFileArgs and BITS will check back every 30 seconds to make sure the file is still running on the compromised system.

Running this executable with no arguments or an incorrect amount of arguments will cause shepard to exit cleanly.

The server (victim) is written using C#. It listens on port 6006.

Usage: run shepardsbind_serv.exe with no arguments.

The client (attacker) is written using Python and takes one argument: the IP address of the victim’s machine. Usage: run with one argument: <victim’s IP>

Running with no arguments will return an error. The prompt will look like: %SBS%
Using them in conjunction

The only executable that must be on the victim’s machine is shepard.exe. Host the download bindshell executable to a publicly accessible place. Shepard will download and run the bindshell executable, and the user can now use the python reciever. If the shell is found and killed, it will restart after 30 seconds. Last steps in progress: finding out how to rerun shepard.exe to redownload in case the shell executable is deleted. Most likely will use a service

Download Shepard


This is only an educational purposes only I am not responsible for further activities

Join my forum and learn more ethical hacking and penetration testing

Get me at


Leave a Reply

Your email address will not be published. Required fields are marked *