Adversarial Attacks on Transformers-Based Malware Detectors

Yash Jakhotiya, Heramb Patil, Jugal Rawlani, Sunil B. Mane
10/1/2022
cs.CRcs.AIcs.LG
transformer-attention

Official code: yashjakhotiya/Adversarial-Attacks-On-Transformers (8 stars, Python, last commit 2026-05-27).

Abstract

Signature-based malware detectors have proven to be insufficient as even a small change in malignant executable code can bypass these signature-based detectors. Many machine learning-based models have been proposed to efficiently detect a wide variety of malware.

Show full abstract

Many of these models are found to be susceptible to adversarial attacks - attacks that work by generating intentionally designed inputs that can force these models to misclassify. Our work aims to explore vulnerabilities in the current state of the art malware detectors to adversarial attacks. We train a Transformers-based malware detector, carry out adversarial attacks resulting in a misclassification rate of 23.9% and propose defenses that reduce this misclassification rate to half. An implementation of our work can be found at https://github.com/yashjakhotiya/Adversarial-Attacks-On-Transformers.

View on arXivView PDF

Code Implementations(1)

Exploring vulnerabilities of Transformers-based Malware Detectors to Adversarial Attacks

82PythonDec 17, 20206 months ago
adversarial-attacksadversarial-machine-learningmalwaremalware-detectiontransformers

Similar Papers

Cite this paper

@article{jakhotiya2022adversarial,
  title  = {Adversarial Attacks on Transformers-Based Malware Detectors},
  author = {Yash Jakhotiya and Heramb Patil and Jugal Rawlani and Sunil B. Mane},
  year   = {2022},
  eprint = {2210.00008},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.00008}
}

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

Discussion