EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Explainable Robustness Against Localized Malware Obfuscation: A Hybrid CNN-ViT Approach with Comparative Attention Analysis

Ayush Raj, Shadan Ahmad, Pranjal Kumar Jha

Revolutionary Advances in Computing and Electronics: An International Journal · 12.05.2026 · 2 (1) · 34-46

DOI: 10.65890/race.v2i1.176 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Revolutionary Advances in Computing and Electronics: An International Journal, online erschienen am 12.05.2026. Verfasst von Ayush Raj und 2 weiteren Autor:innen. Die Arbeit nennt 16 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The rapid proliferation of obfuscated and zero-day malware variants poses a critical challenge to modern cybersecurity defences. Traditional Convolutional Neural Network (CNN) classifiers, while effective on clean binary images, exhibit catastrophic vulnerability when adversaries apply localised packing or byte-level scrambling to evade detection. In this paper, a hybrid deep learning architecture that combines a lightweight CNN feature extractor with a Vision Transformer (ViT) encoder to achieve explainable robustness against localised malware obfuscation. The CNN extracts hierarchical texture patterns from grayscale binary images, while the ViT models long-range spatial dependencies through multi-head self-attention across 196 image patches. Crucially, this approach injects Spatial Dropout (nn.Dropout2d) into the CNN layers and employs Focal Loss to handle severe class imbalance, forcing the model to learn from partially corrupted feature maps during training itself. Evaluated on the Malimg benchmark (9,339 samples, 25 families), the hybrid model achieves 93.80% accuracy with a Macro AUC of 0.9980. Under simulated obfuscation with 30% local byte noise, the hybrid architecture maintains 81.82% accuracy, while an equivalent pure CNN baseline using the same CNN feature extractor collapses to 52.62%, a gap of 29.20 percentage points. Through comparative attention heatmaps, this paper provides visual, interpretable proof that while CNN activations scatter across noise artifacts under obfuscation, the ViT’s self-attention dynamically shifts to focus on persistent global structural payloads, explaining why the architecture survives where CNNs fail.

Zitieren

APA

Raj, A., Ahmad, S., & Jha, P. K. (2026). Explainable Robustness Against Localized Malware Obfuscation: A Hybrid CNN-ViT Approach with Comparative Attention Analysis. Revolutionary Advances in Computing and Electronics: An International Journal, 2(1), 34-46. https://doi.org/10.65890/race.v2i1.176

Vancouver

Raj A, Ahmad S, Jha PK. Explainable Robustness Against Localized Malware Obfuscation: A Hybrid CNN-ViT Approach with Comparative Attention Analysis. Revolutionary Advances in Computing and Electronics: An International Journal. 2026;2(1):34-46. doi:10.65890/race.v2i1.176

BibTeX
@article{Raj2026,
  author = {Raj, Ayush and Ahmad, Shadan and Jha, Pranjal Kumar},
  title = {Explainable Robustness Against Localized Malware Obfuscation: A Hybrid CNN-ViT Approach with Comparative Attention Analysis},
  journal = {Revolutionary Advances in Computing and Electronics: An International Journal},
  year = {2026},
  volume = {2},
  number = {1},
  pages = {34--46},
  doi = {10.65890/race.v2i1.176}
}
Kostenlos starten →