Using Hardware Features for Increased Debugging Transparency
Authors:
- Fengwei ZhangFZFengwei Zhang
- Kevin LeachKLKevin Leach
- Angelos StavrouASAngelos Stavrou
- Haining WangHWHaining Wang
- Kun SunKSKun Sun
- 1 May 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10816011,p. 55-69
Abstract
With the rapid proliferation of malware attacks on the Internet, understanding these malicious behaviors plays a critical role in crafting effective defense. Advanced malware analysis relies on virtualization or emulation technology to run samples in a confined environment, and to analyze malicious activities by instrumenting code execution. However, virtual machines and emulators inevitably create artifacts in the execution environment, making these approaches vulnerable to detection or subversion. In this paper, we present MALT, a debugging framework that employs System Management Mode, a CPU mode in the x86 architecture, to transparently study armored malware. MALT does not depend on virtualization or emulation and thus is immune to threats targeting such environments. Our approach reduces the attack surface at the software level, and advances state-of-the-art debugging transparency. MALT embodies various debugging functions, including register/memory accesses, breakpoints, and four stepping modes. We implemented a prototype of MALT on two physical machines, and we conducted experiments by testing an array of existing anti-virtualization, anti-emulation, and packing techniques against MALT. The experimental results show that our prototype remains transparent and undetected against the samples. Furthermore, our prototype of MALT introduces moderate but manageable overheads on both Windows and Linux platforms.Keywords
This publication has 20 references indexed in Scilit:
- SoK: Introspections on Trust and the Semantic Gap2014
- HyperCheck: A Hardware-AssistedIntegrity MonitorIEEE Transactions on Dependable and Secure Computing, 2013
- SPIDER2013
- Security implications of memory deduplication in a virtualized environment2013
- SPECTRE: A dependable introspection framework via System Management Mode2013
- When hardware meets software2012
- Transparent dynamic instrumentation2012
- SICE2011
- Detecting System Emulators2007
- Stealth Breakpoints2006