arrow
返回

Dynamic malware detection based on supervised contrastive learning

基于监督对比学习的动态恶意软件检测

delete2025-04-01
delete0
PRE
AI
S
Shumian Yang
Y
Yongqi Yang
D
Dawei Zhao *
L
Lijuan Xu
X
Xin Li
F
Fuqiang Yu
J
Jiarui Hu
DOI:10.1016/j.compeleceng.2025.110108delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Application Programming Interface (API) calls record interactions between a program and the operating system or other programs during runtime. Due to this precise tracking capability, API call information is extensively utilized in malware detection. However, most approaches only focus on the API names or simply combine them with API parameters, leading to insufficient semantic information extraction. Additionally, with the continuous development of network technology, the behavioral feature differences between malware and benign software are gradually blurring, which makes it difficult to detect hard samples (e.g., well-disguised or atypical malware) in static analysis or simple behavioral patterns. Therefore, in this paper, we propose DMASCL, a framework that utilizes Dynamic Malware Analysis based on API calls and Supervised Contrastive Learning techniques, which encodes semantic as well as statistical features in each sample, dynamically compares samples from different categories, learns inter- sample differences and performs classification. In particular, we combine API names with API parameters to construct API sentences containing rich semantic information, and propose a hybrid feature encoder for obtaining the semantics and statistical features of API parameters. We then apply supervised contrastive learning techniques for further feature learning, utilizing Gaussian noise to construct contrast tasks. The model is optimized by combining cross- entropy loss for classification with supervised contrastive loss to reinforce relationships between samples, thus enhancing the model's ability to recognize malicious behavior. Our method achieves a 98.42% F1-score and a 98.03% recall in Dataset 1. It achieves a 99.59% F1-score and a 98.86% recall in Dataset 2. The experimental results show an increase in accuracy of 1.05% and 2.27%, respectively, compared to the state-of-the-art method.
Keyword:
Malware detection
Dynamic analysis
Supervised contrastive learning
API call
Deep learning
err分享
err收藏
Self-Supervised Vision Transformers for Malware Detection用于恶意软件检测的自监督视觉转换器
err2022-01-01
err22
errOAAI
errSeneviratne, Sachith; Shariffdeen, Ridwan; Rasnayaka, Sanka; Kasthuriarachchi, Nuran
err分享
err收藏

期刊

C
Computers and Electrical Engineering
IF:
4.9
论文数:
6.7K
被引数:
1.7W

机构

齐鲁工业大学 封面图
齐鲁工业大学
学者数:
1.4K
论文数: 406
被引数: 7.3K
引用论文

引用论文

Malware Dynamic Analysis Evasion Techniques: A Survey恶意软件动态分析规避技术综述
err2019-11-14
err90
PREAI
errAfianian, Amir; Niksefat, Salman; Sadeghiyan, Babak; Baptiste, David
err分享
err收藏
Malware detection for mobile computing using secure and privacy-preserving machine learning approaches: A comprehensive survey
err2024-07-01
err10
errOAAI
errNawshin, Faria; Gad, Radwa; Unal, Devrim; -Ali, Abdulla Khalid Al; Suganthan, Ponnuthurai N.
err分享
err收藏
学者 查看更多内容