Back to search

University of Cincinnati

Neural Classification of Malware-As-Video with Considerations for In-Hardware Inferencing

Abstract

dc:description

The objective of this thesis is to explore the classification of assembly code as benign or malicious through the use of neural networks, and while building these networks, give consideration to the creation of malware detecting hardware. Neural networks have become a go-to solution in many fields due to their ability to learn from an enormous number of features. Fully entrusting security to a neural network may be unwise due to issues with bias in training data and the ultimately unknowable nature of how the network makes a classification. If a proficient system is achieved for low cost in terms of memory or time, however, it could be another tool in the toolbox for fighting malware.Our approach revolves around turning the executable bytes of code into a video for classification methods, what we call Malware-as-Video, while relying on minimal preprocessing. We will show that a distributed convolutional network achieves the best performance of the architectures we discuss, hinting that the temporal dependency of the input code may not be important for classification. To do so, we will walk through the attempted architectures and discuss their strengths and weaknesses before arriving to the final network. Our best network achieves 99.96% training and 99.31% testing accuracy on a dataset of malicious vs. benign code, with an average time to predict of ~8.08ms. It can classify 100% of malware with a false positive rate of 13%. We also test the network in a few distinct ways. The network achieves 98.47% accuracy on a 0-Day malware simulation. The network was also given only partial inputs, achieving around 90% accuracy when using only 20% of each input file on a dataset of 9 classes of malware.We also perform pruning and quantization strategies on the distributed convolutional network so it can be as small as possible, enabling a wider range of systems the network could operate on. We use a novel pruning technique we call Node-Distance Pruning and we then use Jenk's Natural Breaks for determining quantization buckets. The network is finally deployed to an FPGA as a proof-of-concept chip for malware detection.

Degree

thesis:*
Name thesis:degree_name
MS
Level thesis:degree_level
masters
Discipline thesis:degree_discipline
Engineering and Applied Science: Computer Engineering
Grantor dc:publisher
University of Cincinnati
Year dc:date
2019

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Santacroce, Michael
Chair dc:contributor.committeechair
  • Jha, Rashmi

Subjects

dc:subject × 6

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Santacroce, Michael. Neural Classification of Malware-As-Video with Considerations for In-Hardware Inferencing. masters thesis, University of Cincinnati, 2019. http://rave.ohiolink.edu/etdc/view?acc_num=ucin1554216974556897