Hey Folks, in this tutorial we are going to talk about an open source tool called “Defeat-Defender“, which is coded in batch language and designed to defeat the security defender of windows operating system and to get access to the system. Keep in mind that it is capable of bypassing windows 10 operating system defender easily, even you can try it yourself.

Let’s take a look 😛 !!

Methodology of Defeat-Defender

Originally the developer of this tool used only simple logics to defeat Windows 10 Defender. As we know that windows allows us to donwload any batch file from external network and by taking advantage of this feature, it first dismantles all security and defenders using the administrative command prompt of window and once done, it downloads the payload from the target web server and executes it without any restrictions.


Now we download this tool from gihtub using git command and go inside the directory of this tool.

Create Payload

Once inside the directory of this device, we will create a payload and move the payload to the root directory of the apache web server so that it can be hosted.

Now we need to edit the “Defeat-Defender.bat” file. So open it using nano command, go to the bottom and you will see as shown in the image below.

Now we need to remove the highlighted and give the location of our own apache web server along with payload name. Keep in mind that rename “payload. exe” everywhere to “window.exe“.

Alright 😛 !! Everything is done and now the highlighted batch file is ready for sharing. You can share it as per your own but in our case we will start python file sharing service to share this file.

PoC ( Proof )

As you can see the window defender is already active in the victim machine.

Great 😛 !! You can see in the image below that the malicious file has been successfully downloaded to a windows machine without being detected by the defender.

Hmm 😛 !! Usually when we install any application we need to give admin privileges to configure it, but this time also victim will allow us to disable all security by clicking Yes.

Once the victim has allowed the application to be configured, then a message will popping up on the screen as shown in the image below.

Amazing 😛 !! But in fact we get a meterpreter session of that user without his knowledge.

As you have seen how easily it has defeated the defender of Windows 10 machine.

About the Author
Shubham Goyal Certified Ethical Hacker, information security analyst, penetration tester and researcher. Can be Contact on Linkedin.

Leave a Reply