Member-only story

BadBlood-Building your Active Directory lab fast

Octavian Mihail Romanescu
2 min readOct 16, 2024

--

As we discussed in the last article how to secure your Active Directory service, you may want to build a lab to test your skills or learn how to secure it. Here is a short tutorial on how to build one quickly.

First, you need to set up your virtual machine with the desired version of Windows Server. After that, you have to install the Active Directory role.

Then you configure and create a forest.

Once you’ve finished, you’ll need to install Git on the virtual machine so we can clone the BadBlood Git repository. This will help us create users, groups, computers and policies randomly.

So here are the steps to take:

# clone the repo
git clone https://github.com/davidprowe/badblood.git
#Run Invoke-badblood.ps1
./badblood/invoke-badblood.ps1

Once it’s running, it gives you a warning that if you have an existing structure, it will disrupt it.

--

--

No responses yet