arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.08913cs.CR
收藏

技术报告:强化代码混淆以抵御自动化攻击

Technical Report: Hardening Code Obfuscation Against Automated Attacks

Moritz Schloegel, Tim Blazytko, Moritz Contag, Cornelius Aschermann, Julius Basler, Thorsten Holz, Ali Abbasi

摘要:

软件混淆是保护知识产权和管理数字版权的关键技术。尽管其巨大的实际重要性,商业和学术最先进的混淆方法都容易受到过多的自动化去混淆攻击,如符号执行,污点分析,或程序合成。虽然最近提出了几种增强的混淆技术来阻止污点分析或符号执行,但它们要么强加了禁止性的运行时开销,要么可以以自动化的方式被移除(例如,通过编译器优化)。一般而言,这些技术的缺点在于集中于单个攻击向量,从而允许攻击者切换到其他更有效的技术,诸如程序合成。在这项工作中,我们提出了Loki,一种软件混淆的方法,可以抵御所有已知的自动去混淆攻击。为此,我们使用并有效地结合多种技术,包括一个通用的方法来合成正式验证表达式的任意复杂性。与依赖于一些硬编码生成规则的最先进方法相反,我们的表达式更加多样化,更难进行模式匹配。即使是最新的混合布尔算术(MBA)去混淆研究也未能简化它们。此外,Loki还可以防止以前未考虑的攻击向量,例如程序合成,它将成功率降低到只有19%。在一个全面的评估,我们表明,我们的设计产生的开销显着减少,同时提供了更强的保护水平相比,现有的作品。

英文摘要:

Software obfuscation is a crucial technology to protect intellectual property and manage digital rights within our society. Despite its huge practical importance, both commercial and academic state-of-the-art obfuscation methods are vulnerable to a plethora of automated deobfuscation attacks, such as symbolic execution, taint analysis, or program synthesis. While several enhanced obfuscation techniques were recently proposed to thwart taint analysis or symbolic execution, they either impose a prohibitive runtime overhead or can be removed in an automated way (e.g., via compiler optimizations). In general, these techniques suffer from focusing on a single attack vector, allowing an attacker to switch to other, more effective techniques, such as program synthesis. In this work, we present Loki, an approach for software obfuscation that is resilient against all known automated deobfuscation attacks. To this end, we use and efficiently combine multiple techniques, including a generic approach to synthesize formally verified expressions of arbitrary complexity. Contrary to state-of-the-art approaches that rely on a few hardcoded generation rules, our expressions are more diverse and harder to pattern match against. Even the most recent state-of-the-art research on Mixed-Boolean Arithmetic (MBA) deobfuscation fails to simplify them. Moreover, Loki protects against previously unaccounted attack vectors such as program synthesis, for which it reduces the success rate to merely 19%. In a comprehensive evaluation, we show that our design incurs significantly less overhead while providing a much stronger protection level compared to existing works.

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

↑