Software obfuscation techniques make code more difficult to understand, without changing its functionality. Such techniques are often used by authors of malicious software to avoid detection. Reverse Engineering of obfuscated code, i.e., the process of overcoming obfuscation and answering questions about the functionality of the code, is notoriously difficult; and while various tools and methods exist for this purpose, the process remains complex and slow, especially when dealing with layered or customized obfuscation techniques. Here, we present a novel, automated tool for addressing some of the challenges in reverse engineering of obfuscated code. Our tool, called ReSMT, converts the obfuscated assembly code into a complex system of logical assertions that represent the code functionality, and then applies SMT solving and simulation tools to inspect the obfuscated code's execution. The approach is mostly automatic, alleviating the need for highly specialized deobfuscation skills. In an elaborate case study that we conducted, ReSMT successfully tackled complex obfuscated code, and was able to solve reverse-engineering queries about it. We believe that these results showcase the potential and usefulness of our proposed approach.


翻译:软件混淆技术在不改变代码功能的前提下,使其更难以理解。此类技术常被恶意软件作者用于规避检测。对混淆代码进行逆向工程——即克服混淆并回答关于代码功能问题的过程——众所周知是极其困难的;尽管存在多种用于此目的的工具与方法,该过程依然复杂且缓慢,尤其是在处理分层或定制化的混淆技术时。本文提出一种新颖的自动化工具,以应对混淆代码逆向工程中的部分挑战。我们的工具名为ReSMT,它将混淆后的汇编代码转换为表示代码功能的复杂逻辑断言系统,随后应用SMT求解与仿真工具来检查混淆代码的执行过程。该方法基本实现了自动化,降低了对高度专业化反混淆技能的依赖。在我们开展的一项详细案例研究中,ReSMT成功处理了复杂的混淆代码,并能够解答针对该代码的逆向工程查询。我们相信这些结果展示了所提方法的潜力与实用性。

0
下载
关闭预览

相关内容

代码(Code)是专知网的一个重要知识资料文档板块,旨在整理收录论文源代码、复现代码,经典工程代码等,便于用户查阅下载使用。
【CVPR2025】基于组合表示移植的图像编辑方法
专知会员服务
8+阅读 · 4月5日
【CVPR2025】CoLLM:面向组合图像检索的大语言模型
国家自然科学基金
17+阅读 · 2017年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
VIP会员
相关基金
国家自然科学基金
17+阅读 · 2017年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
Top
微信扫码咨询专知VIP会员