xbufu/ADLab
Custom PowerShell module to setup an Active Directory lab environment to practice penetration testing.
🛠️ 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.
A simple, fun, and interactive way to learn the PowerShell language through Pester unit testing.
Windows Event Log tooling for PowerShell and .NET: typed queries, reporting, export, WEC, automation, and the PSEventViewer module.
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.
:zap: The most advanced PowerShell module on GitHub for fine-tuning Windows 11 & Windows 10
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 🦀