将Windows恶意软件运行时调用转换为灰度图,用CNN实现98.36%准确率分类
Dynamic Malware Classification of Windows PE Files using CNNs and Greyscale Images Derived from Runtime API Call Argument Conversion
- 从运行时API参数生成时间序列,转为灰度图像增强特征表达
- 在真实样本上达到98.36%平均准确率,对常见规避策略有强鲁棒性
- 适合需要高精度动态检测的网络安全研究人员与工业防护团队
恶意软件检测与分类仍是网络安全的重要课题,因攻击者常使用高级混淆技术逃避检测。传统静态分析难以应对多态和变种恶意软件,因其外观变化但行为不变,仅靠代码结构无法识别。因此需采用动态检测,在运行时监控恶意软件行为。本文提出一种基于动态分析的恶意软件分类框架,通过提取Windows可执行文件(PE)运行时的API调用参数,编码API名称、返回值及其他相关特征,生成时间模式。为增强特征表现力,将生成的模式使用magma色图转换为灰度图像。这些图像用于训练卷积神经网络(CNN),学习判别性特征,从而实现可靠且精确的恶意软件分类。实验结果表明,该方法平均准确率达98.36%,能有效区分各类恶意软件及良性程序,不仅精度高,且对典型逃逸策略表现出显著鲁棒性。
原文摘要 · Abstract (English)
Malware detection and classification remains a topic of concern for cybersecurity, since it is becoming common for attackers to use advanced obfuscation on their malware to stay undetected. Conventional static analysis is not effective against polymorphic and metamorphic malware as these change their appearance without modifying their behavior, thus defying the analysis by code structure alone. This makes it important to use dynamic detection that monitors malware behavior at runtime. In this paper, we present a dynamic malware categorization framework that extracts API argument calls at the runtime execution of Windows Portable Executable (PE) files. Extracting and encoding the dynamic features of API names, argument return values, and other relative features, we convert raw behavioral data to temporal patterns. To enhance feature portrayal, the generated patterns are subsequently converted into grayscale pictures using a magma colormap. These improved photos are used to teach a Convolutional Neural Network (CNN) model discriminative features, which allows for reliable and accurate malware classification. Results from experiments indicate that our method, with an average accuracy of 98.36% is effective in classifying different classes of malware and benign by integrating dynamic analysis and deep learning. It not only achieves high classification accuracy but also demonstrates significant resilience against typical evasion strategies.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。