-
Notifications
You must be signed in to change notification settings - Fork 326
Getting started with SecGen
SecGen can be downloaded from the github repository at https://github.com/cliffe/SecGen
Use either the command prompt or linux terminal to navigate to the directory containing SecGen. Enter the SecGen directory
Ensure ruby is installed by using the command ruby --version, check your version of ruby is compatible with SecGen. (Currently ruby > ... is supported). <--- TODO If ruby is not installed, instructions on how to install it can be found at https://www.ruby-lang.org/en/downloads/.
Ensure virtualbox is installed and verify the version number is compatible with SecGen. (Currently virtualbox > ... is supported). <--- TODO If virtualbox is not installed, instructions on how to install it can be found at https://www.virtualbox.org/wiki/Downloads.
Ensure vagrant is installed by using the command vagrant --version, check your version of vagrant is compatible with SecGen. (Currently vagrant > ... is supported). <--- TODO If vagrant is not installed, instructions on how to install it can be found at https://www.vagrantup.com/downloads.html.
Execute the command 'gem install bundle' to install bundler.
Execute the command 'bundle install' to install all necessary gems for SecGen. If an error occurs to download another package, e.g. zlib1g-dev or liblzma-dev install it via the distro's package manager.
After all necessary software and packages have been installed they should not have to be installed again, only kept up to date.
When all software prerequisites have been installed you can test SecGen is working via the command 'ruby secgen.rb run'. The command 'ruby secgen.rb run' will run the default scenario and will generate a randomised virtual machine.
For more information on using SecGen and its arguments visit the page Command line arguments. Or for information on how to generate new and custom scenarios please visit the page SecGen scenarios.