Reverse Engineering Microcontroller Firmware presented at BSidesLisbon 2018

by Steve Lord,

Summary : Sometimes you find a microcontroller, and you just need to know what it does. In this talk, I will show you my approach to finding out.Microcontrollers are typically used in everything from musical gift cards to space stations cooling systems. Microcontrollers are seen as magical black boxes, when in reality they're usually designed to run software that does one or two things. In this talk I'll show you how to go from knowing nothing about a microcontroller, to dumping the firmware and reversing the contents. Then I'll talk a little bit about approaches to exploring the attack surface and some things I've learned along the way. This talk is about my workflow and approach to reversing microcontroller firmware. I'll put the demo firmware I reverse up online so you can play along. To play this game, you'll need: * radare (")* avr-binutils (esp avr-objdump)* a text editor