A Kernel Hacker Meets Fuchsia OS
summary
Fuchsia OS (Zircon microkernel) is built with KASAN enabled and debugged in QEMU/GDB; a synthetic use-after-free in the timer dispatcher is triggered, heap spraying is achieved by creating multiple FIFO dispatchers, and a fake vtable pointer delta is crafted to hijack kernel control flow. KASLR is leaked from kernel logs due to a resource-check bug, syzkaller integration fails so fuzzing is deferred, SMAP/SMEP are disabled in the VM to allow a userland fake vtable, and a syscall table overwrite plants a kernel rootkit that prints proof-of-exploit.
AI-written summary · about
chapters (19)
- 0:00Introduction and speaker background
- 1:05What is Fuchsia OS
- 2:33Fuchsia security architecture
- 6:06Building and running Fuchsia
- 8:56Debugging Zircon microkernel
- 10:19Kernel Address Sanitizer in Zircon
- 12:11Fuzzing challenges and strategy shift
- 14:58Exploiting synthetic bug
- 16:01Heap spraying primitive
- 18:33C++ object anatomy in Zircon
- 20:42Bypassing KASLR in Zircon
- 24:13Kernel pointer extraction
- 26:02Control flow hijacking
- 28:38Privilege escalation in microkernel
- 30:04System call table in Zircon
- 31:31Planting rootkit in microkernel
- 34:30Exploit demonstration
- 36:07Conclusion and responsible disclosure
- 39:49Bonus slides and future updates
