Binary-Kernel-Android-Exploitation-Roadmap

๐Ÿง  Binary, Android & Linux Kernel Exploitation Roadmap

A comprehensive hands-on roadmap for learning binary exploitation, Android native app and kernel exploitation, and Linux kernel vulnerability research. This repo contains structured notes, curated resources, labs, and a suggested timeline.

๐Ÿ”— Sections

๐Ÿ“‚ Directory Structure

binary-kernel-android-exploitation-roadmap/
โ”‚
โ”œโ”€โ”€ prerequisites/
โ”œโ”€โ”€ binary-basics/
โ”œโ”€โ”€ binary-advanced/
โ”œโ”€โ”€ android/
โ”œโ”€โ”€ linux-kernel/
โ”œโ”€โ”€ tools/
โ”œโ”€โ”€ timeline/
โ”œโ”€โ”€ labs/
โ”‚   โ”œโ”€โ”€ linux-kernel-writewhatwhere/
โ”‚   โ”‚   โ”œโ”€โ”€ README.md
โ”‚   โ”‚   โ”œโ”€โ”€ vuln_driver.c
โ”‚   โ”‚   โ”œโ”€โ”€ exploit.c
โ”‚   โ”‚   โ”œโ”€โ”€ build.sh
โ”‚   โ”‚   โ”œโ”€โ”€ run.sh
โ”‚   โ”‚
โ”‚   โ””โ”€โ”€ android_kernel_cve_lab/
โ”‚       โ”œโ”€โ”€ CVE-2020-0041/
โ”‚       โ”‚   โ”œโ”€โ”€ README.md
โ”‚       โ”‚   โ”œโ”€โ”€ fetch_and_build.sh
โ”‚       โ”‚   โ”œโ”€โ”€ boot_qemu.sh
โ”‚       โ”‚   โ”œโ”€โ”€ patches/
โ”‚       โ”‚   โ”‚   โ””โ”€โ”€ cve-2020-0041.patch
โ”‚       โ”‚   โ””โ”€โ”€ poc/
โ”‚       โ”‚       โ””โ”€โ”€ exploit_template.c
โ”‚       โ”‚
โ”‚       โ”œโ”€โ”€ CVE-2019-2215/
โ”‚           โ”œโ”€โ”€ README.md
โ”‚           โ”œโ”€โ”€ fetch_and_build.sh
โ”‚           โ”œโ”€โ”€ boot_qemu.sh
โ”‚           โ”œโ”€โ”€ patches/
โ”‚           โ”‚   โ””โ”€โ”€ cve-2019-2215.patch
โ”‚           โ””โ”€โ”€ poc/
โ”‚               โ””โ”€โ”€ exploit_template.c
โ”‚
โ”œโ”€โ”€ LICENSE
โ””โ”€โ”€ README.md

โœ… How to Use

  1. Follow the timeline/ to plan your study.
  2. Explore binary-basics/ and binary-advanced/ for hands-on challenges.
  3. Dive into android/ for reversing, Frida, SELinux & Binder.
  4. Master kernel bugs in linux-kernel/.
  5. All notes can be imported into Obsidian or Notion for personal tracking.

๐Ÿงช Labs

Lab Description Level ย 
Linux Kernel Write-What-Where Exploit a custom kernel module vulnerability to gain root. Intermediate ย 
Android Binder UAF - CVE-2020-0041 Recreate and analyze a real-world Android Binder kernel vulnerability (UAF). CVE-2020-0041 Advanced
Android Binder UAF - CVE-2019-2215 Exploit a Binder UAF vulnerability from CVE-2019-2215. CVE-2019-2215 Advanced

โš ๏ธ Work in Progress: Contributions, improvements & PRs are welcome!