Proceedings

Practical Anytime Algorithms for Judicious Partitioning of Active Directory Attack Graphs

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 7074-7081.

https://doi.org/10.24963/ijcai.2024/782

Abstract

Given a directed graph, a set of source nodes, a target node and a budget, we study the problem of maximizing the number of source nodes disconnected from the target node by removing edges not exceeding the budget. Our model is mainly motivated by a cyber security use case where we need to minimize the attack surface of a Windows Active Directory system. In these high-profile attacks, the attackers first compromise a source (i.e., a compromised user node) and then laterally move to a destination (i.e., a high-privileged admin node). Our aim is to minimize the number of users with a path to the admin.

We first prove that the problem is NP-hard. Algorithms for exact optimality usually struggle to converge on graphs that approach real-world network scales and therefore are not practical for usage. In light of this, we study anytime algorithms that return an acceptable result whenever the algorithm is terminated, and can improve optimality by allowing longer computational time. We observe the source connectivity of directed graphs, based on which we propose a novel anytime algorithm---the spiral algorithm. We also develop two Monte Carlo Tree Search (MCTS) algorithms as a baseline to study the performance of typical anytime algorithms for our problem, and show that the spiral algorithm improves the optimality at a significantly faster speed and therefore exhibits better anytime behavior compared with MCTS.

  1. [Auer et al., 2002] Peter Auer, Nicolo Cesa-Bianchi, and Paul Fischer. Finite-time analysis of the multiarmed bandit problem. Machine learning, 47:235-256, 2002.
  2. [Barik et al., 2016] Mridul Sankar Barik, Anirban Sengupta, and Chandan Mazumdar. Attack graph generation and analysis techniques. Defence science journal, 66(6):559, 2016.
  3. [Bollobás and Scott, 2002] Béla Bollobás and Alex D Scott. Problems and results on judicious partitions. Random Structures & Algorithms, 21(3-4):414-430, 2002.
  4. [Bollobás and Scott, 2004] Béla Bollobás and Alex D Scott. Judicious partitions of bounded-degree graphs. Journal of Graph Theory, 46(2):131-143, 2004.
  5. [Bouillot and Gras, 2014] Lucas Bouillot and Emmanuel Gras. Chemins de contrôle en environnement active di- rectory. Proceedings of the SSTIC conférence 2014, 2014.
  6. [Corneil and Perl, 1984] Derek G Corneil and Yehoshua Perl. Clustering and domination in perfect graphs. Dis- crete Applied Mathematics, 9(1):27-39, 1984.
  7. [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.
  8. [Fjällström, 1998] Per-Olof Fjällström. Algorithms for graph partitioning: A survey. Linköping University Elec- tronic Press, 1998.
  9. [Garey et al., 1976] M.R. Garey, D.S. Johnson, and L. Stockmeyer. Some simplified np-complete graph problems. Theoretical Computer Science, 1(3):237-267, 1976.
  10. [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.
  11. [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.
  12. [Korte and Vygen, 2012] Bernhard Korte and Jens Vygen. Network flows. Combinatorial Optimization: Theory and Algorithms, pages 173-209, 2012.
  13. [Krishnamoorthi and Carleton, 2020] Swetha Krishnamoor- thi and Jarad Carleton. Active directory holds the keys to your kingdom, but is it secure? https://www.frost.com/ frost-perspectives/active-directory-holds-the-keys-to-you r-kingdom-but-is-it-secure/, 2020. Link
  14. [Lallie et al., 2020] Harjinder Singh Lallie, Kurt Debattista, and Jay Bal. A review of attack graph and attack tree vi- sual syntax in cyber security. Computer Science Review, 35:100219, 2020.
  15. [Lee et al., 2016] Choongbum Lee, Po-Shen Loh, and Benny Sudakov. Judicious partitions of directed graphs. Random Structures & Algorithms, 48(1):147-170, 2016.
  16. [Ngo et al., 2024] Huy Quang Ngo, Mingyu Guo, and Hung Nguyen. Catch me if you can: Effective honeypot place- ment in dynamic ad attack graphs. in Procs. of the IEEE Infocom, 2024, 2024.
  17. [Ortalo et al., 1999] Rodolphe Ortalo, Yves Deswarte, and Mohamed Kaâniche. Experimenting with quantitative evaluation tools for monitoring operational security. IEEE Transactions on Software Engineering, 25(5):633-650, 1999.
  18. [Ou et al., 2006] Xinming Ou, Wayne F. Boyer, and Miles A. McQueen. A scalable approach to attack graph generation. In Proceedings of the 13th ACM Conference on Computer and Communications Security, CCS '06, page 336-345, New York, NY, USA, 2006. Association for Computing Machinery.
  19. [Phillips and Swiler, 1998] Cynthia Phillips and Laura Painton Swiler. A graph-based system for network-vulnerability analysis. In Proceedings of the 1998 Workshop on New Security Paradigms, NSPW '98, page 71-79, New York, NY, USA, 1998. Association for Computing Machinery.
  20. [Ritchey and Ammann, 2000] Ronald W Ritchey and Paul Ammann. Using model checking to analyze network vul- nerabilities. In Proceeding 2000 IEEE Symposium on Security and Privacy. S&P 2000, pages 156-165. IEEE, 2000.
  21. [Robbins et al., 2016] Andy Robbins, Rohan Vazarkar, and Will Schroeder. Bloodhound: Six degrees of domain ad- min. https://bloodhound.readthedocs.io/en/latest/index.ht ml, 2016. Accessed: 2022-12-14. Link
  22. [Schneier, 1999] Bruce Schneier. Attack trees. Dr. Dobb's journal, 24(12):21-29, 1999.
  23. [Scott, 2005] Alexander D Scott. Judicious partitions and re- lated problems. In BCC, pages 95-117, 2005.
  24. [Sheyner et al., 2002] Oleg Sheyner, Joshua Haines, Somesh Jha, Richard Lippmann, and Jeannette M Wing. Auto- mated generation and analysis of attack graphs. In Pro- ceedings 2002 IEEE Symposium on Security and Privacy, pages 273-284. IEEE, 2002.
  25. [Tholey, 2006] Torsten Tholey. Solving the 2-disjoint paths problem in nearly linear time. Theory of computing sys- tems, 39(1):51-78, 2006.
  26. [Wood, 1993] R Kevin Wood. Deterministic network inter- diction. Mathematical and Computer Modelling, 17(2):1- 18, 1993.
  27. [Zhang et al., 2023] Yumeng Zhang, Max Ward, Mingyu Guo, and Hung Nguyen. A scalable double oracle al- gorithm for hardening large active directory systems. In Proceedings of the 2023 ACM Asia Conference on Com- puter and Communications Security, ASIA CCS '23, page 993-1003, New York, NY, USA, 2023. Association for Computing Machinery.

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

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