In-Context Autonomous Network Incident Response: An End-to-End Large Language Model Agent Approach
Yiran Gao, Kim Hammar, and Tao Li

TL;DR
This paper introduces an end-to-end LLM-based agent for autonomous network incident response that leverages in-context learning and pre-trained security knowledge to adaptively plan and execute responses.
Contribution
It presents a novel lightweight LLM agent integrating perception, reasoning, planning, and action for incident response without requiring handcrafted simulators.
Findings
Achieves up to 23% faster recovery compared to frontier LLMs.
Processes raw system logs to infer network state and attack models.
Refines attack conjectures through comparison of simulated and actual outcomes.
Abstract
Rapidly evolving cyberattacks demand incident response systems that can autonomously learn and adapt to changing threats. Prior work has extensively explored the reinforcement learning approach, which involves learning response strategies through extensive simulation of the incident. While this approach can be effective, it requires handcrafted modeling of the simulator and suppresses useful semantics from raw system logs and alerts. To address these limitations, we propose to leverage large language models' (LLM) pre-trained security knowledge and in-context learning to create an end-to-end agentic solution for incident response planning. Specifically, our agent integrates four functionalities, perception, reasoning, planning, and action, into one lightweight LLM (14b model). Through fine-tuning and chain-of-thought reasoning, our LLM agent is capable of processing system logs and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
