Skip to content

ALIoTh: Orchestrating multi-agent LLMs for autonomous IoT penetration testingALIoTh: Orchestrating Multi-Agent LLMs for Autonomous IoT Penetration Testing

arXiv: 其他 AI 安全论文· arXiv:2611.25809· Pironti Francesco Aurelio, Arena Luigi, Blefari Francesco, Lupinacci Matteo, Romeo Francesco, Maresca AlessioUniversity of CalabriaIndexed by this site · 5 days ago· Originally publishedAttacks· Its place in the scan record →

Quick read

Other

Based on the paper PDF (AI-generated); refer to the original

The authors propose ALIoTh: a multi-agent LLM framework based on LangGraph and Self-RAG for autonomous penetration testing of IoT/IIoT; the paper only presents the architecture and evaluation plan, and experiments are still ongoing.

Questions
IoT devices are heterogeneous with diverse protocols, and traditional penetration testing is costly and time-consuming; the authors believe existing LLM automated penetration solutions are not designed for IoT/IIoT environments.
Methods
Proposes ALIoTh: uses LangGraph to orchestrate Retriever, Planner, and multiple Executor agents divided by MITRE ATT&CK stage, combined with a Self-RAG knowledge base and an IoT-specific toolset, with planning separated from execution.
Experiments and results
The paper reports no experimental results: it only defines a Smart Home testbed containing three devices with known vulnerabilities and metrics such as TRCE and SR, and the authors state that experimental activities are ongoing.
Limitations and future work
The authors state that future work will extend the formal structure of customer data and address the scalability of the Planner Agent; automated modeling of the device inventory is out of scope for this paper; the paper ran no LLM experiments.
Experimental setup含三台已知漏洞 IoT 设备的 Smart Home 实验子网(IP Camera、Smart Plug、MQTT Gateway) · Time to RCE (TRCE)、Time to Shell (TShell) et al.
Threat model
The victim system is an IoT/IIoT network (in the evaluation, a Smart Home subnet containing three devices with known vulnerabilities); it is assumed the attacker can access the subnet, and the client provides an inventory of networked devices (hostname, vendor, model, software version) at the start of the test. The system autonomously completes the attack chain including reconnaissance, exploitation, and privilege escalation.
Benchmarks
含三台已知漏洞 IoT 设备的 Smart Home 实验子网(IP Camera、Smart Plug、MQTT Gateway)
Metrics
Time to RCE (TRCE)Time to Shell (TShell)Time to Root (TRoot)Token Consumption (Toktotal)Success Rate (SR)
AI summaryALIoTh is a multi-agent penetration testing framework that integrates LLM agents in a Self-RAG architecture to autonomously identify and exploit vulnerabilities in IoT and IIoT environments. The framework uses LangGraph to orchestrate specialized agents that perform enumeration, vulnerability assessment, attack payload generation, reverse shell deployment, and privilege escalation. Self-RAG enables expert agents to retrieve IoT security documentation and known attack techniques, enhancing reasoning in multi-device exploitation scenarios.

ALIoTh is a multi-agent penetration testing framework that integrates LLM agents in a Self-RAG architecture to autonomously identify and exploit vulnerabilities in IoT and IIoT environments. The framework uses LangGraph to orchestrate specialized agents that perform enumeration, vulnerability assessment, attack payload generation, reverse shell deployment, and privilege escalation. Self-RAG enables expert agents to retrieve IoT security documentation and known attack techniques, enhancing reasoning in multi-device exploitation scenarios.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Addressing the problem of automating penetration testing in IoT/IIoT environments: the authors propose the multi-agent LLM framework ALIoTh, which currently has only an architecture and an evaluation plan.

    Core problem: how to automate a complete penetration test, from information gathering to privilege escalation and lateral movement, in an IoT/IIoT environment composed of heterogeneous devices (smart plugs, cameras, smart locks, etc.).

    • Scenario and motivation: the authors state that IoT devices are rapidly proliferating in enterprises and are often vulnerable, and that traditional penetration testing (PT) is costly and time-consuming and hard to scale; IoT devices differ in protocols and firmware and also require multi-stage attacks coordinated across devices, making automation harder.
    • Shortcomings of existing methods: the authors believe a single agent with a broad knowledge base does not meet the bar for task completion; existing LLM automated penetration solutions are not designed for IoT/IIoT environments (in Table I, CRAKEN, Incalmo, CAI, and MeTeOr all have ✗ for IoT/IIoT Support).
    • Core hypothesis: the authors believe a "mixture of experts"-style division of labor is more effective—each expert agent is responsible only for a narrow task and holds deep knowledge of the corresponding tools, which is more precise than a single agent.
    • Paper output: proposes ALIoTh, a multi-agent penetration testing framework orchestrated with LangGraph and combined with Self-RAG, covering network/device/service enumeration, vulnerability assessment, payload generation, reverse shell deployment, and privilege escalation; the paper presents the architecture, prompt design, formal planning model, and evaluation plan, but experiments are still ongoing.
    • Threat model (evaluation setup, Section V-A):
      • Victim system: a Smart Home subnet containing three devices with known vulnerabilities (IP Camera, Smart Plug, MQTT Gateway).
      • Attacker capability: assumes the attacker can access the subnet.
      • Prior information: the client provides an inventory of networked devices (hostname, vendor, model, software version) at the start of the test.
      • Attack goal: autonomously complete the full attack chain including reconnaissance, exploitation, reverse shell, and privilege escalation.
  2. What related research exists?

    The related work is divided into two groups: LLM agents and RAG foundations, and automated penetration testing systems; the authors state that existing LLM penetration testing systems do not support IoT/IIoT.

    Foundations of LLM agents and multi-agent systems

    • Wooldridge [13] and Xi et al. [14], Wang et al. [15]—conceptual surveys of agents and LLM agents: LLMs as reasoning and planning components that can call external tools and iteratively judge whether further reasoning is needed.
    • Shazeer et al. [12]—sparsely-gated mixture-of-experts; the authors use its "division of experts" idea to argue that multi-agent specialization is superior to a single agent.
    • Webb et al. [25]—brain-inspired agent architecture; ALIoTh's planning/execution separation design is built on it (the paper says building upon [11], [23], with the separation idea cited from [25]).

    RAG and Self-RAG

    • LangChain [17], LlamaIndex [18], Langdroid [19]—popular frameworks for building agentic RAG systems; this paper uses LangGraph [16] for multi-agent orchestration.
    • Asai et al. [20]—Self-RAG, which improves retrieval and generation quality through reflective verification steps (retrieval relevance, whether the answer is supported by documents, whether it is useful); it is the basis of ALIoTh's knowledge mechanism.

    Automated penetration testing systems

    • MeTeOr [22]—a modular, model-based penetration testing orchestration framework that uses a centralized knowledge base to guide test planning and reduce manual effort.
    • CRAKEN [11]—an LLM agent based on a CTF writeups knowledge base, combining Self-RAG and Graph-RAG; the authors claim it outperforms prior methods on the NYU CTF and MITRE ATT&CK benchmarks.
    • Incalmo [23]—a high-level abstraction framework that lets LLMs reason with high-level actions, which expert agents translate into low-level commands; the authors claim that on MHBench (10 Linux multi-host environments) it enables smaller LLMs to fully succeed in half of the scenarios.
    • CAI [24]—an open-source, modular, agent-centric security testing framework aimed at vulnerability discovery.
    • PETIoT [21]—an IoT-oriented Kill Chain that guides VAPT through unified attack and defense phases; it has discovered previously unknown vulnerabilities on a TP-Link Tapo C200 camera.

    Comparison and positioning: Table I compares along five dimensions—LLM Agents, multi-agent collaboration, autonomous tool execution, IoT/IIoT support, knowledge integration: CRAKEN, Incalmo, CAI, and MeTeOr all have ✗ for IoT/IIoT Support, and only ALIoTh has ✓, with knowledge integration being Self-RAG + vulnerability intelligence. The authors state that to their knowledge there is currently no such LLM penetration testing solution designed specifically for IoT/IIoT environments. This paper has no experimental baseline comparison (experiments were not conducted).

  3. How does the paper address this problem?

    ALIoTh uses LangGraph to orchestrate Retriever, Planner, and Executor agents divided by MITRE ATT&CK stage, combined with a Self-RAG knowledge base and an IoT-specific toolset.

    Overall approach: ALIoTh splits penetration testing into two layers, "strategic planning + tactical execution," completed collaboratively by multiple LLM agents that each have their own prompts, knowledge bases, and tool sets, with knowledge dynamically retrieved and injected via Self-RAG.

    Role division and knowledge bases

    • Retriever Agent: parses the device inventory provided by the client, retrieves device-related information through search engines (e.g., DuckDuckGo) and vulnerability databases (NVD, MITRE ATT&CK, Snyk, Variot, etc.), and automatically injects discovered vulnerabilities and context into the corresponding Executor's knowledge base.
    • Planner Agent: prohibited from directly executing tools; only generates a high-level attack graph (JSON task list) mapped to MITRE ATT&CK phases; when a path fails, it dynamically replans based on Executor feedback and can pivot to other devices in the network.
    • Executor Agents: each agent specializes in one MITRE ATT&CK phase, has a role prompt, domain knowledge base, and tool set, and is responsible for specific tool invocation and output parsing.
    • Knowledge base contents: the Planner's KB stores attack methodologies and tactics (often modeled after MITRE ATT&CK); the Executor's KB stores phase-related documents, tool usage guides, invocation examples, and error code explanations.

    Three shared capabilities

    1. Self-RAG: agents query their own KB through built-in retrieval tools to enhance reasoning, including reflective verification (Figure 1).
    2. Shared report: a collaboration object that stores execution results and supports asynchronous coordination among agents; Executors write their output after completing tasks, and the Planner uses it to refine subsequent decisions.
    3. Command execution interface: executes shell commands in a controlled, non-interactive terminal environment.

    Formal model of planning

    • The environment is modeled as a dynamic knowledge graph Gt = (Vt, Et), where Vt is discovered assets and states and Et is potential attack vectors; the Planner's goal is to find an action sequence that maximizes exploitation reward R while satisfying safety constraints C.
    • Action selection: at+1 = argmaxa ∈ A(Vt) {P(success|Srag, ht) · I(a) − λ · R(a)}, where I(a) is action impact (corresponding to the CVSS severity score), R(a) is operational risk (e.g., likelihood of service disruption), and λ ∈ [0,1] balances impact and risk—high λ is more conservative, low λ is more aggressive.

    IoT-specific tool set

    • General tools: Nmap, OpenVAS, CVE-Search, Hydra, SQLMap, CMSmap.
    • IoT protocols and firmware: mosquitto_client, coap-client (IIoT lightweight messaging protocols), bettercap and gatttool (BLE analysis), binwalk (firmware static analysis, extracting file systems and hardcoded keys).

    Anti-hallucination and safety guardrails

    • Anti-hallucination: Executors are equipped with domain knowledge of target protocols (RTSP, MQTT, HTTP) and tool descriptions containing extended syntax specifications; the Shared Board persistently records issued commands and outputs for use in subsequent reasoning, reducing repeated exploration.
    • Human-in-the-Loop: when the Planner cannot infer a safe next step, or an operation is classified as High Impact (e.g., firmware modification), it hands part of the report to the operator to request guidance.
    • kill-switch: a deterministic mechanism at the Executor layer; when the Planner attempts to schedule potentially destructive techniques (e.g., DoS against critical nodes), the guardrail tool analyzes the shared state and preemptively aborts execution, feeding a negative reward back to the Planner.

    Orchestration is implemented with LangGraph, providing execution flow control, lifecycle management, and inter-agent communication. Section IV-A gives the complete system prompts for the three roles: Retriever, Planner, and Executor.

  4. What experiments did the paper conduct?

    The paper reports no experimental results: it only defines a Smart Home testbed containing three devices with known vulnerabilities and five performance metrics, and the experimental activities are still ongoing.

    Experimental setup

    • Status: the paper explicitly states that, as of writing, experimental activities are still ongoing; Section V only describes the experimental design and performance metrics, and the full text contains no results tables or results figures.
    • Testbed: a Smart Home subnet containing three target IoT devices with known vulnerabilities: Target A (IP Camera, old firmware, with RTSP stream hijacking and default credential vulnerabilities), Target B (Smart Plug, with command injection via a custom HTTP header), Target C (MQTT Gateway, configured with anonymous access that allows unauthorized topic subscription).
    • Assumption: the attacker can access this subnet.
    • Models under test: the paper does not state which LLMs will be used; it only mentions that the framework is "leveraging state-of-the-art language models" without giving specific model names.
    • Metrics (Section V-B, planned to be systematically collected in the full evaluation phase): Time to RCE (TRCE, time from first interaction to successful remote code execution), Time to Shell (TShell), Time to Root (TRoot), Token Consumption (Toktotal, total number of LLM tokens exchanged in the attack workflow), Success Rate (SR, ratio of successful exploits to total attempts).
    • Number of repetitions: the paper states that these metrics will be used to "derive aggregate statistics over multiple runs," but does not specify the number of runs.

    Main results

    The paper reports no main results. Section V only gives the evaluation protocol, testbed, and metric definitions; the authors state that experimental activities are ongoing, so there is no results table to list.

    Other experiments

    The paper reports no other experiments, ablations, or parameter analyses. Section V-C describes the design of anti-hallucination and safety guardrail mechanisms (Shared Board, Human-in-the-Loop, kill-switch) but gives no evaluation data on their effectiveness.

    Other ablations and analyses

    None. The paper contains no ablation experiments; parameters such as λ are given only definitions and qualitative effects (high λ is more conservative, low λ is more aggressive), with no values or sweep results.

  5. What are some points that can be further explored?

    The authors state that future work will extend the formalized structure of customer data and address Planner scalability; the paper did not run any LLM experiments, and all results are missing.

    Limitations and future directions noted by the authors

    • Formal structure of customer data: the Conclusion (Section VI) states that future work will extend the formal structure of customer data.
    • Scalability of the Planner Agent: the Conclusion states that future work will address the scalability of the Planner Agent under large-scale IoT networks.
    • Automated device inventory: Section IV states that the device inventory at the start of testing is provided by the customer, and that automation of this stage and the data formalization model are out of scope for this paper.

    Experimental coverage

    • The paper ran no experiments involving LLMs: Section V states that experimental activities are ongoing, and the full text contains no result data.
    • The evaluation design covers only one Smart Home subnet and three devices with known vulnerabilities (IP Camera, Smart Plug, MQTT Gateway), see Section V-A.
    • The paper does not report which LLMs will be used, the specific models behind each agent, the number of runs, token budgets, or time costs.
    • Key mechanisms in the architecture (Self-RAG retrieval, Human-in-the-Loop escalation, kill-switch, λ risk trade-off) have only design descriptions, with no experiments demonstrating their effectiveness.
    • The comparison with CRAKEN, Incalmo, CAI, and MeTeOr in Table I is only a feature-dimension comparison, with no performance benchmark comparison.
  6. Summarize the main content of the paper

    ALIoTh is a design paper for a multi-agent LLM penetration testing framework for IoT/IIoT: the architecture, prompts, formal model and evaluation plan are all in place, but there are no experimental results.

    A framework design paper aimed at automating penetration testing for IoT/IIoT, whose core contribution is architectural rather than empirical.

    • Problem: the authors state that IoT devices are heterogeneous with diverse protocols, and that traditional penetration testing is costly and time-consuming; existing LLM automated penetration testing systems (CRAKEN, Incalmo, CAI, MeTeOr) all do not support IoT/IIoT in Table I.
    • Method: ALIoTh uses LangGraph to orchestrate three types of agents—Retriever retrieves vulnerability intelligence and populates the knowledge base, Planner generates high-level attack graphs according to MITRE ATT&CK and replans dynamically, and multiple Executors each specialize in one attack stage and invoke tools such as Nmap, Hydra, mosquitto_client, and binwalk. All agents share Self-RAG retrieval, a shared report, and a non-interactive command execution interface; planning and execution are strictly separated.
    • Formalization: the Planner's action selection is modeled as maximizing "success probability × CVSS impact − λ × operational risk" on a dynamic knowledge graph, with λ ∈ [0,1] adjusting aggressiveness.
    • Safety mechanisms: the Shared Board reduces hallucination and duplicate exploration; High Impact operations (e.g., firmware modification) trigger Human-in-the-Loop; a deterministic kill-switch at the Executor layer blocks destructive techniques (e.g., DoS against critical nodes) and feeds back a negative reward.
    • Results: the paper reports no experimental results. The evaluation plan is a Smart Home subnet containing three devices with known vulnerabilities, with metrics TRCE, TShell, TRoot, Toktotal, and SR; the authors state that experimental activities are ongoing.
    • Authors' conclusion: the authors state that ALIoTh's modular design and self-reflective retrieval address long-standing challenges in automating IoT security assessment; future work will extend the formal structure of customer data and address Planner scalability.
Read originalarxiv.org