A Lazy Solve of HHV Challenge 6: Radare2, AVR, & 7-Segment Displays
Ben Gardiner walks through solving HHV Challenge 6, combining Radare2 AVR disassembly, logic analyzer decoding in Sigrok, and 7-segment display reverse engineering.
Summary
Approaching Hardware CTF Challenges Pragmatically
Solving hardware hacking challenges requires chaining disparate skills—from embedded firmware disassembly to digital signal decoding—into a cohesive workflow.
Disassembling AVR Firmware with Radare2
Ben Gardiner demonstrates analyzing an unknown microcontroller firmware dump using Radare2, mapping AVR register operations and interrupt vector tables.
Decoding Digital Signal Traces in Sigrok
Gardiner illustrates using PulseView and Sigrok to capture, inspect, and decode multiplexed GPIO pin toggles driving 7-segment LED displays.
Extracting the Embedded Flag from Display Logic
The walkthrough shows how correlating disassembly control flow with decoded LED pin states recovers the hidden challenge flag.
Related talks
Hardware Hacking Village·49 min
rehr
HHV challenge designer rehr presents the official solutions to all five DEF CON 28 Hardware Hacking Village challenges, demystifying hardware reverse engineering.
Hardware Hacking Village·40 min
Bradan Lane
Bradan Lane introduces PortaProg, an open-source portable hardware programmer for flashing Atmel AVR microcontrollers via ISP and UPDI in the field.
Village Interviews·3 min
The DEF CON Video Team showcases a restored 1988 Japanese slot machine featured as an interactive puzzle in the DEF CON Scavenger Hunt.


