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

CodeTrolley:硬件辅助控制流混淆

CodeTrolley: Hardware-Assisted Control Flow Obfuscation

Novak Boskov, Mihailo Isakov, Michel A. Kinsy

摘要:

许多网络安全攻击依赖于分析二进制可执行文件来找到可利用的代码部分。代码混淆用于防止攻击者对这些可执行文件进行逆向工程。在这项工作中,我们专注于控制流混淆-一种技术,防止攻击者静态地确定哪些代码段是原始的,哪些段是为了迷惑攻击者而添加的。我们提出了一种基于RISC-V的硬件辅助去混淆技术,该技术基于安全存储在硬件中的秘密在运行时对代码进行去混淆,以及用于混淆二进制文件的LLVM编译器扩展。与传统工具不同,我们的工作不依赖于编译难以进行逆向工程的代码,而是依赖于确保秘密密钥的安全。因此,它可以被视为动态二进制解密的轻量级替代方案。

英文摘要:

Many cybersecurity attacks rely on analyzing a binary executable to find exploitable sections of code. Code obfuscation is used to prevent attackers from reverse engineering these executables. In this work, we focus on control flow obfuscation - a technique that prevents attackers from statically determining which code segments are original, and which segments are added in to confuse attackers. We propose a RISC-V-based hardware-assisted deobfuscation technique that deobfuscates code at runtime based on a secret safely stored in hardware, along with an LLVM compiler extension for obfuscating binaries. Unlike conventional tools, our work does not rely on compiling hard-to-reverse-engineer code, but on securing a secret key. As such, it can be seen as a lightweight alternative to on-the-fly binary decryption.

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

↑