Cyberlium

Mobile › Module 3 › Lesson 4

BeginnerModule 3Lesson 4/5

Lab — Static

Pack APK anatomy, jadx flow, and manifest/secrets tables — static literacy file from $MOB_LAB only.

25 min+40 XP3 quiz
Module progress4 of 5

Visual · t27_static_lab

Lab: static pack. $MOB_LAB only. Original Cyberlium.

Opening

Static pack merges unzip, jadx, and manifest review — paperwork before dynamic module.

Lessons 3-1–3-3 named APK structure, jadx workflow, and manifest/secrets review. This lab merges anatomy card, jadx flow, and findings table with $MOB_LAB package name and device reference. No unauthorized APK downloads — static literacy paperwork acceptable. Next: Quiz — APK Static Literacy.

1. Lab contract: static pack

Create $HOME/cyberlium-lab/t27-m03-l04-static-lab.txt merging APK anatomy, jadx flow, and manifest/secrets sections with $MOB_LAB package and architecture cross-reference from M2.

Optional: paste redacted jadx search result for one lab string — no production package names.

Command guide

Try these commands — Lab contract: static pack

═══ TOOLS & WEBSITES ═══ Browse / read these (authorized learning only — stay in YOUR lab / program scope)

aapt2 — https://developer.android.com/studio/command-line/aapt2 (manifest dump literacy) apkanalyzer — https://developer.android.com/studio/command-line/apkanalyzer OWASP MASTG static lab — https://mas.owasp.org/MASTG/0x05c-Testing-Static-Analysis/

═══ INSTALL ═══

Linux (Debian/Ubuntu):

macOS:

Windows:

═══ LINUX / macOS ═══

Command — copy this

export MOB_LAB=${MOB_LAB:-$HOME/cyberlium-lab/t27-mob}
if command -v aapt >/dev/null; then aapt dump badging "$MOB_LAB/apk/demo.apk" | head -8; elif command -v apkanalyzer >/dev/null; then apkanalyzer manifest print "$MOB_LAB/apk/demo.apk" | head -8; else unzip -l "$MOB_LAB/apk/demo.apk"; fi
grep -E 'manifest-review|components' "$MOB_LAB/notes/manifest-review.txt" "$MOB_LAB/notes/android-components.txt" 2>/dev/null | head -6
python3 -c "print('Static lab: YOUR demo.apk only — no apktool resign piracy flows')"

═══ WINDOWS ═══

YOUR lab Windows VM — list YOUR demo.apk contents

Command — copy this

Expand-Archive -Path $HOME/cyberlium-lab/t27-mob/apk/demo.apk -DestinationPath $HOME/cyberlium-lab/t27-mob/apk/demo-unzip -Force 2>$null
Get-ChildItem $HOME/cyberlium-lab/t27-mob/apk/demo-unzip -Recurse | Select-Object -First 5

Primary tools to practice this lesson: aapt, unzip, grep. Reference sites: aapt2 (https://developer.android.com/studio/command-line/aapt2); apkanalyzer (https://developer.android.com/studio/command-line/apkanalyzer); OWASP MASTG static lab (https://mas.owasp.org/MASTG/0x05c-Testing-Static-Analysis/). Run every command in the box — install first, then the usage lines — only on YOUR lab / program scope.

2. Cross-check ethics

Grep for store APK URLs, live API keys, pinning bypass snippets — remove. Pack stays static literacy on lab targets.

Confirm package name matches $MOB_LAB device inventory from M1.

3. Lock the proof

chmod 600 on the pack. Quiz next — then adb Literacy.

Static literacy feeds dynamic adb and Frida lessons in M4.

4. What you ship: static literacy pack for $MOB_LAB

Merged anatomy, jadx, manifest sections. $MOB_LAB named. NO unauthorized APKs. chmod 600.

5. What you record before the next lesson

Date. Static pack path. $MOB_LAB named. File t27-m03-l04-static-lab.txt chmod 600.

6. Wrong vs right: stranger phones vs lab emulator apps

Worked failure — same MSF word, opposite target. Right never needs a café Wi-Fi or classmate laptop.

  • Wrong

    Include decompiled bank APK in pack. Paste live AWS keys in notes.

  • Right

    Write YOUR static pack for $MOB_LAB. chmod 600. Next: Quiz — APK Static Literacy.

Mission: freeze YOUR static pack

1) Merge M3 literacy sections. 2) Link M2 architecture cross-ref. 3) Confirm zero unauthorized APK refs. 4) chmod 600.

Stuck? Ask Cyberlium AI Mentor

Package name consistency across M1–M3 packs saves grading confusion.

Knowledge Check

1

APPLY: This lab requires:

Multiple choice

Knowledge Check

2

APPLY: True or False: Static pack should reference $MOB_LAB package name.

True or False

Knowledge Check

3

APPLY: jadx in static pack is:

Multiple choice

← Previous

Answer all 3 knowledge checks to continue. (0/3 answered)