Skip to content

Getting started with SecGen

Jjk422 edited this page Jul 28, 2016 · 11 revisions

First time set-up

Download SecGen

SecGen can be downloaded from the github repository at https://github.com/cliffe/SecGen

Navigate to the directory containing SecGen

Use either the command prompt or linux terminal to navigate to the directory containing SecGen. Enter the SecGen directory

Ensure ruby is installed

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

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

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.

Ensure bundler is installed

Execute the command 'gem install bundle' to install bundler.

Execute the bundle installer

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.

Now you are ready to run SecGen

After all necessary software and packages have been installed they should not have to be installed again, only kept up to date.

What do I do next

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.

More information

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.

Clone this wiki locally