Skip to main content
QUICK REVIEW

[Paper Review] COPYCAT: Practical Adversarial Attacks on Visualization-Based Malware Detection

Aminollah Khormali, Ahmed Abusnaina|arXiv (Cornell University)|Sep 20, 2019
Advanced Malware Detection TechniquesComputer Science56 references21 citations
TL;DR

This paper proposes COPYCAT, a novel adversarial attack framework targeting visualization-based malware detection systems that generates executable adversarial examples with high misclassification rates while preserving the original malware's functionality. It introduces two configurations—AE padding and sample injection—achieving 98.9% and 96.5% misclassification rates on Windows and IoT malware datasets, respectively, with full executability, outperforming prior work in both evasion success and practical feasibility.

ABSTRACT

Despite many attempts, the state-of-the-art of adversarial machine learning on malware detection systems generally yield unexecutable samples. In this work, we set out to examine the robustness of visualization-based malware detection system against adversarial examples (AEs) that not only are able to fool the model, but also maintain the executability of the original input. As such, we first investigate the application of existing off-the-shelf adversarial attack approaches on malware detection systems through which we found that those approaches do not necessarily maintain the functionality of the original inputs. Therefore, we proposed an approach to generate adversarial examples, COPYCAT, which is specifically designed for malware detection systems considering two main goals; achieving a high misclassification rate and maintaining the executability and functionality of the original input. We designed two main configurations for COPYCAT, namely AE padding and sample injection. While the first configuration results in untargeted misclassification attacks, the sample injection configuration is able to force the model to generate a targeted output, which is highly desirable in the malware attribution setting. We evaluate the performance of COPYCAT through an extensive set of experiments on two malware datasets, and report that we were able to generate adversarial samples that are misclassified at a rate of 98.9% and 96.5% with Windows and IoT binary datasets, respectively, outperforming the misclassification rates in the literature. Most importantly, we report that those AEs were executable unlike AEs generated by off-the-shelf approaches. Our transferability study demonstrates that the generated AEs through our proposed method can be generalized to other models.

Motivation & Objective

  • To address the critical gap in existing adversarial attacks that fail to maintain malware executability and functionality.
  • To design practical adversarial attacks on visualization-based malware detection systems that are both effective and executable.
  • To enable both untargeted and targeted misclassification attacks using two novel configurations: AE padding and sample injection.
  • To evaluate the transferability and robustness of generated adversarial examples across different models and malware types.
  • To demonstrate that high evasion rates can be achieved without compromising the original malware's operational integrity.

Proposed method

  • Proposes AE padding, which appends adversarial perturbations to the original binary to induce untargeted misclassification while preserving executability.
  • Introduces sample injection, where a pre-generated adversarial sample is embedded into the original binary to force targeted misclassification.
  • Designs a three-phase evaluation framework: adversarial attack, defense, and executability validation to ensure practicality.
  • Employs deep learning models trained on visualized malware features (e.g., image representations of binary code) as the target classifiers.
  • Uses perturbation techniques that focus on non-functional code sections to minimize disruption to behavior and execution.
  • Validates attack success via misclassification rate, executability, and transferability across models.

Experimental results

Research questions

  • RQ1Can adversarial examples be generated for visualization-based malware detection systems that maintain full executability and functionality of the original malware?
  • RQ2Can targeted misclassification be achieved in visualization-based malware detection through adversarial manipulation?
  • RQ3How does the proposed method compare to off-the-shelf adversarial attack tools in terms of evasion rate and practical feasibility?
  • RQ4To what extent do the generated adversarial examples generalize across different deep learning models?
  • RQ5What is the impact of injected sample size and model architecture on attack success and executability?

Key findings

  • COPYCAT achieved a 98.9% misclassification rate on Windows malware datasets while ensuring all generated adversarial samples remained executable.
  • On IoT malware datasets, the method achieved a 96.5% misclassification rate with full executability, outperforming existing approaches.
  • The sample injection configuration successfully enabled targeted misclassification, a capability missing in most prior adversarial malware attacks.
  • Transferability experiments confirmed that adversarial examples generated by COPYCAT generalized to other deep learning models, indicating robustness.
  • The AE padding method had a significant limitation: it required multiplying the original binary size by the number of target classes, making it less efficient for multi-class settings.
  • Unlike prior work, COPYCAT maintains both functionality and executability, addressing a key shortcoming in existing adversarial malware generation techniques.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.