Enhancing the insertion of NOP instructions to obfuscate malware via deep reinforcement learning

Current state-of-the-art research for tackling the problem of malware detection and classification is centered on the design, implementation and deployment of systems powered by machine learning because of its ability to generalize to never-before-seen malware families and polymorphic mutations. How...

ver descrição completa

Detalhes bibliográficos
Autores: Gibert Llauradó, Daniel, Fredrikson, Matt, Mateu Piñol, Carles, Planes Cid, Jordi
Formato: artículo
Estado:Versión enviada para evaluación y publicación
Fecha de publicación:2022
País:España
Recursos:Universitat de Lleida (UdL)
Repositorio:Repositori Obert UdL
OAI Identifier:oai:repositori.udl.cat:10459.1/72778
Acesso em linha:https://doi.org/10.1016/j.cose.2021.102543
http://hdl.handle.net/10459.1/72778
Access Level:acceso abierto
Palavra-chave:Malware Classification
Assembly Language Source Code
Obfuscation
Reinforcement Learning
Deep Q-Network
Descrição
Resumo:Current state-of-the-art research for tackling the problem of malware detection and classification is centered on the design, implementation and deployment of systems powered by machine learning because of its ability to generalize to never-before-seen malware families and polymorphic mutations. However, it has been shown that machine learning models, in partidular deep neural networks, lack robustness against crafted inputs (adversarial examples). In this work, we have investigated the vulnerability of a state-of-the-art shallow convolutional neural network malware classifier against the deat code insertion technique. We propose a general framework powered by a Double Q-network to induce misclassification over malware families. The framework trains an agent through a convolutional neural network to select the optimal positions in a code sequence to insert dead code instructions so that the machine learning classifier mislabels the resulting executable. The experiments show that the proposed method significantly drops the classification accuracy of the classifier to 56.53% while having an evasion rate of 100% for the samples belonging to Kelihos_ver3, Simda, and Kelihos_ver1 families. In addition, the average number of instructions needed to mislabel malware in comparison to a random agent decreased by 33%.