← Lab /AI/ML

Semantic cover story in binaries fools LLM malware analyzers into benign verdicts

ALIBI can cause LLM-based malware analyzers to misclassify malicious binaries as benign

AI/ML arXiv 17 Sep 2026 Attack Prototype evidence Threat model

Published as “ALIBI: Adversarial Legitimacy Injection in Binary Input against LLM Malware Analyzers”

Why it matters

LLM-based malware triage can be subverted by modest, functionality-preserving binary modifications, potentially causing analysts to miss or de-prioritize real threats.

Summary

ALIBI can flip 85.7% of malicious PE samples to benign on Gemini 2.5 Pro, while token-level prompt injection flips none; however GPT-5.5 Pro and Claude Opus 4.7 show zero strict bypasses and only partial downgrades, and a verification-guided prompt halves the attack success to 42.9% strict ASR. The paper evaluates on 50 PE and 40 ELF samples from MalwareBazaar, but no abstract is provided.

What they found 3

  1. Token-level prompt injection flips none of 35 malicious samples, while ALIBI flips 30 of 35 on Gemini 2.5 Pro.

    “On Gemini 2.5 Pro, a token-level prompt injection variant that embeds explicit override strings flips none of the 35 baseline-malicious samples to benign, while ALIBI on the same model flips 30 of the 35.”

  2. Gemini 2.5 Pro achieves 85.7% Strict ASR, whereas GPT-5.5 Pro and Claude Opus 4.7 achieve 0% Strict ASR.

    “Gemini 2.5 Pro yields a Strict ASR of 85.7 percent, while both GPT-5.5 Pro and Claude Opus 4.7 yield zero Strict ASR.”

  3. Verification-guided prompting reduces Strict ASR from 82.9% to 42.9% and Soft ASR from 88.6% to 62.9% on the locked PE subset.

    “Strict ASR falls from 82.9 percent (29 of 35) to 42.9 percent (15 of 35), and Soft ASR from 88.6 percent (31 of 35) to 62.9 percent (22 of 35).”

Caveats 4

  • GPT-5.5 Pro and Claude Opus 4.7 show zero strict bypasses despite the high success on Gemini, indicating model-dependent effectiveness.
  • Even with verification-guided prompting, 42.9% of baseline-malicious samples still reach a benign verdict, showing the attack is not fully mitigated.
  • We assume a one-query budget per sample in the main evaluation.
  • ALIBI is not intended to defeat dynamic execution, sandboxing, signature validation, or human reverse engineering by itself.

What’s new here 4

  • Introduces a semantic cover-story attack that modifies binaries post-compilation without changing imports or behavior.
  • Targets the LLM reasoning layer rather than direct prompt injection, exploiting attacker-controlled static evidence.
  • Demonstrates cross-model (Gemini, GPT-5.5, Claude) and cross-format (PE, ELF) effectiveness.
  • Proposes verification-guided prompting as a defensive mitigation and quantifies its partial success.

Threat model stated by the source

AdversaryAttacker who can submit a modified binary to the static triage system
CapabilityAdd a non-executed read-only section and set selected metadata fields while preserving executable behavior; cannot inspect system prompt, model weights, or post-processing logic
AssumesOne-query budget per sample; Static analysis pipeline with structured evidence extraction