Repeatable Reverse Engineering with PANDA
Brendan Dolan-Gavitt, Josh Hodosh, Patrick Hulin et al. · 2015
We present PANDA, an open-source tool that has been purpose-built to support whole system reverse engineering. It is built upon the QEMU whole system emulator, and so analyses have access to all code executing in the guest and all data. PANDA adds the ability to record and replay executions, enabling iterative, deep, whole system analyses. Further, the replay log files are compact and shareable, allowing for repeatable experiments. A nine billion instruction boot of FreeBSD, e.g., is represented by only a few hundred MB. PANDA leverages QEMU's support of thirteen different CPU architectures to make analyses of those diverse instruction sets possible within the LLVM IR. In this way, PANDA can have a single dynamic taint analysis, for example, that precisely supports many CPUs. PANDA analyses are written in a simple plugin architecture which includes a mechanism to share functionality between plugins, increasing analysis code re-use and simplifying complex analysis development. We demonstrate PANDA's effectiveness via a number of use cases, including enabling an old but legitimately purchased game to run despite a lost CD key, in-depth diagnosis of an Internet Explorer crash, and uncovering the censorship activities and mechanisms of an IM client.
Cited by 141 works. doi:10.1145/2843859.2843867
Authors
References
- Secure Computer Systems: Mathematical Foundations
- Pin
- Dynamic Taint Analysis for Automatic Detection, Analysis, and Signature Generation of Exploits on Commodity Software
- ReVirt
- Understanding data lifetime via whole system simulation
- Efficient, transparent, and comprehensive runtime code manipulation
- Debugging operating systems with time-traveling virtual machines
- BitBlaze: A New Approach to Computer Security via Binary Analysis
- Dytan
- S2E