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

用于勒索软件加密文件识别的熵计算方法比较

Comparison of Entropy Calculation Methods for Ransomware Encrypted File Identification

Simon R Davies, Richard Macfarlane, William J. Buchanan

摘要:

勒索软件是一类恶意软件,利用加密对系统可用性实施攻击。目标的数据仍然是加密的,并由攻击者控制,直到满足赎金要求。许多加密勒索软件检测技术使用的常见方法是监视文件系统活动并尝试识别写入磁盘的加密文件,通常使用文件的熵作为加密指示符。然而,通常在这些技术的描述中,很少或没有讨论为什么选择特定的熵计算技术,或者给出为什么选择一种技术而不是替代技术的任何理由。熵计算的香农方法是加密勒索软件检测技术中文件加密识别最常用的技术。总的来说,正确加密的数据应该与随机数据无法区分,因此除了标准的数学熵计算(如卡方、香农熵和串行相关性)之外,用于验证伪随机数生成器输出的测试套件也适用于执行此分析。假设不同熵方法之间存在根本差异,并且最佳方法可用于更好地检测勒索软件加密文件。本文比较了53种不同测试在区分加密数据和其他文件类型方面的准确性。测试分为两个阶段,第一阶段用于识别潜在的候选测试,第二阶段对这些候选测试进行全面评估。为了确保测试足够稳健,使用NapierOne数据集。该数据集包含数千个最常用文件类型的示例,以及已被加密勒索软件加密的文件示例。

英文摘要:

Ransomware is a malicious class of software that utilises encryption to implement an attack on system availability. The target's data remains encrypted and is held captive by the attacker until a ransom demand is met. A common approach used by many crypto-ransomware detection techniques is to monitor file system activity and attempt to identify encrypted files being written to disk, often using a file's entropy as an indicator of encryption. However, often in the description of these techniques, little or no discussion is made as to why a particular entropy calculation technique is selected or any justification given as to why one technique is selected over the alternatives. The Shannon method of entropy calculation is the most commonly-used technique when it comes to file encryption identification in crypto-ransomware detection techniques. Overall, correctly encrypted data should be indistinguishable from random data, so apart from the standard mathematical entropy calculations such as Chi-Square, Shannon Entropy and Serial Correlation, the test suites used to validate the output from pseudo-random number generators would also be suited to perform this analysis. he hypothesis being that there is a fundamental difference between different entropy methods and that the best methods may be used to better detect ransomware encrypted files. The paper compares the accuracy of 53 distinct tests in being able to differentiate between encrypted data and other file types. The testing is broken down into two phases, the first phase is used to identify potential candidate tests, and a second phase where these candidates are thoroughly evaluated. To ensure that the tests were sufficiently robust, the NapierOne dataset is used. This dataset contains thousands of examples of the most commonly used file types, as well as examples of files that have been encrypted by crypto-ransomware.

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

↑