Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
AD-Genesis — Active Directory | PowerShell | Automation - Automates domain user and group provisioning, membership management, and multi-workstation local administrator assignments. | Kitploit
Tools/GitHubGitHub/adityabhatt3010/ad-genesis
Privilege EscalationIdentity ManagementScripting & AutomationPenetration TestingRed TeamingLabs & Practice
GitHubadityabhatt3010/ad-genesis

AD-Genesis

Active Directory | PowerShell | Automation - Automates domain user and group provisioning, membership management, and multi-workstation local administrator assignments.

View Repository
35 days agoNot yet reviewed
Share

AD Genesis

Automated Active Directory Provisioning & Workstation Administration

Generate identities. Provision the domain. Assign privileges. Manage endpoints.

ADGenesis is a PowerShell-based Active Directory automation project designed to generate domain users and security groups, provision them within an existing Active Directory environment, assign group memberships, and manage local Administrator access across multiple domain-joined Windows workstations.

Built around a JSON-driven workflow, ADGenesis uses a central Management Client (MC) to orchestrate operations across a Domain Controller (DC) and multiple Workstations (WS).

AD Genesis


Overview

ADGenesis automates two major stages of Active Directory lab management:

1. Configuration Generation — randomDomain.ps1

Generates randomized:

  • Active Directory users.
  • Security group names.
  • User passwords.
  • Group membership assignments.
  • Local administrator assignments across multiple workstations.

The generated configuration is exported as a JSON file, separating data generation from actual AD provisioning.

2. Active Directory Provisioning — genAD.ps1

Consumes the generated JSON and performs the provisioning operations:

  • Creates Active Directory security groups.
  • Creates enabled domain user accounts.
  • Assigns users to their designated AD groups.
  • Adds selected domain users to local Administrators groups on specified workstations.
  • Supports removal of generated users, groups, and workstation memberships through Undo mode.

All provisioning operations are initiated from the Management Client.


Features

randomDomain.ps1 — Domain Configuration Generator

FeatureDescription
Random User GenerationGenerates unique combinations of first and last names from supplied datasets.
Random Group GenerationSelects unique AD group names from the provided group dataset.
Password AssignmentAssigns a password to every generated user.
Group AssignmentAssigns each generated user to one randomly selected group.
Local Admin SelectionRandomly selects a configurable number of users for local administrator privileges.
Multi-Workstation SupportAssigns selected users to multiple workstation hostnames.
JSON ExportExports the generated domain configuration to JSON.
Input ValidationValidates counts, data availability, and workstation requirements.
Output Directory CreationAutomatically creates the output directory when required.

genAD.ps1 — Active Directory Provisioning Engine

FeatureDescription
Domain DiscoveryRetrieves domain information from Active Directory.
DC SelectionSupports specifying a Domain Controller.
AD Group CreationCreates Global Security groups.
AD User CreationCreates enabled domain user accounts.
Username GenerationGenerates usernames using the first character of the first name followed by the last name.
Group MembershipAdds users to their configured AD groups.
Local Administrator AssignmentAdds domain users to the local Administrators group on specified workstations.
Remote ExecutionUses PowerShell Remoting to perform workstation operations directly from MC.
Credential SupportAccepts optional workstation credentials.
Undo ModeRemoves generated users, groups, and configured local administrator memberships.
Managed Object IdentificationUses a description marker to identify objects created by the script.

Architecture

The Management Client acts as the central orchestration point.

                  MANAGEMENT CLIENT (MC)
              ┌──────────────────────────────┐
              │                              │
              │       randomDomain.ps1       │
              │           genAD.ps1          │
              │                              │
              │         domain.json          │
              │                              │
              └──────────────┬───────────────┘
                             │
                ┌────────────┴────────────┐
                │                        │
          AD PowerShell             PowerShell
             / RSAT                  Remoting
                │                        │
                ▼                        ▼
       ┌─────────────────┐       ┌─────────────────────┐
       │ DOMAIN          │       │    WORKSTATIONS     │
       │ CONTROLLER      │       │                     │
       │                 │       │  ┌─────┐ ┌─────┐    │
       │ AD Users        │       │  │ WS1 │ │ WS2 │    │
       │ AD Groups       │       │  └─────┘ └─────┘    │
       │ Memberships     │       │        ┌─────┐      │
       │                 │       │        │ WS3 │      │
       └─────────────────┘       │        └─────┘      │
                                 └─────────────────────┘

Machine Responsibilities

MachineRoleResponsibilities
MCManagement ClientRuns both scripts, stores JSON, initiates AD and workstation operations.
DCDomain ControllerHosts Active Directory, users, groups, and directory services.
WS1Workstation 1Domain-joined endpoint.
WS2Workstation 2Domain-joined endpoint.
WS3Workstation 3Domain-joined endpoint.

Communication Flow

ADGenesis uses two independent communication paths:

MC → DC

  • Active Directory PowerShell module.
  • RSAT.
  • AD user and group operations.
  • Domain discovery and validation.

MC → WS

  • PowerShell Remoting.
  • Local Administrators group management.
  • Remote execution on individual workstations.

The workstation operations are initiated directly from MC rather than being relayed through DC. This avoids relying on the MC → DC → WS second-hop credential delegation path.


Project Structure

ADGenesis/
│
├── README.md
├── .gitignore
├── LICENSE
│
├── randomDomain.ps1
├── genAD.ps1
│
└── data/
    ├── group_names.txt
    ├── first_names.txt
    ├── last_names.txt
    └── passwords.txt

Requirements

Infrastructure

  • Windows Server 2022 Domain Controller.
  • Windows 11 Management Client.
  • One or more Windows 11 workstations.
  • VMware Workstation or another virtualization platform.
  • Existing Active Directory domain: Adi.com.
  • NetBIOS domain name: Adi.

Management Client

  • Windows PowerShell.
  • Active Directory PowerShell module (RSAT).
  • Network connectivity to the Domain Controller.
  • Network connectivity to all target workstations.
  • An account authorized to create and remove AD users and groups.
  • An account authorized to manage local Administrators membership on target workstations.

Domain Controller

  • AD DS configured and operational.
  • DNS functioning.
  • Domain reachable from MC and all workstations.

Workstations

  • Joined to Adi.com.
  • Unique Windows computer names.
  • DNS configured to use the Domain Controller.
  • PowerShell Remoting enabled.
  • WinRM traffic permitted by firewall rules.
  • Credentials with sufficient local administrative privileges.

Lab Setup

The following setup assumes that Windows Server 2022 is already configured as the Domain Controller.

1. Domain Controller Configuration

The lab uses the following domain configuration:

SettingValue
DNS DomainAdi.com
NetBIOS DomainAdi
Example DC hostnameDC1

Ensure that AD DS and DNS are operational before proceeding.

2. Management Client Configuration

Install the Active Directory RSAT tools on Windows 11.

Run PowerShell as Administrator:

Get-WindowsCapability -Online | Where-Object Name -like 'RSAT*'
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    961
  • 3

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    456
  • 4

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    406
  • 5

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    366
  • 6

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    353

Explore all tools

Browse our collection of tools

View all tools →