I Boot when U-Boot
summary
Custom U-Boot bootkit that gains persistence below firmware level and survives firmware updates by modifying the bootloader partition after obtaining root (no physical access required). Uses an MTD RW kernel module to make bootloader writable, patches env/bootcmd to implement a TFTP boot with ping killswitch and multi-boot fallback, and demonstrates SPI flashing to recover bricked devices. Shows bypasses like erasing public key signature and simple glitching; proposes reproducible builds and chipsec-style hashing for detection.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 1:18Malware on embedded devices
- 2:23Boot process: Embedded device
- 3:12Persistence: Advantages
- 4:00Persistence: Disadvantages
- 6:56Gaining persistence
- 9:09Writing a bootkit
- 9:35Why U-Boot?
- 10:09Preparing the Device
- 10:41Interesting functions
- 11:11Scripts
- 12:35Demo
- 15:12U-Boot 'password' protection
- 18:34Detecting Bootkits
- 20:54Firmware Biopsy
- 22:08(Not-so) Trusted Computing
- 22:36Open Mesh: Secureboot Bypass
- 24:17Bypassing Secureboot
- 24:48Conclusion
