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.0.tar.gz (22.2 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.0-py2.py3-none-any.whl (26.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for sandboxcreator-2.0.0.tar.gz
Algorithm Hash digest
SHA256 aa58d1ec7690e71911cc207eb3c62a6749589b5e05bbae31758a8c1a62cef3f8
MD5 33be91e3eaad00ab93ae8ef374eb86d4
BLAKE2b-256 f16b83451c25660850b475e078c566dc278a33f0275a857cd1f350a31ae1e5ae

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sandboxcreator-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5dfc8bcbb93490184913a3bd7a300d96d353eddd09ffcce8a07300b1f2bdad7a
MD5 ac3681ac0dbf6111e2cd86eb9c3aee42
BLAKE2b-256 ada7a742e84ac97e8a44276c1f9fd47a09bba166b5460b804e261b72b9658f85

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