The Center for Education and Research in Information Assurance and Security (CERIAS)

The Center for Education and Research in
Information Assurance and Security (CERIAS)

BISTRO: Binary Component Extraction and Embedding for Software Security Applications

Download

Download PDF Document
PDF

Author

Zhui Deng, Xiangyu Zhang, Dongyan Xu

Tech report number

CERIAS TR 2013-3

Entry type

techreport

Abstract

In software security and malware analysis, researchers often need to directly manipulate binary program -- benign or malicious -- without source code. A useful pair of binary manipulation primitives are binary functional component extraction and embedding, for extracting a functional component from a binary program and for embedding a functional component in a binary program, respectively. Such primitives are applicable to a wide range of security scenarios such as legacy program hardening, binary semantic patching, and malware function analysis. Unfortunately, existing binary rewriting techniques are inadequate to support binary function carving and embedding. In this paper, we present BISTRO, a system that supports these primitives without symbolic information, relocation information, or compiler support. BISTRO preserves functional correctness of both the extracted functional component and the stretched binary program (with the component embedded) by properly patching them using -- interestingly -- the same technique and algorithm. We have implemented an IDA Pro-based prototype of BISTRO and evaluated it using real-world Windows software. Our results show that BISTRO performs these primitives efficiently; Each stretched binary program only incurs small time and space overhead. Furthermore, we demonstrate BISTRO's capabilities in various security applications.

Download

PDF

Date

2013 – 6 – 17

Key alpha

Deng

Publication Date

2013-06-17

BibTex-formatted data

To refer to this entry, you may select and copy the text below and paste it into your BibTex document. Note that the text may not contain all macros that BibTex supports.