mlsanityData to 14 Oct 2026

Nebula: Self-Attention for Dynamic Malware Analysis

arXiv 2310.10664 ↗First posted 19 Sep 2023cs.CR cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

Dynamic analysis enables detecting Windows malware by executing programs in a controlled environment and logging their actions. Previous work has proposed training machine learning models, i.e., convolutional and long short-term memory networks, on homogeneous input features like runtime APIs to either detect or classify malware, neglecting other relevant information coming from heterogeneous data like network and file operations. To overcome these issues, we introduce Nebula, a versatile, self-attention Transformer-based neural architecture that generalizes across different behavioral representations and formats, combining diverse information from dynamic log reports. Nebula is composed by several components needed to tokenize, filter, normalize and encode data to feed the transformer architecture. We firstly perform a comprehensive ablation study to evaluate their impact on the performance of the whole system, highlighting which components can be used as-is, and which must be enriched with specific domain knowledge. We perform extensive experiments on both malware detection and classification tasks, using three datasets acquired from different dynamic analyses platforms, show that, on average, Nebula outperforms state-of-the-art models at low false positive rates, with a peak of 12% improvement. Moreover, we showcase how self-supervised learning pre-training matches the performance of fully-supervised models with only 20% of training data, and we inspect the output of Nebula through explainable AI techniques, pinpointing how attention is focusing on specific tokens correlated to malicious activities of malware families. To foster reproducibility, we open-source our findings and models at https://github.com/dtrizna/nebula.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 22 of its 71 references that are in the map. First posted on arXiv 19 Sep 2023.

Builds on

22 of 71 references.

References · 22

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Scaling Laws for Neural Language Modelscited by 6,586
  4. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  5. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  6. 2017Axiomatic Attribution for Deep Networkscited by 3,384
  7. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  8. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  9. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  10. 2017Convolutional Sequence to Sequence Learningcited by 552
  11. 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
  12. 2019Dynamic Malware Analysis with Feature Engineering and Feature Learningcited by 23
10 more
  1. 2017eXpose: A Character-Level Convolutional Neural Network with Embeddings For Detecting Malicious URLs, File Paths and Registry Keyscited by 18
  2. 2022SoK: The Impact of Unlabelled Data in Cyberthreat Detectioncited by 15
  3. 2019Neurlux: Dynamic Malware Analysis Without Feature Engineeringcited by 12
  4. 2022Quo Vadis: Hybrid Machine Learning Meta-Model based on Contextual and Behavioral Malware Representationscited by 9
  5. 2019I-MAD: Interpretable Malware Detector Using Galaxy Transformercited by 8
  6. 2022Transformers for End-to-End InfoSec Tasks: A Feasibility Studycited by 6
  7. 2021An Ensemble of Pre-trained Transformer Models For Imbalanced Multiclass Malware Classificationcited by 5
  8. 2021Shell Language Processing: Unix command parsing for Machine Learningcited by 3
  9. 2021Mill.jl and JsonGrinder.jl: automated differentiable feature extraction for learning from raw JSON datacited by 2
  10. 2022Avast-CTU Public CAPE Datasetcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 3; 2026: 3.

8 papers.