Mobile › Module 2 › Lesson 4
Lab — Arch
Pack stack, components, and permissions literacy — architecture file from $MOB_LAB only.
Visual · t27_arch_lab
Lab: architecture pack. $MOB_LAB only. Original Cyberlium.
Opening
Architecture pack ties stack to manifest — paperwork before APK static module.
Lessons 2-1–2-3 named Android stack, components, and permissions. This lab merges stack card, component table, and permission matrix into one $MOB_LAB architecture artifact. No stranger-app manifest scraping — classification paperwork only. Next: Quiz — Android Architecture Literacy.
1. Lab contract: architecture pack
Create $HOME/cyberlium-lab/t27-m02-l04-arch-lab.txt merging stack card, component table, and permission matrix with $MOB_LAB device API level and sample APK name.
Optional: screenshot manifest tab from YOUR lab project — redact any out-of-scope package names.
Command guide
Try these commands — Lab contract: architecture pack
═══ TOOLS & WEBSITES ═══ Browse / read these (authorized learning only — stay in YOUR lab / program scope)
Android sandbox — https://source.android.com/docs/security/app-sandbox (UID isolation literacy) OWASP MASTG platform — https://mas.owasp.org/MASTG/0x05a-Platform-Overview/ Android security tips — https://developer.android.com/privacy-and-security/security-tips
═══ INSTALL ═══
Linux (Debian/Ubuntu):
Command — copy this
sudo apt install python3
macOS:
Command — copy this
brew install python3
Windows: Download https://python.org/downloads/
═══ LINUX / macOS ═══
Command — copy this
export MOB_LAB=${MOB_LAB:-$HOME/cyberlium-lab/t27-mob}
python3 - <<'PY'
checks = ['UID per app', 'SELinux enforcing', 'Permission declarations in manifest', 'Exported component count']
print('Architecture lab checklist (YOUR demo.apk / lab emulator):')
for c in checks: print(f' [ ] {c}')
PYCommand — copy this
grep -E 'exported|Permission|never' "$MOB_LAB/notes/android-components.txt" "$MOB_LAB/notes/permissions-model.txt" grep SCOPE "$MOB_LAB/notes/no-stranger-phones.txt"
═══ WINDOWS ═══
YOUR lab Windows VM — review architecture notes only
Command — copy this
Get-Content $HOME/cyberlium-lab/t27-mob/notes/android-components.txt | Select-String exported Write-Output 'Map components in YOUR demo.apk — lab literacy only'
Primary tools to practice this lesson: grep, python3. Reference sites: Android sandbox (https://source.android.com/docs/security/app-sandbox); OWASP MASTG platform (https://mas.owasp.org/MASTG/0x05a-Platform-Overview/); Android security tips (https://developer.android.com/privacy-and-security/security-tips). Run every command in the box — install first, then the usage lines — only on YOUR lab / program scope.
2. Cross-check refusal boundaries
Grep pack for production bank package names, stranger device serials, pinning bypass — redact or delete. Architecture pack stays documentary.
Update pack if you swap lab sample APK — note new package name.
3. Lock the proof
chmod 600 on the pack. Quiz next — then APK Structure.
Architecture literacy feeds jadx and manifest lessons in M3.
4. What you ship: architecture pack for $MOB_LAB
Merged stack, component, permission sections. $MOB_LAB named. NO production app scraping. chmod 600.
5. What you record before the next lesson
Date. Architecture pack path. $MOB_LAB named. File t27-m02-l04-arch-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 production wallet manifest in pack. Skip permission matrix.
Right
Write YOUR architecture pack for $MOB_LAB. chmod 600. Next: Quiz — Android Architecture Literacy.
Mission: freeze YOUR architecture pack
1) Merge M2 literacy sections. 2) Confirm zero production/stranger references. 3) Name lab sample APK. 4) chmod 600.
Stuck? Ask Cyberlium AI Mentor
One architecture page beats ten unauthorized manifest dumps.
Knowledge Check
APPLY: This lab requires:
Multiple choice
Knowledge Check
APPLY: True or False: Architecture pack should reference $MOB_LAB sample APK.
True or False
Knowledge Check
APPLY: Architecture pack should include:
Multiple choice