A Kings Ransom for Encryption: Ransomware Classification using Augmented One-Shot Learning and Bayesian Approximation

Amir Atapour-Abarghouei, Stephen Bonner, Andrew Stephen McGough
8/19/2019
cs.CVcs.CRcs.LG
bayesian

Official code: atapour/ransomware-classification (11 stars, Python, MIT, last commit 2020-07-19).

Abstract

Newly emerging variants of ransomware pose an ever-growing threat to computer systems governing every aspect of modern life through the handling and analysis of big data. While various recent security-based approaches have focused on detecting and classifying ransomware at the network or system level, easy-to-use post-infection ransomware classification for the lay user has not been attempted before.

Show full abstract

In this paper, we investigate the possibility of classifying the ransomware a system is infected with simply based on a screenshot of the splash screen or the ransom note captured using a consumer camera commonly found in any modern mobile device. To train and evaluate our system, we create a sample dataset of the splash screens of 50 well-known ransomware variants. In our dataset, only a single training image is available per ransomware. Instead of creating a large training dataset of ransomware screenshots, we simulate screenshot capture conditions via carefully designed data augmentation techniques, enabling simple and efficient one-shot learning. Moreover, using model uncertainty obtained via Bayesian approximation, we ensure special input cases such as unrelated non-ransomware images and previously-unseen ransomware variants are correctly identified for special handling and not mis-classified. Extensive experimental evaluation demonstrates the efficacy of our work, with accuracy levels of up to 93.6% for ransomware classification.

View on arXivView PDF

Code Implementations(1)

MIT

Training and testing pipeline for ransomware classification based on screenshots of the splash screens or ransom notes (https://arxiv.org/pdf/1908.06750.pdf).

115Python, ShellJul 29, 20196 years agoMIT
bayesian-approximationbayesian-inferencedata-augmentationdeep-learningfew-shot-learning+3 more

Similar Papers

Cite this paper

@article{atapourabarghouei2019kings,
  title  = {A Kings Ransom for Encryption: Ransomware Classification using Augmented One-Shot Learning and Bayesian Approximation},
  author = {Amir Atapour-Abarghouei and Stephen Bonner and Andrew Stephen McGough},
  year   = {2019},
  eprint = {1908.06750},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.06750}
}

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/1908.06750.svg)](https://codeofpaper.com/paper/1908.06750)

Discussion