Khaos: The Impact of Inter-procedural Code Obfuscation on Binary Diffing Techniques

被引:1
|
作者
Zhang, Peihua [1 ,2 ]
Wu, Chenggang [1 ,2 ,3 ]
Peng, Mingfan [1 ,2 ]
Zeng, Kai [1 ,2 ]
Yu, Ding [1 ,2 ]
Lai, Yuanming [1 ,2 ]
Kang, Yan [1 ,2 ]
Wang, Wei [1 ]
Wang, Zhe [1 ,3 ]
机构
[1] Chinese Acad Sci, Inst Comp Technol, SKLP, Beijing, Peoples R China
[2] Univ Chinese Acad Sci, Beijing, Peoples R China
[3] Zhongguancun Lab, Beijing, Peoples R China
基金
中国国家自然科学基金;
关键词
Software Protection; Obfuscation; Binary Diffing; SIMILARITY; MALWARE; SEARCH;
D O I
10.1145/3579990.3580007
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Software obfuscation techniques can prevent binary diffing techniques from locating vulnerable code by obfuscating the third-party code, to achieve the purpose of protecting embedded device software. With the rapid development of binary diffing techniques, they can achieve more and more accurate function matching and identification by extracting the features within the function. This makes existing software obfuscation techniques, which mainly focus on the intra-procedural code obfuscation, no longer effective. In this paper, we propose a new inter-procedural code obfuscation mechanism Khaos, which moves the code across functions to obfuscate the function by using compilation optimizations. Two obfuscation primitives are proposed to separate and aggregate the function, which are called fission and fusion respectively. A prototype of Khaos is implemented based on the LLVM compiler and evaluated on a large number of real-world programs including SPEC CPU 2006 & 2017, CoreUtils, JavaScript engines, etc. Experimental results show that Khaos outperforms existing code obfuscations and can significantly reduce the accuracy rates of five state-of-the-art binary diffing techniques (less than 19%) with lower runtime overhead (less than 7%).
引用
收藏
页码:55 / 67
页数:13
相关论文
共 3 条
  • [1] Specifying Properties over Inter-procedural, Source Code Level Behaviour of Programs
    Dawes, Joshua Heneage
    Bianculli, Domenico
    RUNTIME VERIFICATION (RV 2021), 2021, 12974 : 23 - 41
  • [2] Extraction of Inter-procedural Simple Role Privilege Models from PHP Code
    Letarte, Dominic
    Merlo, Ettore
    16TH WORKING CONFERENCE ON REVERSE ENGINEERING (WCRE 2009), 2009, : 187 - 191
  • [3] Enhancing Code Obfuscation Techniques: Exploring the Impact of Artificial Intelligence on Malware Detection
    Catalano, Christian
    Specchia, Giorgia
    Totaro, Nicol O. G.
    PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT, PROFES 2023, PT II, 2024, 14484 : 80 - 88