Skip to content

A PowerShell script that will create an Active Directory environment with poor passwords, bad permissions practices, and random workstations.

License

Notifications You must be signed in to change notification settings

jtoledo3970/Invoke-bAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Invoke-bAD

A PowerShell script that will create an Active Directory environment with poor passwords, bad permissions practices, and random workstations.

Disclaimer

This script will change your domain default password policy to remove complexity and set character requirement to 4, this is to allow for the creation of user accounts with poor passwords.

How to use

On a domain controller run powershell ISE as an administrator and download this script.

IEX((new-object net.webclient).downloadstring("https://raw.githubusercontent.com/jtoledo3970/Invoke-bAD/main/Invoke-bAD.ps1"));

You can then open this script in Powershell (or ISE) and run it AS ADMINISTRATOR.

It will ask you to specify the amount of OU's, users, and workstations you want to create and then place them in random locations and provide random attributes and permissions.

Wishlist

  • Making this a reusable PowerShell module
  • Adding SPN's to find kerberoastable accounts

About

A PowerShell script that will create an Active Directory environment with poor passwords, bad permissions practices, and random workstations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published