arXiv:2512.17594cs.CRcs.AI2025-12

用聚类与统计边界检测未知恶意软件,提升识别准确率。

MAD-OOD: A Deep Learning Cluster-Driven Framework for an Out-of-Distribution Malware Detection and Classification

  • 先用球形决策边界聚类家族特征,再通过距离分析找异常
  • 在25个已知家族和新变种上,对未知样本AUC达0.911
  • 无需训练时使用未知样本,适合实时防御场景

由于多态和变异型恶意软件带来的家族内巨大差异,分布外(OOD)检测仍是恶意软件分类的关键挑战。现有深度学习检测器多依赖封闭世界假设,难以建模类内变化,面对未知家族时性能显著下降。本文提出MAD-OOD,一种两阶段、基于聚类的深度学习框架,实现鲁棒的OOD恶意软件检测与分类。第一阶段利用高斯判别分析(GDA)构建类条件球形决策边界,基于统计学原理分离分布内与分布外样本,无需训练时引入OOD数据;通过多类中心的Z分数距离分析,在隐空间可靠识别异常样本。第二阶段,深度神经网络融合聚类预测、优化嵌入与有监督分类结果,提升最终分类精度。在包含25个已知家族及多个新型分布外变种的基准数据集上,MAD-OOD显著优于当前最优方法,对未见家族的AUC最高达0.911。该框架为动态演进的网络安全环境提供了可扩展、可解释且统计严谨的恶意软件检测与异常识别方案。

原文摘要 · Abstract (English)

Out of distribution (OOD) detection remains a critical challenge in malware classification due to the substantial intra family variability introduced by polymorphic and metamorphic malware variants. Most existing deep learning based malware detectors rely on closed world assumptions and fail to adequately model this intra class variation, resulting in degraded performance when confronted with previously unseen malware families. This paper presents MADOOD, a novel two stage, cluster driven deep learning framework for robust OOD malware detection and classification. In the first stage, malware family embeddings are modeled using class conditional spherical decision boundaries derived from Gaussian Discriminant Analysis (GDA), enabling statistically grounded separation of indistribution and OOD samples without requiring OOD data during training. Z score based distance analysis across multiple class centroids is employed to reliably identify anomalous samples in the latent space. In the second stage, a deep neural network integrates cluster based predictions, refined embeddings, and supervised classifier outputs to enhance final classification accuracy. Extensive evaluations on benchmark malware datasets comprising 25 known families and multiple novel OOD variants demonstrate that MADOOD significantly outperforms state of the art OOD detection methods, achieving an AUC of up to 0.911 on unseen malware families. The proposed framework provides a scalable, interpretable, and statistically principled solution for real world malware detection and anomaly identification in evolving cybersecurity environments.

恶意软件检测OOD检测聚类分析深度学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。