计算机科学
人工智能
推论
分类器(UML)
机器学习
利用
图形
背景(考古学)
无礼的
计算机安全
管道(软件)
数据挖掘
形势意识
根本原因
新颖性
基线(sea)
互换性
加权
国家(计算机科学)
Chord(对等)
软件工程
抖动
会话(web分析)
标识
DOI:10.5281/zenodo.20837998
摘要
Automated penetration testing tools execute sequences of offensive techniques but lack the ability to respond adaptively when attacks fail. Existing systems either halt on failure, repeat the same attempt indefinitely, or require manual intervention to select the next attack vector. To our knowledge, AdaptivePentest is among the first systems to explicitly combine failure classification, LLM-based root-cause analysis, and ATT&CK graph-based pivot selection in a single pipeline for autonomous penetration testing. It integrates three orthogonal recovery mechanisms: (1) an automatic failure classifier with a principled 7-category taxonomy (FailureCategory); (2) an LLM-based Root Cause Analyzer (RCA) inspired by the Reflexion framework that verbally reasons over the failure context and recommends successor techniques; and (3) a precondition/postcondition ATT&CK state graph that tracks session-wide attack progress and prunes exhausted technique nodes. We evaluate AdaptivePentest through a controlled ablation study of 50 curated attack scenarios–20 single-failure scenarios spanning all seven failure categories and 30 extended scenarios including multi-step failure chains–across five strategy variants. In the controlled setting with a deterministic mock LLM, the full system reduces Steps-to-Success (STS) by 29.3% relative to the no-recovery baseline. Under real LLM API conditions (20 single-failure scenarios, 3 independent runs), the full system reduces STS by 30.5% on average and achieves 61.7% ±7.6% Pivot Accuracy (PA@3), outperforming the LLM-only baseline (40.0% ±5.0%) but not the static-only baseline (85.0%). A key finding is that domain-specific static hints substantially outperform zero-shot LLM inference in ATT&CK-ID precision, revealing that the current naive fusion strategy is suboptimal and motivating a confidence-gated weighting approach as future work. A prototype implementation demonstrates integration at the orchestration layer; production code, operational attack modules, credentials, deployment-specific configuration, and patent-sensitive implementation details are excluded from the public artifact
科研通智能强力驱动
Strongly Powered by AbleSci AI