Lion Cipher Lab
Take apart an Android APK you built yourself, and read it with jadx
- AppSec / DevSecOps
- Intermediate
- ~90 min
- Free · no account required
Why it matters
Almost every Android app is delivered as an APK that anyone can download, copy and open. Mobile security reviews, malware triage and incident response all begin by looking inside that file. Knowing its parts, how to read the manifest and how to read decompiled code lets you check a scanner's claim yourself and find what a scanner misses. Building the app first means you know what the right answer looks like, with no real app and no legal question.
What you'll learn
- building a debug APK with the Gradle wrapper and finding where the file lands
- listing an APK with unzip -l and naming classes.dex, AndroidManifest.xml, resources.arsc and META-INF
- reading the manifest with aapt2 dump badging and aapt2 dump xmltree
- decompiling with jadx using -d, --show-bad-code and --deobf
- finding a hard-coded string and an exported broadcast receiver in decompiled code
- explaining what android:exported means and how to lock a component down
Steps in this lab
- What an APK is, and what this lab is not
- Create the project and build a debug APK
- Plant a hard-coded token and an exported receiver
- Put the APK in an analysis folder and list it as a zip
- Read the manifest with aapt2
- Decompile classes.dex with jadx
- Explain the two findings and fix them
- When NOT to use this, and how a pro does it better
Open the full interactive lab →