Go to file
Alexandre Dulaunoy 572302c5d6
Merge pull request #23 from cudeso/18.04
Update ISO/hash for Ubuntu 18.04.6
2022-04-03 08:36:23 +02:00
conffiles chg: Fixed reboot necessity, meaning, just check if reboot works end-of-stage. 2018-11-22 00:42:37 +09:00
preseeds chg: [preseed] Changed preseed to make it 18.04 compatible 2018-07-20 17:00:04 +02:00
scripts chg: [sh] Various deploy.sh updates 2021-01-20 03:29:25 +00:00
.gitignore chg: [sh] Various deploy.sh updates 2021-01-20 03:29:25 +00:00
LICENSE - Added License 2018-02-01 12:22:26 +01:00
README.md chg: [deploy] Fixed tree, index.html wants to be NOT present. 2019-05-16 01:00:45 +09:00
archive.sh chg: [various] Updated to 18.04.4 fixed vbox json to use correct graphicscontroller 2020-04-24 06:36:03 +02:00
build_vbox.sh chg: [vbox] Added check installer and check packer 2019-05-09 13:33:52 +09:00
checkDeps.sh chg: [sh] moved depenency check to seperate file 2021-01-20 03:35:27 +00:00
config.sh new: [dbg] Added debug mode 2021-02-05 04:31:13 +00:00
deploy.sh new: [dbg] Added debug mode 2021-02-05 04:31:13 +00:00
misp.json Update ISO/hash for Ubuntu 18.04.6 2022-04-02 21:57:09 +02:00
upload.sh added upload script 2017-08-25 14:58:43 +02:00
verify.txt fix: [typo] verify.txt pointed to the wrong checksum dir 2020-07-16 20:40:35 +09:00

README.md

Build Automated Machine Images for MISP

Build a virtual machine for MISP based on Ubuntu 18.04 server (for VirtualBox or VMWare).

Requirements

Usage

Launch the generation with the VirtualBox builder:

$./build_vbox.sh 

A VirtualBox image will be generated and stored in the folder output-virtualbox-iso.

Default credentials are displayed (Web interface, SSH and MariaDB) at the end of the process. You can directly import the image in VirtualBox.

The sha1 and sha512 checksums of the generated VM will be stored in the files packer_virtualbox-iso_virtualbox-iso_sha1.checksum and packer_virtualbox-iso_virtualbox-iso_sha512.checksum respectively.

In case you encounter a problem with the MISP_BASEURL, you can still change it when the VM is running. For example the IP address of your VM is 172.16.100.123 you can set MISP_BASEURL from your host with the command:

$ ssh misp@172.16.100.123 sudo -u www-data /var/www/MISP/app/Console/cake Baseurl http://172.16.100.123

If you want to build an image for VMWare you will need to install it and to use the VMWare builder with the command:

$ packer build -only=vmware-iso misp.json

You can also launch all builders in parallel.

Modules activated by default in the VM

Automatic export to GitHub

$ GITHUB_AUTH_TOKEN=<your-github-auth-token>
$ TAG=$(curl https://api.github.com/repos/MISP/MISP/releases/latest | jq  -r '.tag_name')
$ ./upload.sh github_api_token=$GITHUB_AUTH_TOKEN owner=MISP repo=MISP tag=$TAG filename=./output-virtualbox-iso/MISP_demo.ova

Upload latest release

curl -s https://api.github.com/repos/MISP/MISP/tags |jq -r '.[0] | .name'

You can add these lines in the post-processors section of the file misp.json if you want to automate the process.