NASimEmu: Network Attack Simulator Emulator for Training Agents Generalizing to Novel Scenarios

05/26/2023
by   Jaromír Janisch, et al.
0

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.

READ FULL TEXT
research
09/16/2021

ROS-X-Habitat: Bridging the ROS Ecosystem with Embodied AI

We introduce ROS-X-Habitat, a software interface that bridges the AI Hab...
research
12/18/2019

Analysing Deep Reinforcement Learning Agents Trained with Domain Randomisation

Deep reinforcement learning has the potential to train robots to perform...
research
12/16/2020

CARLA Real Traffic Scenarios – novel training ground and benchmark for autonomous driving

This work introduces interactive traffic scenarios in the CARLA simulato...
research
10/18/2017

Sim-to-Real Transfer of Robotic Control with Dynamics Randomization

Simulations are attractive environments for training agents as they prov...
research
08/05/2019

Corrigibility with Utility Preservation

Corrigibility is a safety property for artificially intelligent agents. ...
research
03/07/2019

Comparative Study of APIs and Frameworks for Haptic Application Development

The simulation of tactile sensation using haptic devices is increasingly...
research
08/13/2022

SynchroSim: An Integrated Co-simulation Middleware for Heterogeneous Multi-robot System

With the advancement of modern robotics, autonomous agents are now capab...

Please sign up or login with your details

Forgot password? Click here to reset