TRANSMISSION // 2611.33243v1

Why a simpler malware attack transferred better

Source published

A study using EMBER2018 found that a one-step adversarial attack fooled a Random Forest malware detector more often than an iterative attack—but only in a specific feature-space test.

AI-generated conceptual illustration for Why a simpler malware attack transferred better
AI-generated conceptual illustration; not documentary evidence.

More attack steps do not always mean a more effective attack on a different model. In one experiment, a fast, single-step method transferred better from a neural-network proxy to a Random Forest malware detector than an iterative method did.

The question: does a stronger attack travel farther?

Machine-learning malware detectors can be tested with adversarial examples: inputs deliberately altered to make a classifier give the wrong answer. In a black-box setting, an attacker may not know a detector’s internal workings. One way to test its vulnerability is to make altered examples against a separate, accessible model—a surrogate—and see whether they also fool the target. This is called a transfer attack.

The paper introduces the Adversarial AI Engine (AAIE), a framework for automating such tests, and uses it to explore a counterintuitive question: do attacks that take more steps to optimize against the surrogate also transfer better to a different target?

How the test worked

The researchers used a stratified subset of EMBER2018, a benchmark dataset for static detection of Windows executable files. They report 9,693 training samples and 1,195 test samples, with roughly equal numbers of benign and malicious examples. Each file was represented by 30 extracted features, covering properties such as byte patterns, strings, file metadata and executable structure. The features were standardized before the attacks were generated.

The target was a Random Forest classifier with 200 trees. Because the target’s internal parameters were treated as unavailable, the researchers trained a fully connected neural network as a surrogate, using labels predicted by the Random Forest. They crafted attacks against that network and then tested the resulting examples on the Random Forest.

The comparison was between FGSM, a one-step method that perturbs features in the direction of a loss gradient, and PGD, which applies repeated steps while keeping the perturbation within a set budget. The team tested eight budgets, and reported attack success rate (ASR)—the share of adversarial examples misclassified by the target—as its main outcome. They also reported a transferability score, comparing success on the target with success on the surrogate, and other measures of detection and resilience.

What the researchers found

FGSM had a higher ASR than PGD at every tested perturbation budget. At a budget of 0.15, FGSM’s reported ASR was 52.9%, compared with 43.7% for PGD; PGD reached its highest reported ASR, 45.2%, at the largest budget of 0.20. The paper reports a paired statistical test with p = 0.00112 and describes the difference as statistically significant. Across the tested budgets, it gives FGSM an average transferability score of 0.555 and PGD 0.465.

The authors suggest that the iterative method may fit quirks of the neural-network surrogate that do not carry over to the Random Forest. In their interpretation, FGSM’s single step captures a less model-specific direction and therefore transfers better. That is a proposed explanation for this experiment, not a general rule established for all malware detectors.

At budget 0.15, the paper also reports lower target accuracy under FGSM than PGD: 47.1% versus 56.3%, compared with 88.2% on clean test data. These figures describe this test setup; they do not show how real-world malware samples, deployed products or operational networks would fare.

What remains uncertain

The paper’s main limitation is also central to interpreting its headline result: it tests one dataset, one surrogate architecture and one target architecture. The feature changes were made in standardized, continuous feature space and were not converted back into valid executable files. The authors explicitly describe the resulting transferability as an upper-bound estimate under unconstrained perturbations. In practice, a change to extracted features may not correspond to a malware file that can actually be created and still function as intended.

So the study does not establish that FGSM will outperform PGD against other detectors, datasets or attacks constrained to preserve file validity. Nor does it demonstrate that a real attacker has compromised a deployed detector. Its results are best read as a warning about how model choice and evaluation constraints can affect robustness tests—and as a case for checking transfer attacks rather than assuming that more optimization steps mean greater real-world risk.

AAIE is presented as an automation and audit framework, but the reported experiment is evidence about this particular setup, not a validation of the platform across security products. The source is arXiv version 1; the paper text states that the work was accepted at an IEEE conference, but this article has not independently checked publication or review status.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.