Posing New Challenges to Function Entry Identification Through Fine-Grained CFI Obfuscation

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 made the detection of function entries of popular disassemblers more difficult. Furthermore, on average, ocfi incurs a size overhead of only 5% and nearly zero runtime overhead.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Software Engineering and Methodology
Published
2025-10-03
DOI
https://doi.org/10.1145/3770582
Primary Topic
Security and Verification in Computing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Posing New Challenges to Function Entry Identification Through Fine-Grained CFI Obfuscation

T. Zhang, Chengbin Pang, Linzhang Wang, Bing Mao et al.
ACM Transactions on Software Engineering and Methodology
Security and Verification in Computing
article

Posing New Challenges to Function Entry Identification Through Fine-Grained CFI Obfuscation

T. Zhang, Chengbin Pang, Linzhang Wang, Bing Mao, Fei Peng
article en

Abstract

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 made the detection of function entries of popular disassemblers more difficult. Furthermore, on average, ocfi incurs a size overhead of only 5% and nearly zero runtime overhead.

ACM Transactions on Software Engineering and Methodology
Pro Persona (NL), Nanjing University (CN)
Openalex Percentile: Top 86%
Security and Verification in Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Posing New Challenges to Function Entry Identification Through Fine-Grained CFI Obfuscation — T. Zhang, Chengbin Pang, et al. · ACM Transactions on Software Engineering and Methodology (2025) | TGRS Research Map | TGRS