View Issue Details

IDProjectCategoryView StatusLast Update
0008769Kali LinuxKali Package Bugpublic2024-06-13 06:54
ReporterRoseDeSable Assigned Todaniruiz  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionnot fixable 
Summary0008769: msfvenom - parameter 'android:exported="true"' is missing for trojan definition - installation fails on android
Description

Hi,
I build the trojan meterpreter with msfvenom in an app. If I try to install this new app by "adb install" on android, I receive the following message:

adb: failed to install Calculator_8.6 (612662282)_APKPure_meterpreter.apk: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl1440181840.tmp/base.apk (at Binary XML file line 0000079): com.google.android.calculator.nnvlj.Xnpjr: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present]

If I upload the app on my android and try to install it directly: he installation also fails.

The error obviously is, that in the manifest the additional entry 'android:exported="true"' is missing on this location:

    <receiver android:label="Xnpjr" android:name="com.google.android.calculator.nnvlj.Xnpjr">
        <intent-filter>
            <action android:name="android.intent.action.BOOT_COMPLETED"/>
        </intent-filter>
    </receiver>

I can't analyse this more nearer, because I can de-compile but not compile the app with apktool. But this also is the case, if i de-compile and try to compile the original app without the trojan.

Best Regards
Rose

Activities

kali-bugreport

kali-bugreport

2024-06-03 16:32

reporter   ~0019344

Last edited: 2024-06-03 16:33

For issues with tools like Metasploit just shipped with Kali you should contact the author of that tool -> https://github.com/rapid7/metasploit-framework/issues

RoseDeSable

RoseDeSable

2024-06-04 09:37

reporter   ~0019345

Ok,
I informed github. You can close the issue, or do you want to know the result ?

Issue History

Date Modified Username Field Change
2024-06-03 12:59 RoseDeSable New Issue
2024-06-03 16:32 kali-bugreport Note Added: 0019344
2024-06-03 16:33 kali-bugreport Note Edited: 0019344
2024-06-04 09:37 RoseDeSable Note Added: 0019345
2024-06-13 06:54 daniruiz Assigned To => daniruiz
2024-06-13 06:54 daniruiz Status new => closed
2024-06-13 06:54 daniruiz Resolution open => not fixable