PentestPlaybook/ad-lab-scripts: AD Lab Setup Scripts

Source: GitHub Author: unknown URL: https://github.com/PentestPlaybook/ad-lab-scripts

ONE SENTENCE SUMMARY:

This repository offers automation scripts to quickly build an intentionally vulnerable Active Directory lab environment for penetration testing practice.

MAIN POINTS:

  1. Repository contains scripts for quickly setting up an Active Directory testing environment.
  2. Each script corresponds to a specific virtual machine like Domain Controller or workstation.
  3. Users can selectively deploy machines individually or create complex network scenarios.
  4. Scripts perform roles installation, user creation, and set intentional vulnerabilities.
  5. Environment supports practicing lateral movement and privilege escalation attacks.
  6. Requires placing Windows ISO files in the repository directory before running scripts.
  7. Lab environment is intentionally insecure and only intended for local testing use.
  8. Common setup issues include missing ISO files, insufficient resources, or antivirus interference.
  9. Scripts primarily tested with VMware but can be adapted for other hypervisors.
  10. Contributions such as new scripts or improvements are welcomed through GitHub pull requests.

TAKEAWAYS:

  1. Quickly build a realistic, vulnerable Active Directory lab for penetration testing.
  2. Customize your environment by choosing specific machines and deployment order.
  3. Safely practice common AD attacks like lateral movement and privilege escalation.
  4. Ensure ISO files and system resources are prepared to prevent setup issues.
  5. Engage with the community by contributing improvements or additional scripts.