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

密码学在恶意软件混淆中的应用

Use of Cryptography in Malware Obfuscation

Hassan Jameel Asghar, Benjamin Zi Hao Zhao, Muhammad Ikram, Giang Nguyen, Dali Kaafar, Sean Lamont, Daniel Coscia

AI总结:

本文研究了密码学在恶意软件混淆中的应用,提出了恶意软件混淆的原则性定义并对其进行分类,发现难以去混淆的方案必然依赖环境密钥构造。

摘要:

恶意软件作者常使用XOR加密和AES等分组密码等密码学工具来混淆部分恶意软件以逃避检测。密码学的使用可能会给人留下这些混淆技术具有某种可证明的成功保证的印象。在本文中,我们深入探讨了用于混淆恶意软件的密码学工具。我们首先发现,大多数技术(原则上)很容易被破解,因为解密算法和密钥都随程序一起分发。为了明确定义混淆技术逃避检测的潜力,我们提出了恶意软件混淆的原则性定义,然后将使用密码学工具的恶意软件混淆实例分为逃避检测的和可检测的两类。我们发现,难以去混淆的方案必然依赖于基于环境密钥(environmental keying)的构造。我们还表明,密码学中的混淆概念(例如不可区分性和虚拟黑盒混淆)在我们的模型下并不能保证逃避检测。然而,它们可以与环境密钥结合使用,以生成难以去混淆的程序版本。

英文摘要:

Malware authors often use cryptographic tools such as XOR encryption and block ciphers like AES to obfuscate part of the malware to evade detection. Use of cryptography may give the impression that these obfuscation techniques have some provable guarantees of success. In this paper, we take a closer look at the use of cryptographic tools to obfuscate malware. We first find that most techniques are easy to defeat (in principle), since the decryption algorithm and the key is shipped within the program. In order to clearly define an obfuscation technique's potential to evade detection we propose a principled definition of malware obfuscation, and then categorize instances of malware obfuscation that use cryptographic tools into those which evade detection and those which are detectable. We find that schemes that are hard to de-obfuscate necessarily rely on a construct based on environmental keying. We also show that cryptographic notions of obfuscation, e.g., indistinghuishability and virtual black box obfuscation, may not guarantee evasion detection under our model. However, they can be used in conjunction with environmental keying to produce hard to de-obfuscate version of programs.

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

↑