A Defensive Origins and Black Hills Information Security Collaboration
Build a domain with three quick PowerShell scripts!
USAGE
-
Fire up a Windows Server 2012 / 2016 / 2019(is also believed to work) and assign a static IP address.
-
Invoke a powershell -ep bypass session and run the .ps1 files in order.
-
Once the pre-reqs and AD binaries are installed, the user add script can also be ran. These are "controllable" accounts for your modification. Another option to create a messy domain could be the BadBlood repo which will create a ton of stuff in your new domain (sessions aside).
-
The user add last step creates a couple of OUs, and a domain administrator. The "itadmin" account has an initial password of "ThisShouldBeLongerThan20".