RevEngE is a dish served cold: Debug-Oriented Malware Decompilation and Reassembly


연구 분야: Safety



학회: ROOTS'19: Proceedings of the 3rd Reversing and Offensive-oriented Trends Symposium


초록

Malware analysis is key for cybersecurity overall improvement. Analysis tools have been evolving from complete static analyzers to decompilers. Malware decompilation allows for code inspection at higher abstraction levels, easing incident response. However, the decompilation procedure has many challenges, such as opaque constructions, irreversible mappings, semantic gap bridging, among others. In this paper, we propose a new approach that leverages the human analyst expertise to overcome decompilation challenges. We name this approach "DoD---debug-oriented decompilation", in which the analyst is able to reverse engineer the malware sample on his own and to instruct the decompiler to translate selected code portions (e.g., decision branches, fingerprinting functions, payloads etc.) into high level code. With DoD, the analyst might group all decompiled pieces into new code to be analyzed by other tool, or to develop a novel malware sample from previous pieces of code and thus exercise a Proof-of-Concept (PoC). To validate our approach, we propose RevEngE, the Reverse Engineering Engine for malware decompilation and reassembly, a set of GDB extensions that intercept and introspect into executed functions to build an Intermediate Representation (IR) in real-time, enabling any-time decompilation. We evaluate RevEngE with x86 ELF binaries collected from VirusShare, and show that a new malware sample created from the decompilation of independent functions of five known malware samples is considered "clean" by all VirusTotal's AVs.


Author Profile
Marcus Botacin

Federal University of Paraná (UFPR-Brazil)

Brazil
Author Profile
Lucas Galante

University of Campinas (UNICAMP-Brazil)

Brazil
Author Profile
Paulo Lício de Geus

University of Campinas (UNICAMP-Brazil)

Brazil

📄 논문 정보

발행 연도 2020년
인용수 7
출판 국가 Brazil
사이트 ACM
좋아요 수 0

연관 논문 목록 (312건)