Detecting Malicious .NET Executables Using Extracted Methods Names
Hamdan Thabit, Rami Ahmad, Ahmad Abdullah et al. · AI · 2025
The .NET framework is widely used for software development, making it a target for a significant number of malware attacks by developing malicious executables. Previous studies on malware detection often relied on developing generic detection methods for Windows malware that were not tailored to the unique characteristics of .NET executables. As a result, there remains a significant knowledge gap regarding the development of effective detection methods tailored to .NET malware. This work introduces a novel framework for detecting malicious .NET executables using statically extracted method names. To address the lack of datasets focused exclusively on .NET malware, a new dataset consisting of both malicious and benign .NET executable features was created. Our approach involves decompiling .NET executables, parsing the resulting code, and extracting standard .NET method names. Subsequently, feature selection techniques were applied to filter out less relevant method names. The performance of six machine learning models—XGBoost, random forest, K-nearest neighbor (KNN), support vector machine (SVM), logistic regression, and naïve Bayes—was compared. The results indicate that XGBoost outperforms the other models, achieving an accuracy of 96.16% and an F1-score of 96.15%. The experimental results show that standard .NET method names are reliable features for detecting .NET malware.
Cited by 5 works. doi:10.3390/ai6020020 Open-access PDF
Authors
References
- A survey of emerging threats in cybersecurity
- A state-of-the-art survey of malware detection approaches using data mining techniques
- Dynamic Malware Analysis in the Modern Era—A State of the Art Survey
- Fault Detection in Wireless Sensor Networks Through SVM Classifier
- A comprehensive survey on deep learning based malware detection techniques
- Behavior-based features model for malware detection
- Malware detection using assembly and API call sequences
- A dynamic Windows malware detection and prediction method based on contextual understanding of API call sequence
- Deep learning based Sequential model for malware analysis using Windows exe API Calls
- An Enhanced Intrusion Detection Model Based on Improved kNN in WSNs