Abstract
Malware remains a persistent threat to global digital infrastructure. This research presents a robust static malware detection system designed for the Windows environment, capable of classifying Portable Executable (PE) files with high precision. By extracting four distinct feature sets—imported DLLs, API functions, PE Header attributes, and PE Section attributes—and employing ensemble learning techniques alongside dimensionality reduction, the system achieves a detection rate of 99.5% and an error rate of just 0.47%.
Introduction
The evolution of malware from simple viruses to complex, polymorphic threats has rendered traditional signature-based detection increasingly ineffective. While dynamic analysis provides deep behavioral insights by executing files in isolated environments, it is computationally expensive and slow. Static analysis offers a faster alternative by inspecting file structures without execution. However, static methods often struggle with accuracy when relying on limited feature sets. This paper addresses these limitations by integrating multiple structural and functional features into a comprehensive detection pipeline.
Methodology
The proposed system follows a structured pipeline: feature extraction, integration, dimensionality reduction, and classification.
Feature Extraction and Integration
The researchers focused on the Windows Portable Executable (PE) format. Four categories of information were extracted: imported DLLs, API functions, PE Header attributes, and PE Section attributes.
As shown in Table 2, the system extracts a wide array of metadata from the PE Header. These features were combined into Integrated Feature Sets (IFS). IFS2, which amalgamates Header and Section data, emerged as the most effective feature set for classification.
Dimensionality Reduction and Ensemble Learning
To optimize performance, Information Gain (IG) and Principal Component Analysis (PCA) were used to select the most predictive features. The classification stage utilized seven base models, including Random Forest and SVM. These were further enhanced using ensemble techniques: Majority Voting, AdaBoost, and Stack Generalization. Stack Generalization proved superior, effectively learning how to weight the outputs of individual classifiers to minimize errors.
The KIET Dataset
A significant contribution of this work is the introduction of the KIET dataset, a large-scale benchmark for Windows PE malware.
The dataset includes 27,920 malware samples across six major families, such as RedLineStealer and Banking Trojans, alongside 1,877 benign samples. Despite the class imbalance, 10-fold cross-validation was employed to ensure the model's generalizability and robustness.
Results and Discussion
The experimental results demonstrate the efficacy of the multi-feature approach. The combination of IFS2, Information Gain, and Stack Generalization yielded a peak accuracy of 99.5%. This performance surpasses previous benchmarks in the field, which typically range between 98.3% and 98.7%.
A key finding is the high predictive power of PE Header metadata. While often overlooked in favor of complex code analysis, these structural "fingerprints" are highly indicative of malicious intent. However, the authors caution that relying solely on headers may leave systems vulnerable to header obfuscation techniques used by advanced attackers.
Conclusion
This research confirms that static analysis, when bolstered by comprehensive feature sets and ensemble learning, can achieve near-perfect detection rates for Windows malware. Future work will focus on extending this methodology to other file formats (e.g., PDF, Office documents) and mobile platforms like Android and iOS to provide a more holistic security solution.
Summary updated