BadBlood is a PowerShell toolkit that programmatically populates a Microsoft Active Directory domain with a realistic, large-scale structure of OUs, users, groups, computers, and permissions so defenders and testers can practice discovery, hardening, and incident response on a lifelike environment. It intentionally randomizes its output on every run so the created domain, objects, and ACL relationships are different each time, which helps teams exercise tooling and detection logic against varied scenarios. The project is driven by a single entry script (Invoke-BadBlood.ps1) and a collection of modular components that create OUs, seed users and groups, set ACLs, configure LAPS scenarios, and generate other attack/defense artifacts for lab use. Because it modifies a real AD forest, BadBlood requires high privileges (Domain Admin and Schema Admin) to run and the README warns strongly that it is not responsible for cleanup if used in production.

Features

  • Randomized, repeatable domain generator with configurable scale and seeding options
  • BloodHound export / sample data generation to visualize attack paths and privilege chains
  • Cleanup and rollback helper to remove generated objects safely from a test domain
  • Scenario templates (Kerberoastable service accounts, exposed ACLs, LAPS misconfigurations) for focused exercises
  • Automated report of IAM findings and recommended hardening actions after each run
  • Integration hooks for lab automation (Vagrant/Ansible/VM orchestration) to provision ephemeral AD environments

Project Samples

Project Activity

See All Activity >

Categories

System

License

GNU General Public License version 3.0 (GPLv3)

Follow BadBlood

BadBlood Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of BadBlood!

Additional Project Details

Operating Systems

Windows

Programming Language

PowerShell

Related Categories

PowerShell System Software

Registered

2025-09-30