MALIGN: Explainable Static Raw-byte Based Malware Family Classification using Sequence Alignment

Shoumik Saha, Sadia Afroz, Atif Rahman
11/28/2021
cs.CR

Official code: ShoumikSaha/Malign (3 stars, C++, last commit 2023-08-15).

Abstract

For a long time, malware classification and analysis have been an arms-race between antivirus systems and malware authors. Though static analysis is vulnerable to evasion techniques, it is still popular as the first line of defense in antivirus systems.

Show full abstract

But most of the static analyzers failed to gain the trust of practitioners due to their black-box nature. We propose MAlign, a novel static malware family classification approach inspired by genome sequence alignment that can not only classify malware families but can also provide explanations for its decision. MAlign encodes raw bytes using nucleotides and adopts genome sequence alignment approaches to create a signature of a malware family based on the conserved code segments in that family, without any human labor or expertise. We evaluate MAlign on two malware datasets, and it outperforms other state-of-the-art machine learning based malware classifiers (by 4.49% - 0.07%), especially on small datasets (by 19.48% - 1.2%). Furthermore, we explain the generated signatures by MAlign on different malware families illustrating the kinds of insights it can provide to analysts, and show its efficacy as an analysis tool. Additionally, we evaluate its theoretical and empirical robustness against some common attacks. In this paper, we approach static malware analysis from a unique perspective, aiming to strike a delicate balance among performance, interpretability, and robustness.

View on arXivView PDF

Code Implementations(1)

ShoumikSaha/MalignOfficial100%

Malign is static malware family classification tool that adopts multiple sequence alignment (MSA) with necessary pre-processing and requirement. Read our paper for more details.

30C++, Jupyter NotebookAug 15, 20233 years ago

Similar Papers

Cite this paper

@article{saha2021malign,
  title  = {MALIGN: Explainable Static Raw-byte Based Malware Family Classification using Sequence Alignment},
  author = {Shoumik Saha and Sadia Afroz and Atif Rahman},
  year   = {2021},
  eprint = {2111.14185},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.14185}
}

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

Discussion