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.

usage


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 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 Čeleda, Pavel and Seda, Pavel and Švábenský, Valdemar and Tovarňá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

![EU](doc/EU.jpg "EU emblem") 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.
![TACR](doc/TACR.png "TACR logo") 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.0b1.tar.gz (22.0 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.0b1-py2.py3-none-any.whl (25.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: sandboxcreator-2.0.0b1.tar.gz
  • Upload date:
  • Size: 22.0 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.0b1.tar.gz
Algorithm Hash digest
SHA256 66149c5a4577b59a7c613b4e3c7a6b011ae4a0c0376bbb1db9c0530879b540b3
MD5 ccb178af2447dbea02db26532d05fa92
BLAKE2b-256 e6c52bda6bf7aba5fe28fa18707558e6eb71ce77cecb231de136500567337f20

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sandboxcreator-2.0.0b1-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.7 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.0b1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 03558f22479e21d76ee1b3191fd6af7668054b90866968a2dd8a9b449393fb0c
MD5 c54ad4e2150df4ffd5a4944bf8241c92
BLAKE2b-256 d499bb52009d3dca5b608d32dd0e421f9f13b5824ee083c0d0d4b9fa40a7bea7

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