← Lab /Security & privacy

LLM-generated YARA rules bypass sandbox checks for 79% of samples

ABLE can automatically generate bypass rules that succeed on 79% of malware sandbox evasion cases

Security & privacy arXiv 20 May 2026 Method Prototype evidence

Published as “A Large Language Model Approach to Generating Bypass Rules for Malware Evasion in Analysis Sandbox”

Why it matters

Automating bypass rule creation can scale malware analysis and reveal hidden behaviors that manual YARA rule crafting cannot keep up with.

Summary

ABLE bypasses malware anti-analysis checkpoints in 79% of cases, exposing hidden behavior and improving family classification by 47%. The claim is based on 334 real-world Windows PE samples run through 13,778 sandbox executions, comparing against baseline runs without bypass rules. Evidence is strong but limited to Windows PE malware and relies on LLM-generated YARA rules that often need sanitization.

What they found 3

  1. High bypass success rate

    “ABLE achieves a 79% bypass success rate, with iterative rule refinement accounting for 29.5% of successful cases.”

  2. Improved malware family classification

    “Compared to existing analysis platforms, ABLE outperforms prior approaches by identifying 47% more malware family classification and revealing previously hidden malicious behaviors.”

  3. LLM-generated rules often contain errors

    “LLM-generated YARA rules frequently contain formatting errors and syntactic mistakes”

Caveats 2

  • LLM-generated YARA rules frequently contain formatting errors and syntactic mistakes
  • Our dataset primarily consists of Windows PE malware, dominated by native Windows PE32 GUI binaries (77.8%), followed by .NET assemblies (18.3%), aligning with the scope of contemporary sandbox-based analysis.

What’s new here 4

  • Automates generation of YARA bypass rules using LLMs with iterative feedback from sandbox execution.
  • Introduces a rule sanitization pipeline that auto-corrects syntax and semantic errors in LLM-generated rules.
  • Evaluates multiple reasoning strategies (zero-shot, chain-of-thought, counterfactual, adversarial) for LLM rule generation.
  • Demonstrates a 79% bypass success rate and 47% increase in malware family classification on real-world samples.