Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Attacking the First-Principle: A Black-Box, Query-Free Targeted Mimicry Attack on Binary Function Classifiers

About

Binary function classifiers play a crucial role in maintaining the security and integrity of software systems by detecting malicious code and unauthorized modifications. However, machine learning-based classifiers are vulnerable to adversarial attacks that can evade detection. In this study, we present Kelpie, a novel framework for executing mimicry attacks, a stronger type of targeted evasion attacks, on binary function classifiers in a black-box, zero-query setting. Unlike previous approaches that rely on querying the target classifier to refine untargeted evasion attacks, Kelpie leverages code transformations that preserve the functionality of malicious payloads while causing them to be misclassified as we want. Through extensive experimentation, we demonstrate that Kelpie can successfully execute mimicry attacks against six state-of-the-art binary function classifiers representing different model architectures without requiring direct interaction with them. We further validate our approach with a practical demonstration, involving a keylogger and a wiper concealed within benign-looking functions embedded in an application. This work, to our best knowledge, is the first to demonstrate such a mimicry attack in a black-box, zero-query context, raising important questions about the reliability and security of existing machine learning-based binary function classifiers.

Gabriel Sauger, Jean-Yves Marion, Sazzadur Rahaman, Victor Matrat, Vincent Tourneur, Muaz Ali• 2026

Related benchmarks

TaskDatasetResultRank
Vulnerability ClassificationVulnerability classification Baseline (test)--
9
Vulnerability ClassificationVulnerability classification case study Adversarial (test)--
9
Binary Function ClassificationBinary Function Classification Baselines (test)--
8
Binary Function ClassificationBinary Function Classification Kelpie Samples (test)--
8
Binary Function RetrievalPayloads--
8
Binary Function RetrievalDataset-XO--
8
Binary Function RetrievalDataset-adv Kelpie samples--
8
Vulnerability ClassificationKeylogger payload in benign binaries Masscan Redis--
8
Vulnerability ClassificationWiper payload in benign binaries Masscan/Redis--
8
Showing 9 of 9 rows

Other info

Follow for update