2021: A Titan M Odyssey
summary
Full static and dynamic reverse engineering of Titan M firmware yields a Ghidra loader, Frida hooks into citadeld, a nosed client speaking nanopb, and an SPI bus multiplexer with Raspberry Pi after soldering the chip to the phone. Exploits include a buffer overflow enabling arbitrary code execution via overwritten command handlers, a downgrade via an unused efuse anti‑rollback allowing old firmware, and a primitive to dump the boot ROM. Fuzzing (libprotobuf-mutator) finds two overflows and seven crash bugs; tools are open sourced.
AI-written summary · about
chapters (29)
- 0:00Intro
- 0:27Bringing Security in System Design
- 1:37What is Titan M?
- 2:19Research Status and Goals
- 3:25Specification
- 5:06Memory Layout
- 5:35Titan M Operating System
- 6:20EC Tasks
- 7:09Firmware Boot
- 7:56Firmware Update
- 8:43Firmware Rescue
- 9:22Firmware Security Measures
- 10:41Communication with Android
- 13:08Static Analysis: Ghidra Loader
- 14:14Dynamic Analysis: Sniffing Communication
- 15:01Sniffing Communication: Command Parsing
- 15:39Dynamic Analysis: Sending Commands
- 15:56Dynamic Analysis: Sending Custom Commands
- 17:00Hardware Reverse: Finding SPI
- 18:09Hardware Reverse: Guessing Pinout
- 19:31Hardware Reverse: Tracing SPI
- 20:30Taking Control of SPI
- 22:05First O-day: Out of Bounds Read
- 24:02Second O-day: Downgrade Issue
- 25:05Looking for a known Vulnerability
- 27:17Post Exploitation
- 29:06Fuzzing Titan M
- 31:29Remarks
- 33:30Conclusion
