CoChat

Can LLMs Hack Enterprise Networks? Autonomous Assumed Breach Penetration-Testing Active Directory Networks

Happe, Andreas, Cito, Jürgen · 2026 · ACM Transactions on Software Engineering and Methodology
Cited by 17

The DOI matches its Crossref record; 12 of the 12 references it cites were found in a registry or an index.

Abstract

Traditional enterprise penetration-testing, while critical for validating defenses and uncovering vulnerabilities, is often limited by high operational costs and the scarcity of human expertise. This article investigates the feasibility and effectiveness of using Large Language Model (LLM)-driven autonomous systems to address these challenges in real-world Active Directory (AD) enterprise networks. We introduce a novel prototype, cochise , designed to employ LLMs to autonomously perform Assumed Breach penetration-testing against enterprise networks. Our system represents the first demonstration of a fully autonomous, LLM-driven framework capable of compromising accounts within a real-life Microsoft Active Directory testbed, the Game of Active Directory (GOAD). The evaluation deliberately utilizes GOAD to capture the intricate interactions and sometimes nondeterministic outcomes of live network penetration-testing, moving beyond the limitations of synthetic benchmarks. We perform our empirical evaluation using five LLMs, comparing reasoning to non-reasoning models as well as including open-weight models. Through comprehensive quantitative and qualitative analysis, incorporating insights from cybersecurity experts, we demonstrate that autonomous LLMs can effectively conduct Assumed Breach simulations. Key findings highlight their ability to dynamically adapt attack strategies, perform inter-context attacks (e.g., web application audits, social engineering, and unstructured data analysis for credentials), and generate scenario-specific attack parameters like realistic password candidates. The prototype also exhibits robust self-correction mechanisms, automatically installing missing tools and rectifying invalid command generations. Critically, we find that the associated costs are competitive with, and often significantly lower than, those incurred by professional human penetration testers, suggesting a path toward democratizing access to essential security testing for organizations with budgetary constraints. However, our research also illuminates existing limitations, including instances of LLM “going down rabbit holes,” challenges in comprehensive information transfer between planning and execution modules, and critical safety concerns that necessitate human oversight. Our findings lay foundational groundwork for future software engineering research into LLM-driven cybersecurity automation, emphasizing that the prototype’s underlying LLM-driven architecture and techniques are domain-agnostic and hold promise for improving autonomous LLM usage in broader software engineering domains. The source code, traces, and analyzed logs are open-sourced to foster collective cybersecurity and future research.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1145/3766895

Cites

12 of 12 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Show all 12 references

Research works printed but not linked: 47

  1. Ron Alford, Dean Lawrence, and Michael Kouremetis. 2022. Caldera: A Red-Blue Cyber Operations Automation Platform. MITRE, Bedford, MA.
  2. 10.1109/NCG.2018.8593188 · doi:10.1109/ncg.2018.8593188
  3. 10.1191/1478088706qp063oa · DOI · Paper page
  4. Kathy Charmaz. 2006. Constructing Grounded Theory: A Practical Guide through Qualitative Analysis. Sage.
  5. 10.4324/9781315129945 · DOI
  6. Richard Fang Rohan Bindu Akul Gupta Qiusi Zhan and Daniel Kang. 2024. Teams of LLM agents can exploit zero-day vulnerabilities. arXiv:2406.01637. Retrieved from https://arxiv.org/abs/2406.01637 · arXiv
  7. Daya Guo Dejian Yang Haowei Zhang Junxiao Song Ruoyu Zhang Runxin Xu Qihao Zhu Shirong Ma Peiyi Wang Xiao Bi et al. 2025. Deepseek-r1: Incentivizing reasoning capability in LLMs via reinforcement learning. arXiv:2501.12948. Retrieved from https://arxiv.org/abs/2501.12948 · arXiv
  8. 10.1145/3611643.3613900 · DOI
  9. Andreas Happe and Jürgen Cito. 2025. Benchmarking practices in LLM-driven offensive security: testbeds metrics and experiment design. arXiv:2504.10112. Retrieved from https://arxiv.org/abs/2504.10112. · arXiv
  10. Andreas Happe and Jürgen Cito. 2025. On the ethics of using LLMs for offensive security. arXiv:2506.08693. Retrieved from https://arxiv.org/abs/2506.08693 · arXiv
  11. Andreas Happe Aaron Kaplan and Juergen Cito. 2024. Llms as hackers: Autonomous Linux privilege escalation attacks. arXiv:2310.11409. Retrieved from https://arxiv.org/abs/2310.11409 · arXiv
  12. 10.1016/j.socscimed.2021.114523 · DOI · Paper page
  13. Isamu Isozaki Manil Shrestha Rick Console and Edward Kim. 2024. Towards automated penetration testing: Introducing LLM benchmark analysis and improvements. arXiv:2410.17141. Retrieved from https://arxiv.org/abs/2410.17141 · arXiv
  14. Aaron Jaech Adam Kalai Adam Lerer Adam Richardson Ahmed El-Kishky Aiden Low Alec Helyar Aleksander Madry Alex Beutel Alex Carney et al. 2024. OpenAI O1 system card. arXiv:2412.16720. Retrieved from https://arxiv.org/abs/2412.16720 · arXiv
  15. 10.1109/ICBATS54253.2022.9759000 · DOI
  16. 10.1016/j.eswa.2021.116198 · DOI
  17. 10.1051/e3sconf/202455601006 · DOI
  18. Robert R. King. 2006. Mastering Active Directory for Windows Server 2003. John Wiley & Sons.
  19. 10.1109/TSE.2002.1027796 · DOI · Paper page
  20. Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. 2022. Large language models are zero-shot reasoners. Advances in Neural Information Processing Systems 35 (2022), 22199–22213.
  21. He Kong Die Hu Jingguo Ge Liangxiong Li Tong Li and Bingzhen Wu. 2025. VulnBot: Autonomous penetration testing for a multi-agent collaborative framework. arXiv:2501.13411. Retrieved from https://arxiv.org/abs/2501.13411 · arXiv
  22. Xiaomin Li Zhou Yu Zhiwei Zhang Xupeng Chen Ziji Zhang Yingying Zhuang Narayanan Sadagopan and Anurag Beniwal. 2025. When thinking fails: The pitfalls of reasoning for instruction-following in LLMs. arXiv:2505.11423. Retrieved from https://arxiv.org/abs/2505.11423 · arXiv
  23. Kamilė Lukošiūtė and Adam Swanda. 2025. LLM cyber evaluations don’t capture real-world risk. arXiv250200072 [csCR]. Retrieved from https://arxiv.org/abs/2502.00072 · arXiv
  24. Lajos Muzsai David Imolai and András Lukács. 2024. HackSynth: LLM agent and evaluation framework for autonomous penetration testing. arXiv:2412.01778. Retrieved from https://arxiv.org/abs/2412.01778 · arXiv
  25. 10.1109/ISSE54508.2022.10005490 · doi:10.1109/isse54508.2022.10005490
  26. Sho Nakatani. 2025. RapidPen: Fully automated IP-to-shell penetration testing with LLM-based agents. arXiv:2502.16730. Retrieved from https://arxiv.org/abs/2502.16730 · arXiv
  27. Giulio De Pasquale, Ilya Grishchenko, Riccardo Iesari, Gabriel Pizarro, Lorenzo Cavallaro, Christopher Kruegel, and Giovanni Vigna. 2024. ChainReactor: Automated privilege escalation chain discovery via AI planning. In 33rd USENIX Security Symposium (USENIX Security 24). USENIX Association, Philadelphia, PA, 5913–5929. Retrieved from https://www.usenix.org/conference/usenixsecurity24/presentation/de-pasquale
  28. Ivo Petrov Jasper Dekoninck Lyuben Baltadzhiev Maria Drencheva Kristian Minchev Mislav Balunović Nikola Jovanović and Martin Vechev. 2025. Proof or Bluff? Evaluating LLMs on 2025 USA math olympiad. arXiv:2503.21934. Retrieved from https://arxiv.org/abs/2503.21934 · arXiv
  29. Pat Rondon Renyao Wei José Cambronero Jürgen Cito Aaron Sun Siddhant Sanyam Michele Tufano and Satish Chandra. 2025. Evaluating agent-based program repair at Google. arXiv:2501.07531. Retrieved from https://arxiv.org/abs/2501.07531 · DOI
  30. Shanto Roy Emmanouil Panaousis Cameron Noakes Aron Laszka Sakshyam Panda and George Loukas. 2023. SoK: The MITRE ATT&CK framework in research and practice. arXiv:2304.07411. Retrieved from https://arxiv.org/abs/2304.07411 · arXiv
  31. Carlos Sarraute, Olivier Buffet, and Jörg Hoffmann. 2012. POMDPs make better hackers: Accounting for uncertainty in penetration testing. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 26, 1816–1824.
  32. Carlos Sarraute Olivier Buffet and Jörg Hoffmann. 2013. Penetration testing== POMDP solving? arXiv:1306.4714. Retrieved from https://arxiv.org/abs/1306.4714 · arXiv
  33. Minghao Shao Boyuan Chen Sofija Jancheska Brendan Dolan-Gavitt Siddharth Garg Ramesh Karri and Muhammad Shafique. 2024. An empirical evaluation of LLMs for solving offensive security challenges. arXiv:2402.11814. Retrieved from https://arxiv.org/abs/2402.11814 · arXiv
  34. Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. 2024. Reflexion: Language agents with verbal reinforcement learning. In Advances in Neural Information Processing Systems, Vol. 36.
  35. Brian Singer Keane Lucas Lakshmi Adiga Meghna Jain Lujo Bauer and Vyas Sekar. 2025. On the feasibility of using LLMs to execute multistage network attacks. arXiv:2501.16466. Retrieved from https://arxiv.org/abs/2501.16466 · arXiv
  36. 10.1109/SP.2010.25 · DOI · Paper page
  37. V. Stafford. 2020. Zero trust architecture. NIST Special Publication 800, 207 (2020), 800–207.
  38. Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Fei Xia, Ed Chi, Quoc V. Le, Denny Zhou, et al. 2022. Chain-of-thought prompting elicits reasoning in large language models. Advances in Neural Information Processing Systems 35 (2022), 24824–24837.
  39. Benlong Wu Guoqiang Chen Kejiang Chen Xiuwei Shang Jiapeng Han Yanru He Weiming Zhang and Nenghai Yu. 2024. AutoPT: How far are we from the End2End automated web penetration testing? arXiv:2411.01236. Retrieved from https://arxiv.org/abs/2411.01236 · arXiv
  40. Siwei Wu Zhongyuan Peng Xinrun Du Tuney Zheng Minghao Liu Jialong Wu Jiachen Ma Yizhi Li Jian Yang Wangchunshu Zhou et al. 2024. A comparative study on reasoning patterns of OpenAI’s o1 model. arXiv:2410.13639. Retrieved from https://arxiv.org/abs/2410.13639 · arXiv
  41. Jiacen Xu Jack W. Stokes Geoff McDonald Xuesong Bai David Marshall Siyue Wang Adith Swaminathan and Zhou Li. 2024. Autoattacker: A large language model guided system to implement automatic cyber-attacks. arXiv:2403.01038. Retrieved from https://arxiv.org/abs/2403.01038 · arXiv
  42. An Yang Anfeng Li Baosong Yang Beichen Zhang Binyuan Hui Bo Zheng Bowen Yu Chang Gao Chengen Huang Chenxu Lv et al. 2025. Qwen3 technical report. arXiv:2505.09388. Retrieved from https://arxiv.org/abs/2505.09388 · arXiv
  43. John Yang Carlos E. Jimenez Alexander Wettig Kilian Lieret Shunyu Yao Karthik Narasimhan and Ofir Press. 2024. Swe-agent: Agent-computer interfaces enable automated software engineering. arXiv:2405.15793. Retrieved from https://arxiv.org/abs/2405.15793 · arXiv
  44. 10.3724/SP.J.1042.2022.00511 · DOI
  45. Andy K. Zhang Neil Perry Riya Dulepet Joey Ji Justin W. Lin Eliot Jones Celeste Menders Gashon Hussein Samantha Liu Donovan Jasper et al. 2024. Cybench: A framework for evaluating cybersecurity capabilities and risks of language models. arXiv:2408.08926. Retrieved from https://arxiv.org/abs/2408.08926 · arXiv
  46. Zhuosheng Zhang Aston Zhang Mu Li and Alex Smola. 2022. Automatic chain of thought prompting in large language models. arXiv:2210.03493. Retrieved from https://arxiv.org/abs/2210.03493 · arXiv
  47. Tianyang Zhong Zhengliang Liu Yi Pan Yutong Zhang Yifan Zhou Shizhe Liang Zihao Wu Yanjun Lyu Peng Shu Xiaowei Yu et al. 2024. Evaluation of openai o1: Opportunities and challenges of agi. arXiv:2409.18486. Retrieved from https://arxiv.org/abs/2409.18486 · arXiv

Metadata

Authors
Happe, A., & Cito, J.
Venue
ACM Transactions on Software Engineering and Methodology
Published
2026-05-13
Volume
35
Issue
6
Pages
1-54
ISSN
  • 1049-331X
  • 1557-7392
Cited by
17
References
12
Language
en

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: Can LLMs Hack Enterprise Networks? Autonomous Assumed Breach Penetration-Testing Active Directory Networks. https://app.cochat.ai/papers/10.1145/3766895
The paper
Happe, A., & Cito, J. (2026). Can LLMs Hack Enterprise Networks? Autonomous Assumed Breach Penetration-Testing Active Directory Networks. ACM Transactions on Software Engineering and Methodology. https://doi.org/10.1145/3766895

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.