Autonomous Cyber Operations Gym for Training and Evaluating AI Models for Defence
Authors: Tobias Hürten, Johannes F. Loevenich, Florian Spelter, Erik Adler, Laurin Holz, Maxime Schwarzer, Thies Moehlenhof, Roberto Rigolin F. Lopes
Organizations: CortAIx Labs, Thales Deutschland, Ditzingen, Germany · Department of Mathematics/Computer Science, University of Osnabrück, Osnabrück, Germany · Department of Informatics, Karlsruhe Institute of Technology (KIT), Karlsruhe, Germany · Department of Computer Science, University of Ulm, Ulm, Germany
This paper proposes an Autonomous Cyber Operations (ACO) gym, a unified framework integrating high-fidelity network emulation, realistic user behaviour modelling for benign network traffic and adversarial profiles, and the generation of cybersecurity scenarios through open toolkits. By supporting live and deferred feature extraction at the packet and flow levels, the gym facilitates the creation of labelled synthetic datasets for training Deep Neural Network (DNN)-based Intrusion Detection Systems (IDSs), as well as developing and evaluating modular components for autonomous defence agents through emulated interactions. While evaluation of a DNN classifier within the gym shows high in-domain performance, achieving near-perfect recall on adversarial network flows, our experiments reveal a significant sensitivity to domain shift, showing that even minor changes in network composition, such as variations in traffic protocol distribution, can lead to a catastrophic collapse in model transferability and detection performance.
Figures & tables
Fig. 1 : Architecture of the ACO gym.
Fig. 2 : Exemplary network topology of an enterprise cybersecurity scenario.
Fig. 3 : Dual data processing pipeline, supporting live (A) and decoupled (B) data processing.
TABLE I : Protocol and class distribution of each dataset.
Fig. 5 : Cross-evaluation results: Performance with respect to the F1 score for each model under cross-evaluation ( 5(a) ), the confusion matrix of the baseline classifier under in-domain evaluation ( 5(b) ), relative F1 score of the baseline classifier when transferred to shifted datasets ( 5(c) ), and the aggregated false negatives under cross-evaluation ( 5(d) ).
Department of Electrical and Computer Engineering, Royal Military College of Canada, Kingston, Canada · Department of Mathematics and Computer Science, Royal Military College of Canada, Kingston, Canada · Defence Research and Development Canada, Ottawa, Canada +1