This repository sets up a mini production-like SIEM infrastructure using Vagrant and VirtualBox.
Mini-PpT-Infra/
β
βββ run-vagrant.ps1 # β
Main wrapper script to automate the full setup
βββ Vagrantfile # βοΈ Defines the two VMs: 'siem' (Linux) and 'host' (Windows)
β
βββ setup/
βββ setup_scripts/
β βββ prereqs.ps1 # π¦ Installs dependencies: Chocolatey, Vagrant, VirtualBox, VC Redistributables
β βββ downloads.ps1 # β¬οΈ Downloads necessary setup files (e.g., Splunk, Sysmon, configs)
β βββ system_tweaks.ps1 # π οΈ Applies performance tweaks: disables sleep, increases virtual memory
β βββ siem_setup.sh # π§ Configures Splunk Enterprise on SIEM VM
β βββ windows_host_setup.ps1 # π₯οΈ Sets up Windows host with Sysmon, Splunk Forwarder, and security configs
β
βββ setup_files/ # π Contains all supporting installation assets (.msi, .zip, .xml, etc.)
βββ host/
- Windows host system
- PowerShell (run as Administrator)
- Internet connection
-
Clone the repository:
git clone https://github.com/mhatib/Mini-PpT-Infra.git cd Mini-PpT-Infra
-
Run the setup script: Run this as Administrator:
.\run-vagrant.ps1This script:
- Installs prerequisites (VirtualBox, Vagrant, Chocolatey, VC Redist)
- Downloads all required setup files
- Provisions and configures VMs (SIEM and Windows Host)
-
Reboot When Prompted: After the prerequisites step, you'll be prompted to reboot. Once rebooted, re-run the same script to continue.
-
SIEM (
192.168.111.100)- Ubuntu (bionic64)
- Splunk Enterprise + Sysmon Add-on
-
Host (
192.168.111.151)- Windows 10 (via
gusztavvargadr/windows-10) - Sysmon, Splunk Universal Forwarder, auditing policies, etc.
- Windows 10 (via
- The script tracks progress via
.setup_progressto prevent re-running completed steps. - If a VM fails to start (especially SIEM), delete the VM in VirtualBox GUI and run
vagrant up - The Cursor installation requires manual intervention - you'll be prompted during setup
To clear the cache and re-run the installation script from the scratch, first run this command in Administrator PowerShell:
Remove-Item "$env:ProgramData\MiniPpT-Infra\setup-status.txt" -Force -ErrorAction SilentlyContinueThen re-run the main script:
.\run-vagrant.ps1For questions or issues, please open a GitHub issue or contact @mhatib.
Happy hunting! π‘οΈ