Publication Date

Spring 2026

Degree Type

Master's Project

Degree Name

Master of Science in Computer Science (MSCS)

Department

Computer Science

First Advisor

Fabio Di Troia

Second Advisor

Robert Chun

Third Advisor

Genya Ishigaki

Keywords

Opcodes, Diffusion, NLP, Graphs, GCN, GraphSAGE, GANs, WGAN, Word2Vec, FastText, Graph2Vec, Node2Vec, Embedding

Abstract

Malware has grown increasingly complex, and machine learning has become crucial for detection systems. However, their effectiveness is limited by the scarcity and diverse malware samples. Sample imbalance can lead to biased classifiers that underrepresent minority families and degrade performance. This project examines whether conditional generative models can produce synthetic opcode embeddings that can preserve the structural and semantic properties of real malware. Opcode sequences are represented with graph based and NLP based embeddings, which are used as inputs for a conditional WGAN-GP and conditional Diffusion model. The generated embeddings are evaluated through cross family injection, train real test synthetic, train synthetic test real, binary classification and class imbalance experiments. The results show that graph based embeddings consistently outperform NLP based ones, with the conditional Diffusion model producing the highest quality samples.

Available for download on Saturday, May 22, 2027

Share

COinS