arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2010.07754cs.CRcs.LG
收藏

EnCoD:区分压缩和加密的文件片段

EnCoD: Distinguishing Compressed and Encrypted File Fragments

Sapienza Università di Roma(罗马第一大学);Worcester Polytechnic Institute(伍斯特理工学院)

Fabio De Gaspari, Dorjan Hitaj, Giulio Pagnotta, Lorenzo De Carli, Luigi V. Mancini

摘要:

可靠地识别加密文件片段是多种安全应用的要求,包括勒索软件检测、数字取证和流量分析。一种流行的方法包括估计高熵作为随机性的代理。然而,许多现代内容类型(例如,办公文档、媒体文件等)为了存储和传输效率而被高度压缩。压缩算法还输出高熵数据,从而降低了基于熵的加密检测器的准确性。多年来,已经提出了各种方法来区分加密的文件片段和高熵压缩的片段。然而,这些方法通常仅在几个选择的数据类型和片段大小上进行评估,这使得不可能对其实际适用性进行公平评估。本文旨在通过对大型标准化数据集的现有统计测试进行比较来缩小这一差距。我们的研究结果表明,目前的方法不能可靠地区分加密和压缩,即使是大的片段大小。为了解决这个问题,我们设计了EnCoD,这是一种基于学习的分类器,可以可靠地区分压缩和加密数据,从小到512字节的片段开始。我们评估EnCoD对当前的方法在不同的数据类型的大数据集,显示它优于目前的最先进的最考虑的片段大小和数据类型。

英文摘要:

Reliable identification of encrypted file fragments is a requirement for several security applications, including ransomware detection, digital forensics, and traffic analysis. A popular approach consists of estimating high entropy as a proxy for randomness. However, many modern content types (e.g. office documents, media files, etc.) are highly compressed for storage and transmission efficiency. Compression algorithms also output high-entropy data, thus reducing the accuracy of entropy-based encryption detectors. Over the years, a variety of approaches have been proposed to distinguish encrypted file fragments from high-entropy compressed fragments. However, these approaches are typically only evaluated over a few, select data types and fragment sizes, which makes a fair assessment of their practical applicability impossible. This paper aims to close this gap by comparing existing statistical tests on a large, standardized dataset. Our results show that current approaches cannot reliably tell apart encryption and compression, even for large fragment sizes. To address this issue, we design EnCoD, a learning-based classifier which can reliably distinguish compressed and encrypted data, starting with fragments as small as 512 bytes. We evaluate EnCoD against current approaches over a large dataset of different data types, showing that it outperforms current state-of-the-art for most considered fragment sizes and data types.

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

↑