RepositoryPowerShell
xbufu

xbufu/ADLab

Custom PowerShell module to setup an Active Directory lab environment to practice penetration testing.

183sao
35fork
0issue
3lượt xem

🛠️ ADLab: Tự động hoá toàn bộ Active Directory lab cho luyện tập pentest

Triển khai AD lab từ A-Z chỉ bằng vài lệnh PowerShell — từ domain controller tới vector tấn công thực tế.

ADLab là một mô-đun PowerShell giúp tự động hóa toàn bộ quy trình triển khai một môi trường Active Directory lab, dùng cho mục đích luyện tập kiểm thử xâm nhập nội bộ. Dự án được lấy cảm hứng từ khóa học PowerShell for Pentesters của Joe Helle, tích hợp sẵn các vector tấn công thực tế như ASREPRoasting, Kerberoasting, Bad ACLs và PSRemoting.

✨ Điểm nổi bật

  • Tự động hoá DC setup: Cấu hình IP tĩnh, DNS localhost, đổi tên máy qua Invoke-DCPrep.
  • Triển khai forest không cần can thiệp: Cài đặt AD DS và tạo forest mới tự động bằng Invoke-ForestDeploy.
  • Cấu hình DNS & DHCP: Tự động lắp đặt tính năng DNS, thêm zone phụ, cấu hình forwarder và triển khai DHCP với scope tùy chỉnh.
  • Tạo dữ liệu giả lập: Tạo nhóm, OU và 10 người dùng mỗi OU mặc định qua Invoke-ADLabConfig.
  • Vector tấn công ASREPRoasting: Thiết lập cờ DoesNotRequirePreAuth cho người dùng ngẫu nhiên (mặc định 5%).
  • Vector tấn công Kerberoasting: Thêm SPN cho người dùng để tạo môi trường khai thác.
  • Thiết lập ACL độc hại: Cấp quyền GenericAll sai lầm trên Domain Admins, Chads, Degens và Normies.
  • Bật PSRemoting qua GPO: Cấu hình WinRM trên cổng 5985 cho toàn bộ thiết bị trong domain.

💡 Vì sao đáng chú ý

Không chỉ là công cụ cài đặt lab thông thường, ADLab tích hợp sẵn các kịch bản tấn công thực tế — giúp người học nhanh chóng có môi trường lab có độ tin cậy cao để luyện tập. Dự án nhỏ gọn nhưng đủ chức năng để xây dựng một domain hoàn chỉnh từ máy chủ đến dữ liệu và lỗ hổng.


#ActiveDirectory #PowerShell #Pentesting #SecurityLab #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPowerShell
PowerShellOrg/PSKoans

A simple, fun, and interactive way to learn the PowerShell language through Pester unit testing.

1.9k
Oct 3, 2026
RepositoryC#
PSAppDeployToolkit/PSAppDeployToolkit

Project Homepage & Forums

2.4k
Dec 1, 2026
RepositoryC#
EvotecIT/EventViewerX

Windows Event Log tooling for PowerShell and .NET: typed queries, reporting, export, WEC, automation, and the PSEventViewer module.

736
Nov 30, 2026
RepositoryPowerShell
Raphire/Win11Debloat

A simple, lightweight PowerShell script that allows you to remove pre-installed apps, disable telemetry, as well as perform various other changes to declutter and customize your Windows experience. Win11Debloat works for both Windows 10 and Windows 11.

64.1k
Nov 15, 2026
RepositoryPowerShell
cmderdev/cmder

Lovely console emulator package for Windows

27.0k
Nov 30, 2026
RepositoryPowerShell
ScoopInstaller/Scoop

A command-line installer for Windows.

24.8k
Nov 27, 2026
RepositoryPowerShell
farag2/Sophia-Script-for-Windows

:zap: The most advanced PowerShell module on GitHub for fine-tuning Windows 11 & Windows 10

10.0k
Nov 28, 2026
RepositoryPowerShell
psmux/psmux

Tmux on Windows Powershell - tmux for PowerShell, Windows Terminal, cmd.exe. Includes psmux, pmux, and tmux commands. This is native High-Performance Tmux designed for Windows in Rust 🦀

3.9k
Nov 26, 2026
RepositoryPowerShell
pester/Pester

Pester is the ubiquitous test and mock framework for PowerShell.

3.4k
Dec 2, 2026