← Lab /Security & privacy

LLM-driven framework achieves 100% network port opening and 90.5% service interactivity

FirmCure can autonomously and adaptively rehost Linux-based firmware with high success rates

Security & privacy arXiv 23 Jun 2026 Method Prototype evidence

Published as “FirmCure:Towards Autonomous and Adaptive Rehosting of Linux-Based Firmware”

Why it matters

The system enables near-automatic, large-scale dynamic analysis of IoT firmware, reducing weeks of manual debugging to minutes per image.

Summary

FIRMCURE achieves 100% network port activation and 90.5% end-to-end service interactivity across 21 heterogeneous Linux-based firmware images, far surpassing prior tools that stall at 9.5%-19% interaction. It also reproduces all ten known CVEs in the test set and discovers five new vulnerabilities, demonstrating practical security impact. The evaluation is limited to 21 samples and two firmware (AX9000, XR500) still fail to reach full interaction within the 45-minute time budget.

What they found 2

  1. Full-system rehosting success rates of FIRMCURE

    “As shown in Table II, FIRMCURE reaches a 100% success rate at the Kernel, Network, and Port stages, and achieves a 90.5% end-to-end interaction rate-the only tool to systematically advance beyond early execution stages across all architectures.”

  2. Vulnerability reproduction and discovery

    “FIRMCURE reproduced all ten target CVEs and discovered five previously unknown vulnerabilities in commercial devices, confirming its utility for practical security assessment.”

Caveats 2

  • For AX9000, postexperiment analysis reveals a segmentation fault during HTTP request handling, rooted in deeply entangled dependencies across multiple proprietary daemons. The complexity of the failure pattern makes accurate root-cause identification infeasible within the bounded intervention cycles.
  • These edge cases highlight a boundary condition where the most complex modern firmware demands longer diagnostic horizons or deeper architectural knowledge than the current time budget allows, pointing to a direction for future improvement.

What’s new here 4

  • First LLM-driven full-system rehosting framework that autonomously iterates over boot and runtime failures.
  • Closed-loop pipeline with three modules (Adaptive Perception Inference, Reflective Synthesis, Autonomous Runtime Intervention) that automatically extracts hardware-independent execution context and repairs kernel parameters, filesystem, and runtime faults.
  • Multi-agent specialist system that dynamically routes observed faults to targeted experts (CrashExpert, FileExpert, WebExpert, GenericExpert).
  • Automatic generation of QEMU configuration (e.g., CPU model) based on LLM analysis of firmware metadata.