skipped 26 lines 27 27 - **vagrant** from their official site [vagrant](https://www.vagrantup.com/downloads). The version you can install through your favourite package manager (apt, yum, ...) is probably not the latest one. 28 28 - Install vagrant plugin vbguest: `vagrant plugin install vagrant-vbguest` (not needed anymore) 29 29 30 + ```bash 31 + wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg 32 + echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list 33 + sudo apt update && sudo apt install vagrant=2.2.19 34 + ``` 35 + 30 36 #### Ansible 31 37 - *Create a python >= 3.8 virtualenv* 32 38 33 39 ```bash 40 + sudo apt install git 41 + git clone [email protected] :Orange-Cyberdefense/GOAD.git 42 + cd GOAD/ansible 34 43 sudo apt install python3.8-venv 35 - cd ansible 36 44 python3.8 -m virtualenv .venv 37 45 source .venv/bin/activate 38 46 ``` skipped 39 lines 78 86 - VMs creation 79 87 80 88 ```bash 81 - git clone [email protected] :Orange-Cyberdefense/GOAD.git 82 - cd GOAD/ 89 + pwd 90 + /opt/GOAD 83 91 vagrant up # this will create the vms 84 92 ``` 85 93 skipped 85 lines 171 179 sudo apt install sshpass 172 180 ``` 173 181 174 - 3. play the elk.yml playbook to install and run elk: 182 + 3. Chocolatey is needed to use elk. To install it run: 183 + ``` 184 + ansible-galaxy collection install chocolatey.chocolatey 185 + ``` 186 + 187 + 4. play the elk.yml playbook to install and run elk: 175 188 ``` 176 189 ansible-playbook elk.yml 177 190 ``` skipped 181 lines 359 372 360 373 #### Add some vulns 361 374 ``` 362 - ansible-playbook vulns .yml 375 + ansible-playbook vulnerabilities .yml 363 376 ``` 364 377 365 378 ## Troubleshooting skipped 98 lines