There is a newer version of the record available.

Published July 17, 2023 | Version v2
Dataset Open

OCFI: Make Function Entry Identification Hard Again

  • 1. Nanjing University

Description

Function entry identification is a crucial yet challenging task for binary disassemblers that has been the focus of research in the past decades. However, recent researches show that call frame information (CFI) provides accurate and almost complete function entries. With the aid of CFI, disassemblers have significant improvements in function entry detection. CFI is specifically designed for efficient stack unwinding, and every function has corresponding CFI in x64 and aarch64 architectures. Nevertheless, not every function and instruction unwinds the stack at runtime, and this observation has led to the development of techniques such as obfuscation to complicate function detection by disassemblers.

We propose a prototype of OCFI to obfuscate CFI based on this observation. The goal of OCFI is to obstruct function detection of popular disassemblers that use CFI as a way to detect function entries. We evaluated OCFI on a large-scale dataset that includes real-world applications and automated generation programs, and found that the obfuscated CFI was able to correctly unwind the stack and make the detection of function entries of popular disassemblers more difficult. Furthermore, on average, OCFI incurs a size overhead of only 4% and nearly zero runtime overhead.

Files

Files (30.5 GB)

Name Size Download all
md5:ec009dc0e65fc8f46a033811c9a48de9
4.2 GB Download
md5:d1db6932a0326586244b718947256e08
4.2 GB Download
md5:038384a0a2533c3e53c2c1fd2b016085
4.2 GB Download
md5:1549424a999b1133eff2d147a96da559
4.2 GB Download
md5:acfaae4b6eed6e7acb9d0d342abe8736
4.2 GB Download
md5:ab67009264968d51863d4678e3283da1
4.2 GB Download
md5:5679ce497990ec53303cc83b3e4705a6
1.2 GB Download
md5:3f070a41a6f38b2d2c5c48a8451cc781
134.2 MB Download
md5:5f3ba583192c72e3e204277444d74fde
4.0 GB Download