Skip to main content

Local virtual lab creation

Project description

Cyber Sandbox Creator

Cyber Sandbox Creator is a tool that can generate portable definition files and build virtual environments using VirtualBox, Vagrant, and Ansible from a simple YAML definition of topology. The combination of these tools makes it possible to create virtual machines connected with virtual networks with minimal effort, even on a desktop computer.

Note: This is just a quick guide how to install and generate files with Cyber Sandbox Creator. For full description of how to prepare the host device to run the generated environments and how to build the virtual machines, check our wiki page.

The latest stable release is available in Releases.

Installation

Linux (Ubuntu/Debian)

  1. Install pip using $ sudo apt-get install python3-pip.
  2. Install setuptools with $ pip3 install setuptools.
  3. Install Kypo Topology Definition $ pip3 install kypo-topology-definition --extra-index-url https://gitlab.ics.muni.cz/api/v4/projects/2358/packages/pypi/simple.
  4. Install Cyber Sandbox Creator with $ pip3 install sandboxcreator.

Windows 10

  1. Install Python 3 (at least v3.7). At the beginning of the installation mark the "Add Python to PATH" option.
  2. Install Kypo Topology Definition $ pip install kypo-topology-definition --extra-index-url https://gitlab.ics.muni.cz/api/v4/projects/2358/packages/pypi/simple.
  3. Install Cyber Sandbox Creator with $ pip install sandboxcreator.

Usage

Linux (Ubuntu/Debian) and Windows 10

  1. After the installation, simply run the command $ create-sandbox <topology_definition> to generate intermediate definition files.
  2. Navigate to the newly created directory sandbox (next to the topology definition) and run $ manage-sandbox build to build the virtual environment.
  3. The built environment can be deleted using the command $ manage-sandbox destroy.

License

This project is licensed under the MIT License.

How to cite

If you use or build upon Cyber Sandbox Creator, we would appreciate it if you link to this GitLab repository. If you can, please also use the BibTeX entry below to cite the original work.
Jan Vykopal, Pavel Čeleda, Pavel Seda, Valdemar Švábenský, and Daniel Tovarňák.
Scalable Learning Environments for Teaching Cybersecurity Hands-on [in press].
In Proceedings of the 51st IEEE Frontiers in Education Conference (FIE' 2021).

@inproceedings{Vykopal2021Scalable,
    author    = {Vykopal, Jan and \v{C}eleda, Pavel and Seda, Pavel and \v{S}v\'{a}bensk\'{y}, Valdemar and Tovar\v{n}\'{a}k, Daniel},
    title     = {{Scalable Learning Environments for Teaching Cybersecurity Hands-on [in press]}},
    booktitle = {Proceedings of the 51st IEEE Frontiers in Education Conference},
    series    = {FIE '21},
    location  = {Lincoln, Nebraska, USA},
    publisher = {IEEE},
    address   = {New York, NY, USA},
    month     = {10},
    year      = {2020},
    pages     = {1--9},
    numpages  = {9},
}

Credits

Cybersecurity Laboratory
Faculty of Informatics
Masaryk University

Project lead: Jan Vykopal

Lead developer: Attila Farkas

Developer: Jana Ziková

Contributors:

  • Valdemar Švábenský - user testing
  • Daniel Tovarňák (KYPO Cyber Range Platform) - technical advisor
  • Kamil Andoniadis (KYPO Cyber Range Platform)

Student contributors: all students who use the tool for their thesis projects or training

Acknowledgements

This software and accompanying documentation is part of a [project](https://cybersec4europe.eu) that has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 830929.
This software was developed with the support of the Technology Agency of the Czech Republic (TA ČR) from the National Centres of Competence programme (project identification TN01000077 – [National Centre of Competence in Cybersecurity](https://nc3.cz/)).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sandboxcreator-2.0.1.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sandboxcreator-2.0.1-py2.py3-none-any.whl (26.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file sandboxcreator-2.0.1.tar.gz.

File metadata

  • Download URL: sandboxcreator-2.0.1.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

File hashes

Hashes for sandboxcreator-2.0.1.tar.gz
Algorithm Hash digest
SHA256 4cc3159c165e965b50c00b2afa86b2bcc40925ef1f38a2431b5d0229616098d6
MD5 36fa7a629cd686196397de6c4a77ea4e
BLAKE2b-256 4e4312ecdf0056b5abe55aae58b2b101e5f00e8d08ea3bd046d7c9e40f8ab739

See more details on using hashes here.

File details

Details for the file sandboxcreator-2.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: sandboxcreator-2.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

File hashes

Hashes for sandboxcreator-2.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1b417fb81fd656998d2e5eb898e7ddb17309830ebee2299ff82aa70311919ab3
MD5 39b8a9c301242ab4add5e929f2c758a8
BLAKE2b-256 48842b60e902ca1da6d3dfb7a329538c5dc7c930af3f414e78bac98ccfbc5e66

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page