Proceedings

Adaptive Wizard for Removing Cross-Tier Misconfigurations in Active Directory

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 7661-7669.

https://doi.org/10.24963/ijcai.2025/852

Abstract

Security vulnerabilities in Windows Active Directory (AD) systems are typically modeled using an attack graph and hardening AD systems involves an iterative workflow: security teams propose an edge to remove, and IT operations teams manually review these fixes before implementing the removal. As verification requires significant manual effort, we formulate an Adaptive Path Removal Problem to minimize the number of steps in this iterative removal process. In our model, a wizard proposes an attack path in each step and presents it as a set of multiple-choice options to the IT admin. The IT admin then selects one edge from the proposed set to remove. This process continues until the target t is disconnected from source s or the number of proposed paths reaches B. The model aims to optimize the human effort by minimizing the expected number of interactions between the IT admin and the security wizard. We first prove that the problem is #P-hard. We then propose a set of solutions including an exact algorithm, an approximate algorithm, and several scalable heuristics. Our best heuristic, called DPR, can operate effectively on larger-scale graphs compared to the exact algorithm and consistently outperforms the approximate algorithm across all graphs. We verify the effectiveness of our algorithms on several synthetic AD graphs and an AD attack graph collected from a real organization.

  1. [Allen et al., 2017] Sarah R Allen, Lisa Hellerstein, Devorah Kletenik, and Tonguc ¸Ünlüyurt. Evaluation of monotone dnf formulas. Algorithmica, 77:661-685, 2017.
  2. [Christodoulou, 2019] Petros Christodoulou. Soft actor- critic for discrete action settings. arXiv preprint arXiv:1910.07207, 2019.
  3. [Deshpande et al., 2014] Amol Deshpande, Lisa Hellerstein, and Devorah Kletenik. Approximation algorithms for stochastic boolean function evaluation and stochastic sub- modular set cover. In Proceedings of the twenty-fifth annual ACM-SIAM Symposium on Discrete Algorithms, pages 1453-1466. SIAM, 2014.
  4. [Dunagan et al., 2009] John Dunagan, Alice X Zheng, and Daniel R Simon. Heat-ray: combating identity snow- ball attacks using machinelearning, combinatorial opti- mization and attack graphs. In Proceedings of the ACM SIGOPS 22nd symposium on Operating systems princi- ples, pages 305-320, 2009.
  5. [Goel et al., 2022] Diksha Goel, Max Hector Ward-Graham, Aneta Neumann, Frank Neumann, Hung Nguyen, and Mingyu Guo. Defending active directory by combining neural network based dynamic program and evolutionary diversity optimisation. In Proceedings of the Genetic and Evolutionary Computation Conference, pages 1191-1199, 2022.
  6. [Goel et al., 2023] Diksha Goel, Aneta Neumann, Frank Neumann, Hung Nguyen, and Mingyu Guo. Evolving reinforcement learning environment to minimize learner's achievable reward: An application on hardening active di- rectory systems. GECCO '23: Genetic and Evolutionary Computation Conference, 2023, 2023, 2023.
  7. [Golovin and Krause, 2011] Daniel Golovin and Andreas Krause. Adaptive submodularity: Theory and applications in active learning and stochastic optimization. Journal of Artificial Intelligence Research, 42:427-486, 2011.
  8. [Guo et al., 2022] Mingyu Guo, Jialiang Li, Aneta Neu- mann, Frank Neumann, and Hung Nguyen. Practical fixed-parameter algorithms for defending active directory style attack graphs. In Proceedings of the AAAI Confer- ence on Artificial Intelligence, volume 36, pages 9360- 9367, 2022.
  9. [Guo et al., 2023] Mingyu Guo, Max Ward, Aneta Neu- mann, Frank Neumann, and Hung Nguyen. Scalable edge blocking algorithms for defending active directory style at- tack graphs. In Proceedings of the AAAI Conference on Ar- tificial Intelligence, volume 37, pages 5649-5656, 2023.
  10. [Guo et al., 2024] Mingyu Guo, Jialiang Li, Aneta Neu- mann, Frank Neumann, and Hung Nguyen. Limited query graph connectivity test. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 20718-20725, 2024.
  11. [Kaplan et al., 2005] Haim Kaplan, Eyal Kushilevitz, and Yishay Mansour. Learning with attribute costs. In Pro- ceedings of the thirty-seventh annual ACM symposium on Theory of computing, pages 356-365, 2005.
  12. [Knudsen and Schmitt, 2023] Jonas Bülow Knudsen and Alexander Schmitt. Hidden pathways: Exploring the anatomy of acl-based active directory attacks and build- ing strong defenses. https://troopers.de/troopers23/talks/ 33fcyz/, 2023. Link
  13. [Knudsen, 2021] Jonas Bülow Knudsen. Improhound: Iden- tify the attack paths in bloodhound breaking your ad tier- ing. https://github.com/improsec/ImproHound, 2021. Link
  14. [Microsoft, 2024a] Microsoft. Best practice guide for securing active directory installations. https://learn.microsoft.com/en-us/windows-server/ identity/ad-ds/plan/security-best-practices/ best-practices-for-securing-active-directory# reduce-active-directory-attack-surface, 2024. Link
  15. [Microsoft, 2024b] Microsoft. Mitigating pass-the-hash (pth) attacks and other credential theft, version 1 and 2. https://www.microsoft.com/en-au/download/details. aspx?id=36036, 2024. Link
  16. [Ngo et al., 2024a] Huy Ngo, Mingyu Guo, and Hung Nguyen. Optimizing cyber response time on temporal ac- tive directory networks using decoys. In Proceedings of the Genetic and Evolutionary Computation Conference, pages 1309-1317, 2024.
  17. [Ngo et al., 2024b] Huy Q Ngo, Mingyu Guo, and Hung Nguyen. Catch me if you can: Effective honeypot place- ment in dynamic ad attack graphs. In IEEE INFOCOM 2024-IEEE Conference on Computer Communications, pages 451-460. IEEE, 2024.
  18. [Ngo et al., 2025] Huy Quang Ngo, Mingyu Guo, and Hung Nguyen. Adaptive wizard for removing cross-tier miscon- figurations in active directory (extended version). https: //arxiv.org/abs/2505.01028, 2025. Link
  19. [Nguyen et al., 2024] Nhu Long Nguyen, Nickolas Falkner, and Hung Nguyen. Adsynth: Synthesizing realistic active directory attack graphs. In 2024 54th Annual IEEE/IFIP International Conference on Dependable Systems and Net- works (DSN), pages 66-74. IEEE, 2024.
  20. [Peng et al., 2019] You Peng, Ying Zhang, Xuemin Lin, Wenjie Zhang, Lu Qin, and Jingren Zhou. Hop- constrained st simple path enumeration: Towards bridging theory and practice. Proc. VLDB Endow., 13(4):463-476, 2019.
  21. [Robbins, 2023] Andy Robbins. "bloodhound: Six degrees of domain admin. https://github.com/BloodHoundAD/ BloodHound, 2023. Accessed: 2022-08-02. Link
  22. [Schulman et al., 2017] John Schulman, Filip Wolski, Pra- fulla Dhariwal, Alec Radford, and Oleg Klimov. Prox- imal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.
  23. [Short and Domagalski, 2013] Matthew W Short and Ja- son E Domagalski. Iron deficiency anemia: evaluation and management. American family physician, 87(2):98-104, 2013.
  24. [Sun et al., 1996] Xiaorong Sun, Steve Y Chiu, and Louis Anthony Cox. A hill-climbing approach for opti- mizing classification trees. In Learning from Data: Artifi- cial Intelligence and Statistics V, pages 109-117. Springer, 1996.
  25. [Ünlüyurt, 2004] Tonguc ¸Ünlüyurt. Sequential testing of complex systems: a review. Discrete Applied Mathemat- ics, 142(1-3):189-205, 2004.
  26. [Yu et al., 2023] Zheng Yu, Yikuan Li, Joseph Kim, Kaixuan Huang, Yuan Luo, and Mengdi Wang. Deep reinforce- ment learning for cost-effective medical diagnosis. arXiv preprint arXiv:2302.10261, 2023.
  27. [Zhang et al., 2023] Yumeng Zhang, Max Ward, Mingyu Guo, and Hung Nguyen. A scalable double oracle algo- rithm for hardening large active directory systems. The 18th ACM ASIA Conference on Computer and Communi- cations Security (ACM ASIACCS), 2023.
  28. [Zhang et al., 2024] Yumeng Zhang, Max Ward, and Hung Nguyen. Practical anytime algorithms for judicious par- titioning of active directory attack graphs. In 33rd Inter- national Joint Conference on Artificial Intelligence, pages 7074-7081. International Joint Conferences on Artificial Intelligence, 2024. IJCAI
  29. [Zheng et al., 2011] Alice X Zheng, John Dunagan, and Ashish Kapoor. Active graph reachability reduction for network security and software engineering. In IJCAI Proceedings-International Joint Conference on Artificial Intelligence, volume 22, page 1750, 2011. IJCAI

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards