Early Stage Malware Prediction Using Recurrent Neural Networks

Matilda Rhode, Pete Burnap, Kevin Jones
8/11/2017
cs.CR

Official code: mprhode/malware-prediction-rnn (44 stars, Python, Apache-2.0, TensorFlow, last commit 2024-02-01).

Abstract

Static malware analysis is well-suited to endpoint anti-virus systems as it can be conducted quickly by examining the features of an executable piece of code and matching it to previously observed malicious code. However, static code analysis can be vulnerable to code obfuscation techniques.

Show full abstract

Behavioural data collected during file execution is more difficult to obfuscate, but takes a relatively long time to capture - typically up to 5 minutes, meaning the malicious payload has likely already been delivered by the time it is detected. In this paper we investigate the possibility of predicting whether or not an executable is malicious based on a short snapshot of behavioural data. We find that an ensemble of recurrent neural networks are able to predict whether an executable is malicious or benign within the first 5 seconds of execution with 94% accuracy. This is the first time general types of malicious file have been predicted to be malicious during execution rather than using a complete activity log file post-execution, and enables cyber security endpoint protection to be advanced to use behavioural data for blocking malicious payloads rather than detecting them post-execution and having to repair the damage.

View on arXivView PDF

Code Implementations(1)

TensorFlowApache-2.0

RNN implementation with Keras for machine activity data to predict malware

4422PythonAug 24, 20172 years agoApache-2.0
deep-learningkerasmachine-learningmalware-detection

Similar Papers

Cite this paper

@article{rhode2017early,
  title  = {Early Stage Malware Prediction Using Recurrent Neural Networks},
  author = {Matilda Rhode and Pete Burnap and Kevin Jones},
  year   = {2017},
  eprint = {1708.03513},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1708.03513}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1708.03513.svg)](https://codeofpaper.com/paper/1708.03513)

Discussion