Bitzu

312-50 ยท Mobile platform hacking

Android security model and common attacks

Android architecture and sandbox, APK structure, rooting risks, ADB, sideloading, malicious apps, tool names for analysis.

Key points

  • Android gives every app its own Linux UID, so the kernel enforces the application sandbox (reinforced by SELinux and seccomp).
  • An APK is a signed ZIP holding AndroidManifest.xml, classes.dex, resources and certificates.
  • Risks include rooting (which weakens the sandbox), sideloading apps from unknown sources, malicious or repackaged apps and an exposed ADB interface.
  • Analysts use tools such as apktool, jadx and MobSF to inspect apps.

Source: https://source.android.com/docs/security/app-sandbox

Practice questions

Single choice

How does Android isolate one app from another at the base level?

  1. Each app runs under a unique Linux user ID
  2. Each app runs on a separate physical CPU core
  3. Apps are isolated only by the Play Store review
  4. Apps share one UID but use different passwords
Show answer

Answer: A. Each app runs under a unique Linux user ID

Each app runs as its own Linux user, enforced by the kernel. The other options are not how isolation is built.

Select all that apply

Which tools are used to analyse Android apps?

  1. apktool
  2. jadx
  3. Wireshark
  4. Nmap
  5. Photoshop
Show answer

Answer: A. apktool, B. jadx

apktool and jadx decompile or disassemble APKs. Wireshark is a network analyser and Nmap a network scanner, not APK analysers.

True or false

True or false: rooting an Android phone improves its security because the owner gets full control.

Show answer

Answer: False

Rooting bypasses the sandbox and verified protections, so any malicious app that gains root can read other apps' data. It increases risk.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More 312-50 topics in this module