Open CubeFaces opened 6 years ago
apt-get update and apt-get upgrade If u still getting same error Update ur source.list in /etc/apt...
On Wed, Aug 29, 2018, 8:12 PM CubeFaces notifications@github.com wrote:
I keep getting this error with every apk file [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [
] Generating apk payload [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Removing 1.apk framework file... [ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [
] Decompiling Original APK... [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Decompiling Payload APK... [ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [
] Adding permission and Hook Smali [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] ################################################################## inject Smali: com/avast/android/cleaner/core/ProjectApp.smali In line:28 ################################################################## [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Rebuilding Backdoored APK... [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [
] Checking for ~/.android/debug.keystore for signing... [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Attempting to sign the package with your android debug key [ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [
] Verifying signed artifacts... [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Aligning recompiled APK... [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]zipalign: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory
[✔] Done. [ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [!] Failed to align recompiled APK
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/M4sc3r4n0/Evil-Droid/issues/23, or mute the thread https://github.com/notifications/unsubscribe-auth/AoC_-wYCFgIekfO7VAscepr2ojF7R3-Oks5uVqhigaJpZM4WRsjq .
Everything seems fine but i'm getting the same error while aligning the recompiled APK.
"Evil-Droid: line 620: zipalign: command not found" [!] Failed to align recompiled APK
Try apt install zipalign
On Wed, Sep 12, 2018, 4:01 PM sevenmountains notifications@github.com wrote:
Everything seems fine but i'm getting the same error while aligning the recompiled APK.
"Evil-Droid: line 620: zipalign: command not found" [!] Failed to align recompiled APK https://www.exploit-db.com/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/M4sc3r4n0/Evil-Droid/issues/23#issuecomment-420598124, or mute the thread https://github.com/notifications/unsubscribe-auth/AoC_-yrDv5I3ihC0XqIC-wwpq2aX1_Hrks5uaOKWgaJpZM4WRsjq .
Finally got Zipalign installed by updating sources.list. But now i get a new error:
Zipalign: error while loading shared libraries: liblog.so.0: cannot open shared object file: No such file or directory [✔] Done. [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [!] Failed to align recompiled APK
Can you send me ur sourcelist .... which can u have installed zipalign?? U have update ur lib.... It's sounds crazy but... Thts the solution I know...
On Wed, Sep 12, 2018, 6:14 PM sevenmountains notifications@github.com wrote:
Try apt install zipalign … <#m-8114687876782822684> On Wed, Sep 12, 2018, 4:01 PM sevenmountains @.***> wrote: Everything seems fine but i'm getting the same error while aligning the recompiled APK. "Evil-Droid: line 620: zipalign: command not found" [!] Failed to align recompiled APK https://www.exploit-db.com/ — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#23 (comment) https://github.com/M4sc3r4n0/Evil-Droid/issues/23#issuecomment-420598124>, or mute the thread https://github.com/notifications/unsubscribe-auth/AoC_-yrDv5I3ihC0XqIC-wwpq2aX1_Hrks5uaOKWgaJpZM4WRsjq .
Finally got Zipalign installed by updating sources.list. But now i get a new error:
Zipalign: error while loading shared libraries: liblog.so.0: cannot open shared object file: No such file or directory [✔] Done. [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [!] Failed to align recompiled APK
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/M4sc3r4n0/Evil-Droid/issues/23#issuecomment-420634112, or mute the thread https://github.com/notifications/unsubscribe-auth/AoC_-88qvjwrGk5-c5sTJtpDC7Dy_4Mgks5uaQGRgaJpZM4WRsjq .
Sorry for my bad english, to fix this on i386 systems just run this script:``
You need to copy the file "zipalign" and the "lib" folder(/var/cache/google-android-build-tools-installer/android-$version) to the destination folder(/path/Evil-Droid-master/).
(If you run 64 bit system then there will be a "lib64" folder. Copy that instead "lib" folder if you're running a 64 bit system.)
Then change the line "zipalign 4 evil.apk $apk_name.apk 2>&1" to "./zipalign 4 evil.apk $apk_name.apk 2>&1" in the file "/path/Evil-Droid-master/evil-droid".
Now it will work.Don't know what is causing the problem.There should be some dependency error on the native folder or something.
i didn't find any google-android-build-tools-installer in my /var/cache/ ? help
Same here! I can't align my apk file with NO ONE tool! Evil-Droid, msfvenom and others. I do have the latest version of kali linux and this is incredible. command zipalign doesn't work at all it says: zipalign: error while loading shared libraries: liblog.so.0: cannot open shared object file: No such file or directory
and I don't have google-android-build-tools-installer in my /var/cache/ too
Please help us
locate liblog.so { maybe it found in /usr/lib/liblog.so.0} copy that lib file to Android root {/usr/share/android-sdk/build-tools/19.1.0/} and Give permissions {chmod +x liblog.so.0} ..... if again this problem continue, type which zipalign and replace that one {from usr/share/android-sdk/build-tools/19.1.0/ to ..}
i didn't find any google-android-build-tools-installer in my /var/cache/ ? help
I don't know if this is gonna work out..but just let me know if it is..
i attached my "zipalign" file and "lib" folder here.. Fix.zip
just extract them on the destination folder("/$path/Evil-Droid-master/").
then re-edit the line "_zipalign 4 evil.apk $apkname.apk 2>&1" to "_./zipalign 4 evil.apk $apkname.apk 2>&1" in the file "evildroid" as i said ago..then try again..
Just let me know whether it's positive or negative!!
My solution add this line : deb http://ftp.de.debian.org/debian sid main to your /etc/apt/sources.list then
sudo apt-get update && sudo apt-get upgrade && sudo apt-get install zipalign
Good Luck
🛑🛑🛑 Here is The FIX 2019.. https://youtu.be/QfyYWioLEk4 Full Video by FirstClickin. Solved now file is Recompiling without Error
Debug name is not found..how to generate debug name
Finally Guys I've figured it out..... The indeed problem is that the Java sdk that is used by kali by default to recompile the App with the backdoor that we have genarated is the latest version and Evil droid or any backdoor creator can't exploit it to recompile....So we need to set the java version to JAVA SDK 8..To do so check out the following method.... Open Terminal and Type Following... update-alternatives --config java select java 8 number 3 root@Kalivil:~# update-alternatives --config java There are 3 choices for the alternative java (providing /usr/bin/java).
0 /usr/lib/jvm/java-13-openjdk-amd64/bin/java 1311 auto mode 1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 manual mode 2 /usr/lib/jvm/java-13-openjdk-amd64/bin/java 1311 manual mode
Press
. .
M. .M
MMMMMMMMMMM.
.MMM\MMMMMMM/MMM.
.MMM.7MMMMMMM.7MMM.
.MMMMMMMMMMMMMMMMMMM
MMMMMMM.......MMMMMMM
MMMMMMMMMMMMMMMMMMMMM
MMMM MMMMMMMMMMMMMMMMMMMMM MMMM
dMMMM.MMMMMMMMMMMMMMMMMMMMM.MMMMD
dMMMM.MMMMMMMMMMMMMMMMMMMMM.MMMMD
dMMMM.MMMMMMMMMMMMMMMMMMMMM.MMMMD
dMMMM.MMMMMMMMMMMMMMMMMMMMM.MMMMD
dMMMM.MMMMMMMMMMMMMMMMMMMMM.MMMMD
dMMMM.MMMMMMMMMMMMMMMMMMMMM.MMMMD
dMMMM.MMMMMMMMMMMMMMMMMMMMM.MMMMD
MMM8 MMMMMMMMMMMMMMMMMMMMM 8MMM
MMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMM
MMMMM MMMMM v0.3
MMMMM MMMMM
MMMMM MMMMM
MMMMM MMMMM
.MMM. .MMM.
Mascerano Bachir - Dev-labs
╔──────────────────────────────────────────────╗
| Evil-Droid Framework v0.3 |
| Hack & Remote android plateform |
┖──────────────────────────────────────────────┙
[1] APK MSF
[2] BACKDOOR APK ORIGINAL (OLD)
[3] BACKDOOR APK ORIGINAL (NEW)
[4] BYPASS AV APK (ICON CHANGE)
[5] START LISTENER
[c] CLEAN
[q] QUIT
[?] Select>: 2
[✔] BACKDOOR APK ORIGINAL (OLD)
[ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
[] Removing 1.apk framework file...
[ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
[] Embeding apk payload in orginal apk
[ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
【X】 Failed to rebuild backdoored apk【X】
root@kali:~/Evil-Droid#
help please. current problem... I tried all the methods you said. @Crypt0-Cat @TheLegendKillerLK
Hello Everyone, I am facing an issue while recompiling a folder which contains source code of APK. I de-compiled the APK for testing purpose to bypass ssl pinning. Now when I am recompiling it, the APK is giving errors in some navigation folder. On the other hand frida tool is not working for ssl pining bypass. Is there any technique to overcome this problem? Any other way to bypass SSL Pinning? Quick response will be appreciated...
. .
M. .M
MMMMMMMMMMM.
.MMM\MMMMMMM/MMM.
.MMM.7MMMMMMM.7MMM.
.MMMMMMMMMMMMMMMMMMM
MMMMMMM.......MMMMMMM
MMMMMMMMMMMMMMMMMMMMM
MMMM MMMMMMMMMMMMMMMMMMMMM MMMM
dMMMM.MMMMMMMMMMMMMMMMMMMMM.MMMMD
dMMMM.MMMMMMMMMMMMMMMMMMMMM.MMMMD
dMMMM.MMMMMMMMMMMMMMMMMMMMM.MMMMD
dMMMM.MMMMMMMMMMMMMMMMMMMMM.MMMMD
dMMMM.MMMMMMMMMMMMMMMMMMMMM.MMMMD
dMMMM.MMMMMMMMMMMMMMMMMMMMM.MMMMD
dMMMM.MMMMMMMMMMMMMMMMMMMMM.MMMMD
MMM8 MMMMMMMMMMMMMMMMMMMMM 8MMM
MMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMM
MMMMM MMMMM v0.3
MMMMM MMMMM
MMMMM MMMMM
MMMMM MMMMM
.MMM. .MMM.
Mascerano Bachir - Dev-labs
╔──────────────────────────────────────────────╗
| Evil-Droid Framework v0.3 |
| Hack & Remote android plateform |
┖──────────────────────────────────────────────┙
[1] APK MSF
[2] BACKDOOR APK ORIGINAL (OLD)
[3] BACKDOOR APK ORIGINAL (NEW)
[4] BYPASS AV APK (ICON CHANGE)
[5] START LISTENER
[c] CLEAN
[q] QUIT
[?] Select>: 4
[✔] BYPASS AV APK
[ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
[] Generating apk payload
[ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
[] Removing 1.apk framework file...
[ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
[] Decompiling Original APK...
[ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
[] Decompiling Payload APK...
[ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
[] Scrubbing the payload contents to avoid AV signatures...
[ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
[] Adding permission and Hook Smali
[ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
##################################################################
inject Smali: org/telegram/ui/ApplicationLoader.smali
In line:75
##################################################################
[ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
[] Rebuilding Backdoored APK...
[ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
[] Checking for ~/.android/debug.keystore for signing...
[ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
[] Attempting to sign the package with your android debug key
[ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
[] Verifying signed artifacts...
[ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
[*] Aligning recompiled APK...
[ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]zipalign: symbol lookup error: zipalign: undefined symbol: _ZN11zip_archive6WriterD2Ev
[✔] Done.
[ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
[!] Failed to align recompiled APK
I keep getting this error with every apk file [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Generating apk payload [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Removing 1.apk framework file... [ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Decompiling Original APK... [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Decompiling Payload APK... [ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Adding permission and Hook Smali [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] ################################################################## inject Smali: com/avast/android/cleaner/core/ProjectApp.smali In line:28 ################################################################## [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Rebuilding Backdoored APK... [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Checking for ~/.android/debug.keystore for signing... [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Attempting to sign the package with your android debug key [ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Verifying signed artifacts... [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [] Aligning recompiled APK... [ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]zipalign: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory
[✔] Done. [ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] [!] Failed to align recompiled APK