-
Notifications
You must be signed in to change notification settings - Fork 82
Meterpreter apk receives "INSTALL_PARSE_FAILED_NO_CERTIFICATES" error. #21
Comments
Thanks for reporting @audhulma, I'm unable to reproduce it here unfortunately on a S4 UK edition. Could you provide the output of "adb logcat" when you try to install the apk please? I'm installing with:
Could you also try sign it manually with the command:
to see if that works around the issue? |
Logcat returns :
The rest of the log is just the usual for an install through adb. |
Apologies @audhulma I can't reproduce however @jvennix-r7 can! What OS are you running on? |
Solved. Something strange with the openssl lib causes it to behave differently when you forget to sign the cert. I fixed the issue here, closing this now: |
Weird I'm seeing this on a HTC Desire HD, 2.3.5 (but not on a Galaxy S4):
|
Had the same on the Galaxy S4, but using jarsigner as described in a previous made it behave normally (tedious to do so each time though...). |
Just to add in a couple of data points, I started with an ancient HTC Vision running cyanogenmod 7.2rc1 (Android 2.3 something), it accepted the apk without issue. I then updated it to an AOSP 4.2.2 derivative and INSTALL_PARSE_FAILED_NO_CERTIFICATES showed up. |
I can reproduce this but no closer to fixing it. I'll try find some time for this soon. |
I have the same problem, here is what the log said (excerpt):
Sorry, I just saw somebody posted it before. Thing is, I cannot even use the jarsigner method to get this apk installed. The phone is on android 4.1.2. :edit: Fun fact: The jarsigner method works as soon as I add |
Hi @toabi, to be honest with you, I haven't had this problem in a (very) long while, but this log sure does look familiar. Regarding the "-tsa", I never had to go that far, a simple jarsigner with my own keystore was sufficient to bypass said problem. Do you have any anti-virus / malware soft on the phone, by any chance ? |
Quick update:
|
I've tried recently to use the android meterpreter (reverse_tcp, http and https), and all apk generated from msfpayload give out the same error on install (be it through adb or direct install on the phone). The error is "INSTALL_PARSE_FAILED_NO_CERTIFICATES", on both Samsung Galaxy S4 LTE-A's CyanogenMod11 and Alcatel One Touch stock 4.4.2.
I do not know if the problem lies with the android meterpreter itself or msfpayload.
The text was updated successfully, but these errors were encountered: