Skip to content

How our payload code getting triggered after Binding with any apk. #238

Closed Answered by Morsmalleo
iamvikashh asked this question in Q&A
Discussion options

You must be logged in to vote

I have seen in the code we are registering a broadcast receiver for starting our foreground/background service which connects to iosocket. but I want to know are we relying on broadcast only to trigger service code or are we also manipulating the targeted app smalli code before recompiling it along with payload code.

With Binding On Launch, the main Launcher Activity smali file of the original APK always has what's called a "Hook" injected, this is what starts the payload after binding on launch

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@iamvikashh
Comment options

@Morsmalleo
Comment options

@iamvikashh
Comment options

@Morsmalleo
Comment options

Answer selected by Morsmalleo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants