Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

persistence #36

Closed
Dark-Agent-x opened this issue Sep 23, 2016 · 7 comments
Closed

persistence #36

Dark-Agent-x opened this issue Sep 23, 2016 · 7 comments
Labels

Comments

@Dark-Agent-x
Copy link

brother when Application close meterpreter session close.
please make it persistence or any solution??

@dana-at-cp
Copy link
Owner

Yes. Having the session die when the app is closed is expected behavior for now.

I do add a persistence hook that will silently try to reconnect the next time the phone reboots. Try it out. Let me know if it works for you.

@SNDTiger
Copy link

still the same bro session closes after the application exit

@Dark-Agent-x
Copy link
Author

still not work brother session close when app close...

@dana-at-cp
Copy link
Owner

@Qurexhi @SNDTiger I think you both missed what I said. It's normal to lose the session when the app closes. In order to persist backdoor access, there is code that will attempt to connect back when the Android device powers on (i.e. upon reboot). Make sure you have the metasploit handler running/listening when the device reboots. You should get a session with no visual indication on the device.

I've tested it and it does in fact work. :)

@aancw
Copy link

aancw commented Sep 27, 2016

@dana-at-cp
Copy link
Owner

@aancw The persistence hook featured in backdoor-apk uses a different method.

@dana-at-cp
Copy link
Owner

Closing since persistence upon device reboot is already a feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants