Pen-Strategist boosts pentesting strategy derivation and subtask completion
The Pen-Strategist framework improves strategy generation performance by 87% and subtask completion by 47.5% over baselines
AI/ML arXiv 6 May 2026 Method Prototype evidence
Published as “Pen-Strategist: A Reasoning Framework for Penetration Testing Strategy Formation and Analysis”
Why it matters
The framework enables on-premise, privacy-preserving automated pentesting with noticeably higher success rates than existing commercial LLM agents.
Summary
Pen-Strategist’s fine-tuned strategy model improves strategy-derivation similarity from 0.39 to 0.73 (an 87% gain) and its step classifier reaches 82.87% accuracy, both outperforming commercial LLM baselines; when integrated into PentestGPT, AutoPentester and VulnBot it raises subtask completion rates by up to 52.5%. The evidence comes from held-out test-set GEval scores, step-prediction benchmarks, and real HTB machine experiments, though the gains are limited by a modest 240-machine dataset and modest MCP prediction accuracy.
What they found 2
- GRPO fine-tuning raises strategy-generation similarity from 0.39 to 0.73 and explanation similarity from 0.45 to 0.71.
“GRPO fine-tuning significantly enhances the performance of Qwen-3-14B on both strategy and explanation similarity, with scores increasing from 0.39 to 0.73 and from 0.45 to 0.71, respectively.”
- The step model attains 82.87% step-prediction accuracy and 0.80 Micro F1, surpassing all baseline LLMs.
“Step Model (ours) 82.87 0.80”
Caveats 4
- MCP server prediction accuracy is only 48.88%, indicating limited reliability for multi-label tool selection.
- The authors note that "results from HTB experiments indicate that even fine-tuned LLMs continue to struggle with identifying correct strategies in certain pentesting tasks, primarily due to limited model scale and insufficient training on relevant data and scenarios."
- The dataset covers only 240 vulnerable machines, which may restrict generalization.
- Our dataset currently includes samples from only 240 vulnerable machines, primarily due to constraints in time and human effort.
What’s new here 4
- A domain-specific reasoning model that generates logically grounded penetration-testing strategies via reinforcement-learning fine-tuning (GRPO).
- A semantic-based dual-head CNN classifier that converts strategies into concrete steps and tool selections.
- Integration of the two models into existing automated pentesting agents (PentestGPT, AutoPentester, VulnBot) for end-to-end improvement.
- Release of a new reasoning-centric dataset containing logical explanations for strategy derivation and step selection across 240 HTB/VulnHub machines.