Anti-AIClone

Log date · Thu

Can ALIBI-style narratives mislead malware analyzers?

Binary self-descriptions are untrusted claims. ALIBI and a local toy comparison show why evidence provenance matters.

Can a binary’s own story establish trust?

No. A description in a binary is a claim supplied by the sample, so keep it separate from independently verified evidence. ALIBI reports that, in a set of 50 malicious PE files, Gemini 2.5 Pro changed 30 of 35 baseline-malicious verdicts to benign. That is not a universal success rate across models or files. [1]

We ran a small Python comparison: the same facts paired with two claims changed a deliberately keyword-based rule from benign to review, while a rule checking signature verification returned review both times. This toy illustrates a trust boundary; it is not a replication of the paper or a test of malware or an LLM.

Results at a glance
QuestionResult
PE baseline-malicious verdicts flipped in the paper?30 of 35, on Gemini 2.5 Pro.
Our keyword rule?Different results for the two claims.
Our provenance rule?Unverified signature; review both times.

What the paper measured

At 05:27 UTC on 2026-09-17, Hyeongjun Choi and co-authors submitted ALIBI v1 (arXiv 2609.19722), classified in cs.CR and cs.LG. They added a non-executed, read-only section with a false security-product story to compiled files, without changing imports or executable behavior. Instead of directly instructing the model to change its verdict, the story supplies a plausible explanation for suspicious evidence. [1][2]

The paper also reports 16 flips out of 40 ELF samples on Gemini. GPT-5.5 Pro and Claude Opus 4.7 mostly retained their labels but substantially reduced severity and confidence. A verification-guided prompt roughly halved benign verdicts, yet 42.9% of malicious samples still received benign verdicts. These are the authors’ results under their evaluation setup, not a rate to transfer directly to a production pipeline. [1]

The research concerns malware triage, not protection against app cloning. An imported symbol can show a capability without independently proving intent or observed behavior; a product name inside the file cannot establish its publisher’s identity either.

Same facts, different claims

Our Python sample fixes two facts: a local test file was written and the signature was not verified. It pairs them with two descriptions. The first contains diagnostics; the second does not. One simple rule returns benign whenever it sees that word; the other returns review unless the signature has been verified. SHA-256 identifies the same sorted fact record in both cases. A hash helps associate records; it does not establish that the record is true. [3]

Verbatim output from the run.
facts_sha256: ee49793ab2bdbe7ec024d5557ff0e4024db8715f9944e751b2b8f02327560ed6
claim='Routine diagnostics component' | naive=benign | provenance=review
claim='Unknown component' | naive=review | provenance=review
observed_action: writes a local test file
signature_verified: False

The keyword rule changes because we wrote it that way; this is not observed model behavior. The second rule is not a complete security decision either. A valid signature supports part of an identity or integrity check, not a conclusion that software is harmless; an unverified signature calls for further investigation. A real report should retain evidence origin, collection time, tool version and missing checks, rather than automatically treating review as malicious.

Recommendations by evidence type

These are workflow recommendations, not defense effectiveness measured by the toy rule. Let an analyst return to the original evidence and mark claims that have not been verified.

Recommendations: make conclusions traceable
Input or resultRecommendation
Name or description in the sampleLabel it as a sample claim; verify the publisher independently.
Signature, hash and importsRecord tool output and provenance; interpret each for what it actually establishes.
Runtime observationRecord the environment and observed actions; absence of observation is not proof of absence.
Model conclusionAttach evidence and uncertainties for analyst review.

Keep non-LLM baselines such as signature checks, SBOM comparisons and vulnerability scans, and investigate conflicting results. Do not add misleading descriptions to your own app to interfere with analysis: the paper did not evaluate that protective use, and it could trigger security-product false positives.

Reproduce and review your workflow

We ran the synthetic comparison using the Python code below; it operates only on local synthetic data. If you change a description, first check that the facts remain fixed, then compare both outputs; keep real sensitive data out of shared records.

Reproduce and inspect the sample.
python3 --version
python3 - <<'PY'
import hashlib
import json

facts = {"observed_action": "writes a local test file", "signature_verified": False}
claims = ["Routine diagnostics component", "Unknown component"]
print('facts_sha256:', hashlib.sha256(json.dumps(facts, sort_keys=True).encode()).hexdigest())
for claim in claims:
    # Deliberately naive rule: promotes the sample's claim into a verdict.
    naive = 'benign' if 'diagnostics' in claim else 'review'
    provenance = 'review' if not facts['signature_verified'] else 'verified identity'
    print(f'claim={claim!r} | naive={naive} | provenance={provenance}')
print('observed_action:', facts['observed_action'])
print('signature_verified:', facts['signature_verified'])
PY

When reviewing your own workflow, choose a build you are authorized to inspect. Record its hash, signature-verification result and tool output, then list its self-description separately. Ask the model to associate each judgment with an evidence identifier and answer “unknown” when evidence is missing. A person should check whether each cited item actually supports the conclusion: a tidy citation alone does not ensure that the model respected the boundary.

Finally, inventory strings and resources in the release and remove internal notes that should not be public. Retain the build identifier, baseline results and review decision for comparison with the next release. If a model and baseline disagree, preserve the conflict and investigate instead of recording only the more favorable conclusion.

Your checklist

  • Separate sample claims from independently verified facts.
  • Record the build hash, signature result and tool versions.
  • Keep non-LLM baselines including SBOM and vulnerability checks.
  • Review each model citation and uncertainty.
  • Inventory release strings and internal notes.

Primary sources

All sources and reproduction status ↗