x32x01
  • by x32x01 ||
Today, we’re going to create windows executable backdoor using Metasploit Exploitation Framework’s using msfvenom.
How To Backdoor Windows Executables Using Metasploit (Msfvenom)

How To Backdoor Windows Executables Using Metasploit​


First make sure Metasploit is already installed.​

If you’re using Mac/Linux you can install Metasploit by using this method. If you’re using Kali Linux then Metasploit is pre-installed on it.

For LAN/Wifi Networks:​

Now follow me step by step:
Attacker’s IP: 192.168.1.2
Victim’s IP: 192.168.1.x (within LAN network it might be any IP)

1- Open terminal and download putty using wget.
Code:
You Can, Log in or Register To View Codes Content !

2- I was in root directory when i used above command. So, putty got downloaded in /root/ directory.
Now use msfvenom to backdoor this executable using the following command.
Code:
You Can, Log in or Register To View Codes Content !
Screen-Shot-2016-12-08-at-11.50.24-pm.png
Above command will generate an EXE file with the name evilputty.exe. This is our backdoored executable file.

3- Start metasploit.
Code:
You Can, Log in or Register To View Codes Content !

4- Start metasploit’s reverse handler to get a reverse connection.
Code:
You Can, Log in or Register To View Codes Content !

5- Distribute this evilputty.exe file in your LAN/Wifi network and wait for victim. When victim will open this evilputty.exe , you will get a reverse shell on your metasploit’s handler. Happy Hacking :)

For WAN Or Internet:​

To use this method over WAN/Internet, you need to forward your ports.

Follow my following tutorial for better understanding of metasploit’s working over internet.

If you successfully port forwarded and open your port.
Code:
You Can, Log in or Register To View Codes Content !

You’re public ip address might not be static so in that case you should be using NO-IP DNS to get a static address.

Simple write your NO-IP Host in LHOST=example.noip.com

If you have any questions related to port forwarding or attacking in WAN Network please don’t forget to comment below!
 

Similar Threads

x32x01
Replies
0
Views
48
x32x01
x32x01
x32x01
Replies
0
Views
471
x32x01
x32x01
x32x01
Replies
0
Views
145
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
91
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
97
x32x01
x32x01
TAGs: Tags
backdoor backdoor windows executables metasploit msfvenom

Register & Login Faster

Forgot your password?

Latest Resources

Forum Statistics

Threads
507
Messages
508
Members
42
Latest Member
Mustafa123
Back
Top