Reddit - r/programming

Exploiting PackageInstaller parsing: A 974-byte modern Android 14 PoC.

Exploiting PackageInstaller parsing: A 974-byte modern Android 14 PoC.

I’ve been exploring the absolute structural floor of the Android APK format. By leveraging hasCode="false" and surgically optimizing the ASN.1 DER encoding of the V2 signature, I’ve managed to get a compliant Android 14 app down to 974 bytes.

The system treats it as a first-class app, and it’s fully installable on a stock Android 14 device. It’s an exercise in how much the PackageManager trusts the headers versus what it semantically validates.

Comments

No comments yet. Start the discussion.