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
How does Android isolate one app from another at the base level?
- Each app runs under a unique Linux user ID
- Each app runs on a separate physical CPU core
- Apps are isolated only by the Play Store review
- 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.
Which tools are used to analyse Android apps?
- apktool
- jadx
- Wireshark
- Nmap
- 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: 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.
