Hybrid emulation for bypassing anti-reversing techniques and analyzing malware

  • Choi, Seokwoo
  • Chang, Taejoo
  • Yoon, Sung-woo
  • Park, Yongsu
Citations

WEB OF SCIENCE

7
Citations

SCOPUS

11

초록

Malware uses a variety of anti-reverse engineering techniques, which makes its analysis difficult. Dynamic analysis tools, e.g., debuggers, DBI (Dynamic Binary Instrumentation), and CPU emulators, do not provide both accuracy and convenience when analyzing complex malware, which utilizes diverse anti-reversing techniques. Debuggers are convenient, but are easily detected by anti-debugging techniques. DBI tools are better for bypassing anti-reversing techniques than debuggers, but cannot execute complex programs correctly. Emulators are not designed for precise malware analysis. To address the problem fundamentally, we developed a new approach completely different from the previous works. We present a new dynamic analysis scheme for malware, which includes automatic detection and evasion of various anti-reversing techniques. This approach combines a CPU simulator and actual code execution, i.e., machine instructions are simulated with the CPU simulator, whereas API functions are directly executed when they are called. In this method, the CPU simulator can precisely execute code without modifying the code chunks for trampolines. Moreover, our method takes advantage of the OS functionalities, including thread management or interrupt handling. We conducted experiments on 16 widely used protectors, which show that our method outperforms conventional tools: Pin, DynamoRIO, Apate, and OllyAdvanced. Our scheme can unpack 15 protectors and bypass the anti-debugging techniques associated with them.

키워드

Dynamic analysisAnti-reverse engineeringMalwareComputer securityApplication programming interfaces (API)MalwareReverse engineeringSimulatorsAnti-reverse engineeringsAutomatic DetectionComplex programsDynamic analysis toolsDynamic binary instrumentationInterrupt handlingMachine instructionsMalware analysisProgram debugging
제목
Hybrid emulation for bypassing anti-reversing techniques and analyzing malware
저자
Choi, SeokwooChang, TaejooYoon, Sung-wooPark, Yongsu
DOI
10.1007/s11227-020-03270-6
발행일
2021-01
유형
Article
저널명
Journal of Supercomputing
77
1
페이지
471 ~ 497