Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed with a malform AndroidManifest file #3540

Open
HongThatCong opened this issue Mar 15, 2024 · 4 comments
Open

Failed with a malform AndroidManifest file #3540

HongThatCong opened this issue Mar 15, 2024 · 4 comments
Labels

Comments

@HongThatCong
Copy link

Information

  1. Apktool Version (apktool -version) - 2.9.3
  2. Operating System (Mac, Linux, Windows) - Windows 10
  3. APK From? (Playstore, ROM, Other) - This repo
  4. Java Version (java --version) - Open JDK 17

This malformed APK file has been open issues at Androguard and has been fixed in version 4.1.1:
androguard/androguard#1006

@iBotPeaches
Copy link
Owner

What failed? I don't see any details.

@HongThatCong
Copy link
Author

HongThatCong commented Mar 20, 2024

Sorry I replied late.
Run apktool -d with that malware apk file, the output AndroidManifest.xml is damaged, missing information
This is the output from the command line apktool d DichVuCong.apk

I: Using Apktool 2.9.3 on DichVuCong.apk
I: Loading resource table...
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\xxxx\AppData\Local\apktool\framework\1.apk
I: Decoding values */* XMLs...
I: Decoding AndroidManifest.xml with resources...
W: Bad string block: string entry is at 752, past end at 752
W: Unknown chunk type at: (0x00003370) skipping...
W: Unknown chunk type at: (0x00003378) skipping...
W: Unknown chunk type at: (0x00003380) skipping...
W: Unknown chunk type at: (0x00003388) skipping...
W: Unknown chunk type at: (0x00003390) skipping...
W: Unknown chunk type at: (0x00003398) skipping...
W: Unknown chunk type at: (0x000033a0) skipping...
W: Unknown chunk type at: (0x000033a8) skipping...
W: Unknown chunk type at: (0x000033b0) skipping...
W: Unknown chunk type at: (0x000033b8) skipping...
W: Unknown chunk type at: (0x000033c0) skipping...
W: Unknown chunk type at: (0x000033c8) skipping...
W: Unknown chunk type at: (0x000033d0) skipping...
W: Unknown chunk type at: (0x000033d8) skipping...
W: Unknown chunk type at: (0x000033e0) skipping...
W: Unknown chunk type at: (0x000033e8) skipping...
W: Unknown chunk type at: (0x000033f0) skipping...
W: Unknown chunk type at: (0x000033f8) skipping...
W: Unknown chunk type at: (0x00003400) skipping...
W: Unknown chunk type at: (0x00003408) skipping...
W: Unknown chunk type at: (0x0000345c) skipping...
W: Unknown chunk type at: (0x00003464) skipping...
W: Unknown chunk type at: (0x0000346c) skipping...
W: Unknown chunk type at: (0x00003474) skipping...
W: Unknown chunk type at: (0x0000347c) skipping...
W: Unknown chunk type at: (0x00003484) skipping...
W: Unknown chunk type at: (0x0000348c) skipping...
W: Unknown chunk type at: (0x00003494) skipping...
W: Unknown chunk type at: (0x0000349c) skipping...
W: Unknown chunk type at: (0x000034a4) skipping...
W: Unknown chunk type at: (0x000034ac) skipping...
W: Unknown chunk type at: (0x000034b4) skipping...
W: Unknown chunk type at: (0x000034bc) skipping...
W: Unknown chunk type at: (0x000034c4) skipping...
W: Unknown chunk type at: (0x000034cc) skipping...
W: Unknown chunk type at: (0x00003524) skipping...
W: Unknown chunk type at: (0x0000352c) skipping...
W: Unknown chunk type at: (0x00003534) skipping...
W: Unknown chunk type at: (0x0000353c) skipping...
W: Unknown chunk type at: (0x00003544) skipping...
W: Unknown chunk type at: (0x0000354c) skipping...
W: Unknown chunk type at: (0x00003554) skipping...
W: Unknown chunk type at: (0x0000355c) skipping...
W: Unknown chunk type at: (0x00003564) skipping...
W: Unknown chunk type at: (0x0000356c) skipping...
W: Unknown chunk type at: (0x00003574) skipping...
W: Unknown chunk type at: (0x0000357c) skipping...
W: Unknown chunk type at: (0x00003584) skipping...
W: Unknown chunk type at: (0x0000358c) skipping...
W: Unknown chunk type at: (0x00003594) skipping...
W: Unknown chunk type at: (0x0000359c) skipping...
W: Unknown chunk type at: (0x000035a4) skipping...
W: Unknown chunk type at: (0x000035ac) skipping...
W: Unknown chunk type at: (0x000035b4) skipping...
W: Unknown chunk type at: (0x000035bc) skipping...
W: Unknown chunk type at: (0x00003614) skipping...
W: Unknown chunk type at: (0x0000361c) skipping...
W: Unknown chunk type at: (0x00003624) skipping...
W: Unknown chunk type at: (0x0000362c) skipping...
W: Unknown chunk type at: (0x00003634) skipping...
W: Unknown chunk type at: (0x0000363c) skipping...
W: Unknown chunk type at: (0x00003644) skipping...
W: Unknown chunk type at: (0x0000364c) skipping...
W: Unknown chunk type at: (0x00003654) skipping...
W: Unknown chunk type at: (0x0000365c) skipping...
W: Unknown chunk type at: (0x00003664) skipping...
W: Unknown chunk type at: (0x0000366c) skipping...
W: Unknown chunk type at: (0x000095b8) skipping...
W: AXML hit unexpected end of file at byte: 0x95B8
I: Regular manifest package...
[Fatal Error] :2:236: Element type "manifest" must be followed by either attribute specifications, ">" or "/>".
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
I: Copying META-INF/services directory

@iBotPeaches
Copy link
Owner

thanks for details.

Repository owner deleted a comment from sham1406 Mar 22, 2024
@EvgenyyRoguzkyy

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants