NASimEmu: Network Attack Simulator & Emulator for Training Agents Generalizing to Novel Scenarios
Not on the map. Why?
Abstract (arXiv)
Current frameworks for training offensive penetration testing agents with deep reinforcement learning struggle to produce agents that perform well in real-world scenarios, due to the reality gap in simulation-based frameworks and the lack of scalability in emulation-based frameworks. Additionally, existing frameworks often use an unrealistic metric that measures the agents' performance on the training data. NASimEmu, a new framework introduced in this paper, addresses these issues by providing both a simulator and an emulator with a shared interface. This approach allows agents to be trained in simulation and deployed in the emulator, thus verifying the realism of the used abstraction. Our framework promotes the development of general agents that can transfer to novel scenarios unseen during their training. For the simulation part, we adopt an existing simulator NASim and enhance its realism. The emulator is implemented with industry-level tools, such as Vagrant, VirtualBox, and Metasploit. Experiments demonstrate that a simulation-trained agent can be deployed in emulation, and we show how to use the framework to train a general agent that transfers into novel, structurally different scenarios. NASimEmu is available as open-source.
Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 12 of its 35 references that are in the map. First posted on arXiv 26 May 2023.
Builds on
12 of 35 references.
References · 12
- 2017Attention Is All You Needcited by 59,932
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2016Asynchronous Methods for Deep Reinforcement Learningcited by 2,218
- 2016OpenAI Gymcited by 1,684
- 2021CybORG: A Gym for the Development of Autonomous Cyber Agentscited by 58
- 2022Developing Optimal Causal Cyber-Defence Agents via Cyber Security Simulationcited by 37
- 2019Autonomous Penetration Testing using Reinforcement Learningcited by 33
- 2020Finding Effective Security Strategies through Reinforcement Learning and Self-Playcited by 32
- 2021Network Environment Design for Autonomous Cyberdefensecited by 29
- 2021Learning Intrusion Prevention Policies through Optimal Stoppingcited by 11
- 2021CyGIL: A Cyber Gym for Training Autonomous Agents over Emulated Network Systemscited by 11
- 2022Behaviour-Diverse Automatic Penetration Testing: A Curiosity-Driven Multi-Objective Deep Reinforcement Learning Approachcited by 7
Built on by
Citing papers per year: 2023: 2; 2024: 6; 2025: 4; 2026: 8.
20 papers.
Sort:
By area:
- 2023Out of the Cage: How Stochastic Parrots Win in Cyber Security Environmentscited by 17
- 2025Large Language Models are Autonomous Cyber Defenderscited by 14
- 2024Optimal Defender Strategies for CAGE-2 using Causal Modeling and Tree Searchcited by 12
- 2024Entity-based Reinforcement Learning for Autonomous Cyber Defencecited by 11
- 2023Scalable Learning of Intrusion Responses through Recursive Decompositioncited by 8
- 2024Intrusion Tolerance for Networked Systems through Two-Level Feedback Controlcited by 8
- 2024The Path To Autonomous Cyber Defensecited by 3
- 2024Evaluation of Reinforcement Learning for Autonomous Penetration Testing using A3C, Q-learning and DQNcited by 3
- 2026Building Better Environments for Autonomous Cyber Defencecited by 3
- 2025Learning Robust Penetration Testing Policies under Partial Observability: A systematic evaluationcited by 2
- 2024A Survey for Deep Reinforcement Learning Based Network Intrusion Detectioncited by 1
- 2025Multi-Agent Reinforcement Learning in Cybersecurity: From Fundamentals to Applicationscited by 1
8 more
- 2025Training RL Agents for Multi-Objective Network Defense Taskscited by 1
- 2026Evaluating Generalization Mechanisms in Autonomous Cyber Attack Agentscited by 0
- 2026NASimJax: A GPU-Accelerated Policy Learning Framework for Penetration Testingcited by 0
- 2026Closing the Sim-to-Real Gap: An Evaluation Framework for Autonomous Cyber Defense Configuration of Commercial EDRcited by 0
- 2026COHORT: Collaborative Orchestration for Hardening via Offensive Replay on Emulated Topologiescited by 0
- 2026NashDreamer: Model-Based Reinforcement Learning for Zero-Sum Imperfect-Information Gamescited by 0
- 2026The MAL Simulator: Cyber Operations Simulation based on Attack & Defense Graphscited by 0
- 2026CyberWorld: World Models for Sample-Efficient Autonomous Cyber Defensecited by 0
- 2026CyberWorld: World Models for Sample-Efficient Autonomous Cyber Defense25 Sep 2026
- 2026The MAL Simulator: Cyber Operations Simulation based on Attack & Defense Graphs15 Sep 2026
- 2026NashDreamer: Model-Based Reinforcement Learning for Zero-Sum Imperfect-Information Games1 Sep 2026
- 2026COHORT: Collaborative Orchestration for Hardening via Offensive Replay on Emulated Topologies29 Jun 2026
- 2026Closing the Sim-to-Real Gap: An Evaluation Framework for Autonomous Cyber Defense Configuration of Commercial EDR6 Jun 2026
- 2026Building Better Environments for Autonomous Cyber Defence9 Apr 2026
- 2026NASimJax: A GPU-Accelerated Policy Learning Framework for Penetration Testing20 Mar 2026
- 2026Evaluating Generalization Mechanisms in Autonomous Cyber Attack Agents6 Mar 2026
- 2025Learning Robust Penetration Testing Policies under Partial Observability: A systematic evaluation24 Sep 2025
- 2025Training RL Agents for Multi-Objective Network Defense Tasks28 May 2025
- 2025Multi-Agent Reinforcement Learning in Cybersecurity: From Fundamentals to Applications26 May 2025
- 2025Large Language Models are Autonomous Cyber Defenders7 May 2025
8 more
- 2024Entity-based Reinforcement Learning for Autonomous Cyber Defence23 Oct 2024
- 2024A Survey for Deep Reinforcement Learning Based Network Intrusion Detection25 Sep 2024
- 2024Evaluation of Reinforcement Learning for Autonomous Penetration Testing using A3C, Q-learning and DQN22 Jul 2024
- 2024Optimal Defender Strategies for CAGE-2 using Causal Modeling and Tree Search12 Jul 2024
- 2024The Path To Autonomous Cyber Defense12 Apr 2024
- 2024Intrusion Tolerance for Networked Systems through Two-Level Feedback Control2 Apr 2024
- 2023Scalable Learning of Intrusion Responses through Recursive Decomposition6 Sep 2023
- 2023Out of the Cage: How Stochastic Parrots Win in Cyber Security Environments23 Aug 2023
- 2023Out of the Cage: How Stochastic Parrots Win in Cyber Security Environmentscited by 17
- 2025Large Language Models are Autonomous Cyber Defenderscited by 14
- 2024Optimal Defender Strategies for CAGE-2 using Causal Modeling and Tree Searchcited by 12
- 2024Entity-based Reinforcement Learning for Autonomous Cyber Defencecited by 11
- 2023Scalable Learning of Intrusion Responses through Recursive Decompositioncited by 8
- 2024Intrusion Tolerance for Networked Systems through Two-Level Feedback Controlcited by 8
- 2024The Path To Autonomous Cyber Defensecited by 3
- 2024Evaluation of Reinforcement Learning for Autonomous Penetration Testing using A3C, Q-learning and DQNcited by 3
- 2026Building Better Environments for Autonomous Cyber Defencecited by 3
- 2025Learning Robust Penetration Testing Policies under Partial Observability: A systematic evaluationcited by 2
- 2024A Survey for Deep Reinforcement Learning Based Network Intrusion Detectioncited by 1
- 2025Multi-Agent Reinforcement Learning in Cybersecurity: From Fundamentals to Applicationscited by 1
12 most cited of 18 All 18 (JSON)
- 2026The MAL Simulator: Cyber Operations Simulation based on Attack & Defense Graphs15 Sep 2026
- 2026NashDreamer: Model-Based Reinforcement Learning for Zero-Sum Imperfect-Information Games1 Sep 2026
- 2026COHORT: Collaborative Orchestration for Hardening via Offensive Replay on Emulated Topologies29 Jun 2026
- 2026Closing the Sim-to-Real Gap: An Evaluation Framework for Autonomous Cyber Defense Configuration of Commercial EDR6 Jun 2026
- 2026Building Better Environments for Autonomous Cyber Defence9 Apr 2026
- 2026NASimJax: A GPU-Accelerated Policy Learning Framework for Penetration Testing20 Mar 2026
- 2025Learning Robust Penetration Testing Policies under Partial Observability: A systematic evaluation24 Sep 2025
- 2025Training RL Agents for Multi-Objective Network Defense Tasks28 May 2025
- 2025Multi-Agent Reinforcement Learning in Cybersecurity: From Fundamentals to Applications26 May 2025
- 2025Large Language Models are Autonomous Cyber Defenders7 May 2025
- 2024Entity-based Reinforcement Learning for Autonomous Cyber Defence23 Oct 2024
- 2024A Survey for Deep Reinforcement Learning Based Network Intrusion Detection25 Sep 2024
12 newest of 18 All 18 (JSON)