ROPMEMU
Mariano Graziano, Davide Balzarotti, Alain Zidouemba · ACM Asia Conference on Computer and Communications Security (ASIA CCS) · 2016
Code reuse attacks based on return oriented programming (ROP) are becoming more and more prevalent every year. They started as a way to circumvent operating systems protections against injected code, but they are now also used as a technique to keep the malicious code hidden from detection and analysis systems. This means that while in the past ROP chains were short and simple (and therefore did not require any dedicated tool for their analysis), we recently started to observe very complex algorithms -- such as a complete rootkit -- implemented entirely as a sequence of ROP gadgets. In this paper, we present a set of techniques to analyze complex code reuse attacks. First, we identify and discuss the main challenges that complicate the reverse engineer of code implemented using ROP. Second, we propose an emulation-based framework to dissect, reconstruct, and simplify ROP chains. Finally, we test our tool on the most complex example available to date: a ROP rootkit containing four separate chains, two of them dynamically generated at runtime.
Cited by 22 works. doi:10.1145/2897845.2897894
Authors
References
- QEMU, a fast and portable dynamic translator
- The geometry of innocent flesh on the bone
- Exploring Multiple Execution Paths for Malware Analysis
- SubVirt: implementing malware with virtual machines
- Return-oriented programming without returns
- When good instructions go bad
- Jump-oriented programming
- Just-In-Time Code Reuse: On the Effectiveness of Fine-Grained Address Space Layout Randomization
- Return-oriented rootkits: bypassing kernel code integrity protection mechanisms
- G-Free