Resource type
Thesis type
(Thesis) Ph.D.
Date created
2025-08-13
Authors/Contributors
Author: Durai Raju, Anandharaju
Abstract
Malware is a pervasive cybersecurity threat affecting individuals, businesses, and government systems, enabling illicit activities and resulting in considerable data and financial losses. Its global impact stresses the need for improved defence measures, including deep learning-based AI methods. Learning to detect and classify malware using deep learning approaches, such as convolution neural networks (CNNs), is challenging. Although CNNs can automatically extract features from malware sequence representations without extensive feature engineering, they underperform compared to models using handcrafted features, which is a significant limitation to apply to malware detection-like high-stakes applications. Further, CNN training is resource intensive, incurring high GPU usage and long training time costs, especially for learning malware sequences whose size could range from a few thousand timesteps to extremely large sizes exceeding 228 (≈ 268 million) timesteps, leading to high carbon emissions and sustainability concerns. This thesis addresses the above challenges of low model performance and high training costs of CNNs in learning large malware sequences. Our first contribution is a framework called 'LockBoost' for high-stake applications like malware detection, where false alarms, i.e., wrongly detecting goodware as malware, incur high manual intervention costs. Existing methods, including boosting, cannot guarantee fixed false alarms due to calibrating their decision threshold for such binary classification after model training. Contrarily, LockBoost restricts false alarms to a fixed budget by calibrating the threshold as part of the training process while also improving the performance of the baseline model. Evaluation on public datasets with 0.1% target false positive (false alarm) rate showed that LockBoost improved the true positive rate of baseline model up to 9%, outperforming state-of-the-art methods. In the second contribution, we propose a framework called 'HotConv' that focuses on reducing the training costs related to high GPU memory consumption of CNNs learning large sequences while preserving their predictive performance. The HotConv training process employs a novel pruning-based forward propagation with a simplified backpropagation to train CNNs with temporal max-pooling efficiently in GPUs. Evaluations using HotConv applied to a public state-of-the-art CNN over malware detection and family classification datasets show that the reduction in GPU memory consumption through HotConv is superior to existing approaches. For instance, HotConv-based training consumed only 1/22 of the GPU memory needed by a competing approach. In the third contribution, we propose a data loading technique called 'Partitioned data loading' to efficiently load large datasets of large sequences for model training. This technique helps reduce the training costs related to high training time while achieving equivalent performance without increasing GPU memory usage of model training. Evaluations show that our model-agnostic technique could reduce the time for training over large sequences by half, which is significantly useful when training on huge datasets that take months to train. Further, we discuss how a model's GPU memory usage and training time contribute to AI carbon footprint and evaluate the significance of HotConv and Partitioned data loading in reducing the carbon footprint of sequence-based CNN learning, and highlight the importance of environmentally sustainable AI practices. For instance, HotConv reduces the carbon footprint of a baseline model up to 1/4 of that of the competing approach without compromising performance. When combined with the partitioned data loading strategy, the carbon footprint is further lowered by up to 1/7 of that of the competing approach while achieving equivalent performance. Finally, we extend the applications of our proposed approaches beyond malware detection and classification problems, as our fourth contribution, showcasing their benefits. For instance, HotConv can be utilized to enable GPU-efficient training of advanced architectures, such as Transformers and xLSTMs, over extremely long sequences in the form of CNN-based hybrids, which would otherwise result in insufficient GPU or a high carbon footprint.
Document
Extent
97 pages.
Identifier
etd23949
Copyright statement
Copyright is held by the author(s).
Academic Supervisor
Thesis advisor: Wang, Ke
Language
English
Member of collection
| Download file | Size |
|---|---|
| etd23949.pdf | 27.17 MB |