AndroidEmbedIT icon indicating copy to clipboard operation
AndroidEmbedIT copied to clipboard

Installed app quits immediately

Open poldenais opened this issue 7 years ago • 3 comments

HI Joff, @yoda66 the tutorial is brilliant. I managed to run through it all and I got the final app signed and tried to install it on a test device. it installs but just keeps quitting on startup.

So I tried it again using your script. Script runs great and the final.apk is created but same thing when I install the app, it starts then shuts down. This was a random app I took from apkmonk and I managed to run it initially without any work on it to be sure it ran ok.

Any ideas? Thanks, Pol

poldenais avatar Oct 18 '18 20:10 poldenais

So there is definitely no guarantee of reliability.    I have seen apps that just crash when I do this also.

Suggest you try and alternate app.

-Joff

On 10/18/18 4:21 PM, poldenais wrote:

HI Joff, @yoda66 https://github.com/yoda66 the tutorial is brilliant. I managed to run through it all and I got the final app signed and tried to install it on a test device. it installs but just keeps quitting on startup.

So I tried it again using your script. Script runs great and the final.apk is created but same thing when I install the app, it starts then shuts down. This was a random app I took from apkmonk and I managed to run it initially without any work on it to be sure it ran ok.

Any ideas? Thanks, Pol

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/yoda66/AndroidEmbedIT/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ABRUM6LBu2mJSnu_z16-osxCB_lk4d4cks5umOLdgaJpZM4XvAjy.

yoda66 avatar Oct 18 '18 20:10 yoda66

Sorry @yoda66 you are correct. I tried on the app in your Demo and it works fine. I have the whole lot running now but failing right the end where the listener is just sitting at:

reverse TCP handler on 0.0.0.0:4444

and doesn't seem to do anything else when the exploited app is opened.

poldenais avatar Oct 22 '18 11:10 poldenais

HI Joff, @yoda66 can you tell me ,how to fix it。thanks a lot!

[]=============================== [] Android EmbedIt Version 1.0 [] Author: Joff Thyer [] Copyright (c) 2018 [*]===============================

[] apktool decompiling [Notepad.apk] [] apktool decompiling [virus.apk] [] Main Activity is: com.kfaraj.notepad.NotepadActivity [] Copying malware payload over... [] Adjusting AndroidManifest.xml [] apktool compiling [/root/.ae/original_apk] Traceback (most recent call last): File "./android_embedit.py", line 224, in ae.run() File "./android_embedit.py", line 36, in run self.compile(os.path.join(self.workdir, 'original_apk')) File "./android_embedit.py", line 133, in compile os.path.join(self.workdir, 'final.apk') File "/usr/lib/python3.7/shutil.py", line 120, in copyfile with open(src, 'rb') as fsrc: FileNotFoundError: [Errno 2] No such file or directory: '/root/.ae/original_apk/dist/Notepad.apk'

ahxdkd avatar Dec 16 '19 04:12 ahxdkd