/windows-poc

Primary LanguagePowerShell

Windows POC

Use other example on https://github.com/tothi/ad-honeypot-autodeploy to convert it qemu image for terraform

Help tools to :

Setup your host

bash -x setup-hashicorp-host.sh
reboot
#ssh-keygen -b 4096 -t rsa -f /tmp/sshkey -q -N ""
curl https://raw.githubusercontent.com/vagrant-libvirt/vagrant-libvirt-qa/main/scripts/install.bash -o install-vagrant.bash
bash -x install-vagrant.bash
vagrant plugin install vagrant-windows-update
vagrant plugin install vagrant-reload
vagrant plugin install vagrant-windows-sysprep

Build Windows 2022 and Ubuntu 20.04 images

bash -x build-windows-2022-libvirt.sh
bash -x build-ubuntu-amd64-libvirt.sh

Launch the fixed windows-domain-controller-vagrant

windows-domain-controller-vagrant

su - vagrant
bash -x winpoc.sh

Credits