← Lab /Software

Digital twin detects all tested AArch64 vulnerabilities with zero false positives

The system identifies every instance of the three evaluated CWE classes in AArch64 binaries and reports no vulnerabilities on safe traces

Software arXiv 3 Aug 2026 Method Prototype evidence

Published as “Vulnerability Detection in AArch64 Machine Code Using a Digital Twin”

Why it matters

The method shows that explainable, solver-free vulnerability detection on AArch64 binaries is feasible, but further work is needed to handle larger, real-world codebases.

Summary

The prototype detected all three vulnerable traces (integer overflow, null pointer dereference, heap buffer overflow) and produced no detection on a safe trace, demonstrating correct rule matching on concrete AArch64 execution traces; however, the evaluation was limited to only four synthetic traces and a small rule set.

What they found 2

  1. All three vulnerable traces were correctly detected and the safe trace produced no detection.

    “The prototype detected all three vulnerable traces and produced no detection on the safe trace; the results are summarized in Table 1.”

  2. Rule rCWE190 fired on an overflow addition, correctly reporting V=1 and the overflowed result.

    “In Trace 1, rule rCWE190 fired after the 32-bit addition of 0x7FFFFFFF and 0x1: the result was 0x80000000 and the overflow flag V was set, so the detection was justified by the arithmetic instruction class together with the post-instruction state satisfying V= 1 .”

Caveats 2

  • The evaluation was performed on only four synthetic traces, so the approach’s scalability and effectiveness on real firmware binaries remain unproven.
  • The current implementation is limited to concrete traces, 180 AArch64 instruction meanings, and a small rule base.

What’s new here 4

  • Combines a concrete-state digital twin of AArch64 execution with a symbolic knowledge base of vulnerability rules expressed in Kleene algebra with tests.
  • Performs detection by compiling rules into finite automata and scanning concrete traces, avoiding SMT solving during matching.
  • Provides explainable detections that link the triggered rule, trace position, and concrete machine-state values.
  • Implements a solver-free, automaton-based inference mechanism for multi-step vulnerability patterns.