Self-Supervised Vision Transformers for Malware Detection

Sachith Seneviratne, Ridwan Shariffdeen, Sanka Rasnayaka, Nuran Kasthuriarachchi
8/15/2022
cs.CRcs.CV
transformer-attentioncontrastive-ssl

Official code: sachith500/Sherlock (29 stars, Python, MIT, last commit 2024-02-22).

Abstract

Malware detection plays a crucial role in cyber-security with the increase in malware growth and advancements in cyber-attacks. Previously unseen malware which is not determined by security vendors are often used in these attacks and it is becoming inevitable to find a solution that can self-learn from unlabeled sample data.

Show full abstract

This paper presents SHERLOCK, a self-supervision based deep learning model to detect malware based on the Vision Transformer (ViT) architecture. SHERLOCK is a novel malware detection method which learns unique features to differentiate malware from benign programs with the use of image-based binary representation. Experimental results using 1.2 million Android applications across a hierarchy of 47 types and 696 families, shows that self-supervised learning can achieve an accuracy of 97% for the binary classification of malware which is higher than existing state-of-the-art techniques. Our proposed model is also able to outperform state-of-the-art techniques for multi-class malware classification of types and family with macro-F1 score of .497 and .491 respectively.

View on arXivView PDF

Code Implementations(1)

MIT

This repository contains experiments for different publications at the intersection of Computer Vision and Computer Security.

299PythonJun 15, 20222 years agoMIT

Similar Papers

Cite this paper

@article{seneviratne2022selfsupervised,
  title  = {Self-Supervised Vision Transformers for Malware Detection},
  author = {Sachith Seneviratne and Ridwan Shariffdeen and Sanka Rasnayaka and Nuran Kasthuriarachchi},
  year   = {2022},
  eprint = {2208.07049},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.07049}
}

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

Discussion