VirtSC:将虚拟化混淆与自校验和相结合
VirtSC: Combining Virtualization Obfuscation with Self-Checksumming
摘要:
自校验和(SC)是一种防篡改技术,可确保内存中的某些程序段(代码)在运行时散列为已知值。SC对应用的限制很少,因此可以保护绝大多数程序。SC中的代码验证需要在编译后计算预期的散列,因为机器码之前是未知的。这意味着预期的哈希值需要在二进制可执行文件中进行调整,因此由于此调整步骤,将SC与其他保护相结合是有限的。然而,混淆保护通常是必要的,因为SC保护可以通过模式匹配被容易地检测和禁用。在本文中,我们提出了一个分层的保护,使用虚拟化混淆,产生一个架构不可知的SC保护,不需要编译后调整。我们使用25个真实世界的程序(MiBench和3个CLI游戏)的数据集来评估我们的方案的性能。我们的研究结果表明,SC计划引起的平均开销为43%的完整的保护(100%的覆盖率)。对于CPU密集度较低的程序(例如游戏)以及仅保护部分程序(例如许可证检查)时,开销是可以容忍的。然而,遇到了来自虚拟化混淆的大量开销。
英文摘要:
Self-checksumming (SC) is a tamper-proofing technique that ensures certain program segments (code) in memory hash to known values at runtime. SC has few restrictions on application and hence can protect a vast majority of programs. The code verification in SC requires computation of the expected hashes after compilation, as the machine-code is not known before. This means the expected hash values need to be adjusted in the binary executable, hence combining SC with other protections is limited due to this adjustment step. However, obfuscation protections are often necessary, as SC protections can be otherwise easily detected and disabled via pattern matching. In this paper, we present a layered protection using virtualization obfuscation, yielding an architecture-agnostic SC protection that requires no post-compilation adjustment. We evaluate the performance of our scheme using a dataset of 25 real-world programs (MiBench and 3 CLI games). Our results show that the SC scheme induces an average overhead of 43% for a complete protection (100% coverage). The overhead is tolerable for less CPU-intensive programs (e.g. games) and when only parts of programs (e.g. license checking) are protected. However, large overheads stemming from the virtualization obfuscation were encountered.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。