arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.04805cs.CRcs.AI
收藏

基于人工智能的黑盒代码去混淆:理解、改进和缓解

AI-based Blackbox Code Deobfuscation: Understand, Improve and Mitigate

CEA LIST(法国原子能与替代能源委员会列表研究所);Nomadic Labs(游牧实验室)

Grégoire Menguy, Sébastien Bardin, Richard Bonichon, Cauim de Souza Lima

摘要:

代码混淆的目的是保护嵌入到软件中的知识产权和其他秘密不被检索。最近的工作利用了人工智能的进步,希望让黑盒去混淆器完全不受标准(白盒)保护机制的影响。虽然很有前途,但这个基于人工智能的黑盒去混淆的新领域仍处于起步阶段。在本文中,我们将从三个关键方向深化基于人工智能的黑盒去混淆:了解当前的最新技术水平,对其进行改进并设计专用的保护机制。特别是,我们为基于AI的黑盒去混淆定义了一个新的通用框架,包括先前的工作和突出显示关键组件;我们是第一个指出搜索空间底层代码去混淆对于基于模拟的方法来说太不稳定的人(例如,蒙特卡罗Tres搜索在以前的工作中使用),并提倡使用强大的方法,如S元分析;我们提出了新的优化的基于AI的黑盒去混淆器Xyntia,它在成功率方面明显优于以前的工作(特别是在小时间预算的情况下),同时完全不受最新的反分析代码混淆方法的影响;最后,我们提出了两种新的保护措施,以防止基于人工智能的黑盒去混淆,从而对抗Xyntia的强大攻击。

英文摘要:

Code obfuscation aims at protecting Intellectual Property and other secrets embedded into software from being retrieved. Recent works leverage advances in artificial intelligence with the hope of getting blackbox deobfuscators completely immune to standard (whitebox) protection mechanisms. While promising, this new field of AI-based blackbox deobfuscation is still in its infancy. In this article we deepen the state of AI-based blackbox deobfuscation in three key directions: understand the current state-of-the-art, improve over it and design dedicated protection mechanisms. In particular, we define a novel generic framework for AI-based blackbox deobfuscation encompassing prior work and highlighting key components; we are the first to point out that the search space underlying code deobfuscation is too unstable for simulation-based methods (e.g., Monte Carlo Tres Search used in prior work) and advocate the use of robust methods such as S-metaheuritics; we propose the new optimized AI-based blackbox deobfuscator Xyntia which significantly outperforms prior work in terms of success rate (especially with small time budget) while being completely immune to the most recent anti-analysis code obfuscation methods; and finally we propose two novel protections against AI-based blackbox deobfuscation, allowing to counter Xyntia's powerful attacks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑