🤖 AI Summary
Fine-grained classification of malicious executables associated with Advanced Persistent Threat (APT) groups remains challenging.
Method: We propose an end-to-end, automated classification framework based on assembly opcodes. It introduces a novel opcode-level parallel reverse-engineering pipeline using Radare2 and multiprocessing for efficient feature extraction. Departing from metadata-dependent n-gram models, we design a GPU-accelerated CNN architecture (PyTorch + CUDA) that takes raw instruction sequences as input, and rigorously benchmark against SVM, KNN, and decision tree baselines.
Contribution/Results: This is the first work to achieve high-throughput, low-latency APT family attribution at the opcode level. Evaluated on a real-world APT dataset, our method achieves 98.3% mean accuracy, accelerates inference 17× over CPU-based baselines, and supports real-time processing of over 1,000 samples per minute.
📝 Abstract
This paper presents an underlying framework for both automating and accelerating malware classification, more specifically, mapping malicious executables to known Advanced Persistent Threat (APT) groups. The main feature of this analysis is the assembly-level instructions present in executables which are also known as opcodes. The collection of such opcodes on many malicious samples is a lengthy process; hence, open-source reverse engineering tools are used in tandem with scripts that leverage parallel computing to analyze multiple files at once. Traditional and deep learning models are applied to create models capable of classifying malware samples. One-gram and two-gram datasets are constructed and used to train models such as SVM, KNN, and Decision Tree; however, they struggle to provide adequate results without relying on metadata to support n-gram sequences. The computational limitations of such models are overcome with convolutional neural networks (CNNs) and heavily accelerated using graphical compute unit (GPU) resources.