← Lab /Security & privacy

Aray synthesizes benign fixtures for 97.6% of evaluated YARA rules

Aray can generate a matching benign artifact for 406 out of 416 public YARA rules

Security & privacy arXiv 19 Aug 2026 Method Prototype evidence

Published as “Aray: Deterministic-First Synthesis of Benign Artifacts for YARA Validation”

Why it matters

Aray enables reproducible, low-risk testing of YARA-based detection pipelines without handling live malware samples.

Summary

The paper presents Aray, a system that deterministically synthesizes benign binary artifacts that satisfy a given YARA rule, and evaluates it on 416 public YARA rules. It reports that the generated artifacts match the original upstream rules under a separate validation oracle, but the evaluation details (e.g., success rate) are not provided in the excerpt.

What they found 1

  1. Aray was evaluated on 416 public YARA rule entries using an upstream-original-rule oracle

    “• a staged end-to-end evaluation over 416 public-rule entries, using a derivativeindependent upstream-original-rule YARA oracle, a frozen handoff, and an unreachable model endpoint to isolate deterministic realization.”

Caveats 4

  • The current system is not a complete YARA solver. It does not interpret imported module semantics or solve general arithmetic and Boolean conditions.
  • Arbitrary loops, percentage counts, and prescribed whole-file cryptographic hashes are also outside its constructible subset.
  • The parser records int16 metadata, but signed witness selection is incomplete and is not part of the claimed sound fragment.
  • The lexical capability detector is not complete, so unsupported YARA forms may be over-constrained or proceed with incomplete evidence.

What’s new here 4

  • Deterministic-first methodology that separates conventional code from LLM assistance for YARA rule synthesis
  • Normalization step that creates a constructible specialization of a rule preserving sufficient evidence
  • Executable ELF and PE synthesis techniques that respect exact file offsets and format constraints
  • Scanner-oriented writers that produce scan-only artifacts without requiring a compiler toolchain