Full Transparency in DBI frameworks

Vlad Crăciun,Andrei Mogage,Dorel Lucanu
2023-06-23
Abstract:Following the increasing trends of malicious applications or cyber threats in general, program analysis has become a ubiquitous technique in extracting relevant features. The current state-of-the-art solutions seem to fall behind new techniques. For instance, dynamic binary instrumentation (DBI) provides some promising results, but falls short when it comes to ease of use and overcoming analysis evasion. In this regard, we propose a two-fold contribution. First, we introduce COBAI (Complex Orchestrator for Binary Analysis and Instrumentation), a DBI framework designed for malware analysis, prioritizing ease-of-use and analysis transparency, without imposing a significant overhead. Second, we introduce an aggregated test suite intended to stand as a benchmark in determining the quality of an analysis solution regarding the protection against evasion mechanisms. The efficiency of our solution is validated by a careful evaluation taking into consideration other DBI frameworks, analysis environments, and the proposed benchmark.
Cryptography and Security
What problem does this paper attempt to address?
The paper aims to address the issues encountered by Dynamic Binary Instrumentation (DBI) frameworks in malware analysis, particularly those employing evasion techniques. The main issues include: 1. **Lack of Transparency**: Existing DBI frameworks are insufficient in providing a transparent environment, allowing malware to detect the analysis environment, thereby evading analysis or exhibiting abnormal behavior. 2. **Incomplete Virtualization**: There is a lack of adequate virtualization of operating system resources and application-specific resources, enabling malware to identify the analysis environment by detecting these partially virtualized resources. 3. **High Runtime Overhead**: The additional overhead generated by existing frameworks during execution can lead to a performance degradation of the analyzed application, affecting its normal behavior. To address these issues, the authors propose two main contributions: - Firstly, they introduce a new DBI framework called COBAI, which focuses on enhancing usability and analysis transparency without significantly increasing overhead. - Secondly, they develop a comprehensive test suite to evaluate the effectiveness of different analysis solutions against evasion mechanisms and serve as a benchmarking tool. Through these improvements, COBAI aims to create a more efficient and less detectable analysis environment for malware.