dana-at-cp / backdoor-apk

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.21k stars 702 forks source link

Failed to singing recompiled APK #10

Closed Tirititelu closed 8 years ago

Tirititelu commented 8 years ago

The application fail to singing recompiled APK and the new backdoor APK doesn`t work... I can install it i my android. This is the log:

[] Generating reverse tcp meterpreter payload...done. [+] Handle the meterpreter connection at: :4444 [] Decompiling RAT APK file...done. [] Decompiling original APK file...done. [] Merging permissions of original and payload projects...done. [] 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. [] Locating smali file to hook in original project...done. [] Adding hook in original smali file...done. [] Recompiling original project with backdoor...done. [] Generating RSA key for signing...done. [] Signing recompiled APK...done. [!] Failed to sign recompiled APK

Do you know what happen?. Thanks!

dana-at-cp commented 8 years ago

Hello. Is "jarsigner" in your path? I would guess that it's not. I'll make some minor changes to detect this state and destroy the recompiled, unsigned APK.

dana-at-cp commented 8 years ago

New changes on master should make this a non-issue.