AD Lab Setup
Commands need to be executed as admin in powershell for preconfigured usernames and setting for the Active Directory lab.
The script will create a domain controller, users, and groups in the Active Directory lab.
run the below commands on powershell administrator
[Net.ServicePointManager]::SecurityProtocol = "Tls12, Tls11, Tls, Ssl3"
IEX((new-object net.webclient).downloadstring("https://raw.githubusercontent.com/chinnidiwakar/vulnerable-AD/master/vulnad.ps1"));
Invoke-VulnAD -UsersLimit 100 -DomainName "cpent.ad"
setspn -s http/WinServer12.cpent.ad:80 dccoadminLast updated