Howard: A Dynamic Excavator for Reverse Engineering Data Structures.

J.M. Slowinska, Traian Stancescu, Herbert Bos

Data Archiving and Networked Services (DANS) · 2011 · 146 citations · 26 references

Concepts

TL;DR

Reverse engineering stripped binaries is hampered by the absence of symbol tables, making data‑structure recovery and forensic analysis extremely difficult. Howard extracts data structures from C binaries without requiring symbol tables. Howard performs dynamic analysis on a QEMU‑based emulator, tracking program memory usage to identify data structures. Howard outperforms previous methods, enabling accurate partial symbol‑table generation, simplifying debugging, and protecting binaries from memory‑corruption attacks.

Abstract

Even the most advanced reverse engineering techniques and products are weak in recovering data structures in stripped binaries—binaries without symbol tables. Unfortunately, forensics and reverse engineering without data structures is exceedingly hard. We present a new solution, known as Howard, to extract data structures from C binaries without any need for symbol tables. Our results are significantly more accurate than those of previous methods — sufficiently so to allow us to generate our own (partial) symbol tables without access to source code. Thus, debugging such binaries becomes feasible and reverse engineering becomes simpler. Also, we show that we can protect existing binaries from popular memory corruption attacks, without access to source code. Unlike most existing tools, our system uses dynamic analysis (on a QEMU-based emulator) and detects data structures by tracking how a program uses memory.

References

26