arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1607.04950cs.CRstat.AP
收藏

软件熵的小波分解揭示恶意代码的征兆

Wavelet decomposition of software entropy reveals symptoms of malicious code

Michael Wojnowicz, Glenn Chisholm, Matt Wolff, Xuan Zhao

摘要:

复杂的恶意软件作者可以将隐藏的恶意代码潜入可移植的可执行文件中,并且这些代码很难被检测到,特别是如果加密或压缩。然而,当可执行文件在代码体系(例如,原生、加密、压缩、文本和填充)之间切换时,在文件的表示中存在作为熵信号的对应移位。在本文中,我们开发了一种方法,用于自动量化文件熵信号中的模式化变化使其“可疑”的程度。“在实验1中,我们使用小波变换来定义可疑结构熵变化分数(SSECS),这是一种标量特征,它根据文件在多个空间分辨率水平上的熵能分布来量化文件的可疑性。基于这一单一特征,可以将恶意软件检测任务的预测准确率从50.0%提高到68.7%,即使该单一特征被应用于“在野外”发现的恶意软件的异构语料库。在实验2中,我们描述了如何将基于小波的软件熵分解应用于涉及大量样本和特征的寄生恶意软件检测任务。通过从软件样本中提取字符串和熵特征(小波分解),我们能够获得几乎99%的寄生恶意软件检测,而好文件的误报率低于1%。此外,基于小波的特征的添加均匀地提高了跨合理假阳性率的检测性能,无论是在仅字符串模型(例如,从80.90%到82.97%)和弦加熵模型(例如从92.10%到94.74%,以及从98.63%到98.90%)。总的来说,软件熵的小波分解可以用于机器学习模型,用于基于从可执行文件中提取数百万个特征来检测恶意软件。

英文摘要:

Sophisticated malware authors can sneak hidden malicious code into portable executable files, and this code can be hard to detect, especially if encrypted or compressed. However, when an executable file switches between code regimes (e.g. native, encrypted, compressed, text, and padding), there are corresponding shifts in the file's representation as an entropy signal. In this paper, we develop a method for automatically quantifying the extent to which patterned variations in a file's entropy signal make it "suspicious." In Experiment 1, we use wavelet transforms to define a Suspiciously Structured Entropic Change Score (SSECS), a scalar feature that quantifies the suspiciousness of a file based on its distribution of entropic energy across multiple levels of spatial resolution. Based on this single feature, it was possible to raise predictive accuracy on a malware detection task from 50.0% to 68.7%, even though the single feature was applied to a heterogeneous corpus of malware discovered "in the wild." In Experiment 2, we describe how wavelet-based decompositions of software entropy can be applied to a parasitic malware detection task involving large numbers of samples and features. By extracting only string and entropy features (with wavelet decompositions) from software samples, we are able to obtain almost 99% detection of parasitic malware with fewer than 1% false positives on good files. Moreover, the addition of wavelet-based features uniformly improved detection performance across plausible false positive rates, both in a strings-only model (e.g., from 80.90% to 82.97%) and a strings-plus-entropy model (e.g. from 92.10% to 94.74%, and from 98.63% to 98.90%). Overall, wavelet decomposition of software entropy can be useful for machine learning models for detecting malware based on extracting millions of features from executable files.

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

↑