Open Cyber Challenge Platform Administration Utility
This program is part of the Open Cyber Challenge Platform (OCCP). It runs on the Admin VM to control hypervisor(s) being used with the OCCP. Initially developed by The University of Rhode Island's Digital Forensics and Cyber Security Center under funding from the National Science Foundation. Pull requests are welcomed.
For more information visit: https://www.opencyberchallenge.net
Updating your Admin VM
- Before starting, you should snapshot your Admin VM. This will allow you to easily revert if you encounter any problems.
- From your Admin VM, navigate to the source directory.
- Pull the latest source code
- Run the updater
sudo ./setup/setup.sh -c
- Confirm the update
Note: Once you are satisfied that the update was successful and everything is in working order, you may wish to delete the snapshot created the first step.
Since the Administration Utility and Admin VM are inherently linked, altering the utility may require configuration changes to the Admin VM. If that is the case, you should include changes to the occpadmin module in the setup folder as part of your pull request.
This project has adopted the branching model described on http://nvie.com/posts/a-successful-git-branching-model/
Stop! This program is already installed in the OCCP Admin VM. Most users should visit the project's web site to download the Admin VM instead of trying to create their own. The following is only meant for platform developers that wish to make their own Admin VM.
Creating an Admin VM
- Clone the Ubuntu 16.04 Server Base VM
- Add a second NIC to the VM and attach it to your setup network
- Login to the VM. The default credentials are root:0ccpadmin.
- You should update the VM now
apt-get update && apt-get dist-upgrade -y
- Install git
apt-get install -y git
- Clone this repository
git clone https://github.com/OpenCyberChallengePlatform/OccpAdmin.git
- Run the installer
- Remove the old repository
sudo rm -rf /root/OccpAdmin
- Reboot the VM
- Login with the new credentials (occpadmin:0ccpadmin)
- You should change the password, but otherwise you should have an equivalent Admin VM to the one available from the project's website.
*Note: Experienced users may discover the Puppet module has some parameters that are not exposed via the setup script. Changing those parameters should be done with caution since it will create an Admin VM that does not match published documentation.