Dumb vibe-coded scripts that install a bunch of tools, made for a Windows host with a WSL distro. Installs WSL2, pentesting tools, and development utilities with granular control over each component. This is basically an ugly workaround for when I am not able to use Exegol and I need to quickly setup a testing environment on a Windows-based host.
Open PowerShell as Administrator. Download and inspect the setup script before running it:
$setupScript = Join-Path $env:TEMP "setup-windows.ps1"
Invoke-WebRequest https://raw.githubusercontent.com/5tuk0v/pentest-setup/main/scripts/setup-windows.ps1 -OutFile $setupScript
Start-Process notepad.exe -ArgumentList $setupScript -Wait
# After reviewing and closing Notepad:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File $setupScriptFollow the prompts to choose paths, a WSL distro, and optional components. If the script reports that newly enabled WSL features require a reboot, reboot and run it again.
For convenience, the script can also be executed directly without prior inspection:
irm https://raw.githubusercontent.com/5tuk0v/pentest-setup/main/scripts/setup-windows.ps1 | iexLaunch the WSL distro selected during Windows setup and complete its one-time user-account creation. Ubuntu is recommended because the Linux setup script is designed and tested for Ubuntu.
Inside Ubuntu, download and inspect the setup script before running it:
curl -fsSL https://raw.githubusercontent.com/5tuk0v/pentest-setup/main/scripts/setup-ubuntu.sh -o /tmp/setup-ubuntu.sh
less /tmp/setup-ubuntu.sh
bash /tmp/setup-ubuntu.shFor convenience, it can also be executed directly without prior inspection:
curl -fsSL https://raw.githubusercontent.com/5tuk0v/pentest-setup/main/scripts/setup-ubuntu.sh | bash| Tool | Installation | Details |
|---|---|---|
| Metasploit Framework | Official install script via curl |
Exploitation and post-exploitation framework |
| uv | Official install script via curl |
Fast Python package and project manager |
| Zsh + Oh My Zsh | apt + official install script; default shell; rkj-repos theme |
Interactive shell and configuration framework |
The optional Install essential apt packages step installs:
7zip, build-essential, curl, dnsutils, git, jq, krb5-pkinit, krb5-user, libfaketime, libkrb5-dev, libpcap-dev, libxml2-utils, masscan, nmap, pipx, proxychains4, python3-dev, python3-nftables, python3-pip, smbclient, sqlite3, tmux, unzip, xclip, xsltproc, zip, and zsh.
| Tool | Installation | Details |
|---|---|---|
| ADPathFinder | uv tool install from Git |
Active Directory attack-path analysis |
| bloodhound-ce | uv tool install from package index |
BloodHound CE command-line client |
| bloodyAD | uv tool install from package index |
Active Directory LDAP and ACL manipulation |
| bofhound | uv tool install from package index |
Converts BOF collection output for BloodHound |
| certipy-ad | uv tool install from package index; privileged symlink created with installation |
Active Directory Certificate Services enumeration and abuse |
| cmloot | uv tool install from Git |
Credential and secret recovery from SCCM |
| coercer | uv tool install from package index |
RPC authentication coercion scanner |
| ConfigManBearPig (OpenHound) | uv tool install from package index; prereleases allowed |
ConfigMgr attack-path collection for OpenHound |
| conpass | uv tool install from Git |
Active Directory password policy enumeration |
| defaultcreds-cheat-sheet | uv tool install from package index |
Searchable vendor default-credential database |
| donpapi | uv tool install from package index; Python 3.12 |
Remote DPAPI secrets collection |
| dploot | uv tool install from package index |
DPAPI credential and secret looting |
| evil-winrm-py | uv tool install from package index; Kerberos extra |
WinRM client for Windows remote management |
| GPOHound | uv tool install from Git |
Group Policy Object reconnaissance |
| gpoParser | pipx install from Git |
Parses Group Policy preferences and settings |
| gpOddity | uv tool install from Git |
Finds unusual GPO permissions and links |
| impacket | uv tool install from Git; adds pycryptodome; privileged symlinks created with installation |
Network protocol libraries and remote-service tools |
| lsassy | uv tool install from package index |
Remote LSASS credential extraction |
| mitm6 | uv tool install from Git; privileged wrapper created with installation |
IPv6 DNS takeover for NTLM relay |
| netexec (nxc) | pipx install from Git; Rust via rustup; configuration patch |
Network service enumeration and remote execution; skip_self = True |
| OUned | uv tool install from Git |
gPLink poisoning through OU permissions |
| powerview.py | uv tool install from Git |
Active Directory reconnaissance and administration |
| pre2k | uv tool install from Git |
Pre-Windows 2000 computer-account enumeration |
| pxethiefy | uv tool install from Git; privileged symlink created with installation |
PXE boot media enumeration and decryption; pxethiefy command |
| Responder | uv tool install from Git; fixed challenge 1122334455667788; privileged symlink created with installation |
Name-resolution poisoning and credential capture |
| ROADrecon | uv tool install from package index |
Entra ID data collection and exploration |
| roadtx | uv tool install from package index |
Entra ID authentication and token tooling |
| sccmhunter | uv tool install from Git; privileged symlink created with installation |
Microsoft SCCM reconnaissance and exploitation |
| SnafflePy | uv tool install from Git; Python 3.11+ |
Linux and macOS port of Snaffler for SMB and AD file-share discovery |
| smbclientng | uv tool install from package index |
Interactive SMB client with NTLM and Kerberos support |
| soapy | uv tool install from Git |
Active Directory Web Services protocol tooling |
| Spoonmap | uv tool install from Git; uses base nmap and masscan packages; privileged wrapper created with installation |
Network scan orchestrator for Nmap and Masscan |
| WebRelayX | uv tool install from Git; privileged wrapper created with installation |
WebDAV relay and authentication-capture server |
| wspcoerce | uv tool install from Git |
WS-Print authentication coercion |
| wsuks | pipx install from Git; system site packages; privileged symlink created with installation |
WSUS attack and reconnaissance toolkit |
| Tool | Installation | Details |
|---|---|---|
| CVE-2026-54121 (Certighost) | Git clone + uv add --script; adds impacket, cryptography, pyasn1, asn1crypto, pycryptodome, and dnspython |
Certificate-based proof of concept for CVE-2026-54121 |
| cldap_ping | Git clone | CLDAP ping utility; run directly with Python |
| ghostsurf | Git clone + uv add --script; dependencies from requirements.txt; privileged wrapper created with installation |
Ghost-traffic proxy and network testing tool |
| gopacket | Git clone + native build; Go 1.24.13 when needed; installs to /usr/local/bin |
Go implementation of selected Impacket functionality |
| krbHash | Git clone + uv sync; project environment |
Kerberos hash extraction and cracking helper |
| krbrelayx | Git clone + uv add --script; adds impacket and pycryptodome; privileged wrapper created with installation |
Kerberos relay and unconstrained-delegation attacks |
| mssqlkaren | Git clone + uv sync; Python 3.13 project environment |
MSSQL reconnaissance and relay tooling |
| ntlmv1-multi | Git clone + uv add --script; adds pycryptodome |
Captures and cracks NetNTLMv1 responses |
| PKINITtools | Git clone + uv add --script; dependencies from requirements.txt; oscrypto from Git |
PKINIT and certificate-based Kerberos tooling |
| PRTremote | Git clone + uv add --script |
5tuk0v fork; prtremote.py with impacket and requests; disabled by default |
| PXEThief | Git clone + uv sync; project environment; privileged wrapper created with installation |
Cross-platform PXE boot credential recovery and decryption |
| pyTGTdeleg | Git clone + uv add --script; adds impacket |
Remote Kerberos TGT delegation through MSSQL CLR |
| pywsus | Git clone + uv add --script; dependencies from requirements.txt |
Lightweight WSUS server implementation |
| rbcdbrute | Git clone + uv add --script; adds impacket and tqdm |
Resource-based constrained-delegation attack automation |
| RelayInformer | Git clone + uv sync; Python subdirectory |
Identifies hosts suitable for NTLM relay |
| RelayKing-Depth | Git clone + uv add --script; dependencies from requirements.txt |
NTLM relay automation framework |
| rpc2efs | Git clone + uv add --script; adds impacket |
EFS RPC authentication coercion |
| SCCMSecrets | Git clone + uv add --script; dependencies from requirements.txt |
SCCM policy secrets and distribution-point file collection |
| scomhunter | Git clone + uv sync; project environment |
SCOM reconnaissance and exploitation |
| SMBLoot | Git clone + uv add --script; dependencies from requirements.txt |
Searches SMB shares for sensitive files |
| sqlmap | Git clone; privileged wrapper created with installation | Automated SQL injection detection and exploitation |
| susinternals | Git clone + uv add --script; adds impacket |
WSUS server assessment and abuse toolkit |
| targetedKerberoast | Git clone + uv add --script; dependencies from requirements.txt |
Targeted Kerberoasting through writable SPNs |
| tdo_dump | Git clone + uv add --script; adds impacket |
Trust-domain object and trust-key extraction |
| WSUScripts | Git clone + uv add --script; adds scapy to wsusniff.py; privileged wrapper created with installation |
WSUS spoofing and credential-capture scripts |
| wtftp | Git clone + uv sync; project environment; privileged wrapper created with installation |
TFTP server for Windows deployment scenarios |
| Tool | Installation | Details |
|---|---|---|
| Atlas | Latest GitHub release; Linux x64 ZIP; tools directory | Cross-platform network execution and AD assessment toolkit |
| ffuf | Latest GitHub release; Linux x64 archive to /usr/local/bin |
Fast web content and parameter fuzzer |
| MSSQLHound | Latest GitHub release; Linux x64 binary to /usr/local/bin |
MSSQL attack-path collector for BloodHound |
| ntlmrain | Latest GitHub release; Linux x64 ZIP; tools directory | Recovers NT hashes from NetNTLMv1 responses |
| nuclei | Latest GitHub release; Linux x64 ZIP to /usr/local/bin |
Template-based vulnerability scanner |
| PassTheCert-rs | Latest GitHub release; Linux GNU x64 archive to /usr/local/bin |
Certificate-based LDAP authentication and AD actions |
| pretender | Latest GitHub release; Linux x64 archive to /usr/local/bin |
Local network spoofing and name-resolution responder |
| pssrecon | Fixed GitHub release; Linux binary to /usr/local/bin |
SCCM Primary Site Server and Distribution Point enumeration over WinReg |
| RustHound-CE | Latest GitHub release; Linux GNU x64 archive to /usr/local/bin |
BloodHound CE Active Directory collector |
| SCCM HTTP Looter | Latest GitHub release; Linux x64 tar.gz; tools directory | Downloads selected files from SCCM distribution points over HTTP(S) |
| skewrun | Latest GitHub release; Linux x64 musl binary; libfaketime; /usr/local/bin |
Runs processes with a manipulated system time |
| Titanis | Latest GitHub release; self-contained Linux x64 ZIP with .NET 8 runtime; tools directory | Windows and AD enumeration toolkit |
| Configuration | Installation | Details |
|---|---|---|
| Pentest environment | Managed template; ~/.pentest-env sourced from ~/.zshrc |
Shared shell variables and aliases |
| ShellOpsLog | Direct script download; sourced from ~/.zshrc |
Automatic shell-operation logging |
| Tools path and logs | Interactive configuration; default tools path ~/tools |
Per-installation tool and setup-log locations |
| Tool | Installation | Details |
|---|---|---|
| 7-Zip | winget |
Archive manager |
| Azure CLI | winget (Microsoft.AzureCLI) |
Azure management and authentication CLI |
| BloodHound CE | bloodhound-cli + Docker Compose |
Self-hosted attack-path analysis platform |
| Burp Suite Community | winget; Community edition |
Web application testing proxy |
| Docker Desktop | winget; BloodHound CE prerequisite |
Container runtime and desktop management |
| Git | winget (Git.Git) |
Version-control client and clone prerequisite |
| Notepad++ | winget |
Text and code editor |
| Oh My Posh | winget; MSIX package; Nerd Fonts latest GitHub release |
Theme; system-wide CaskaydiaCove font family; operator-scoped profile configuration; policy-blocked installs reported in the final summary |
| RSAT: Active Directory DS-LDS Tools | Windows capability; includes ActiveDirectory PowerShell module |
AD DS and AD LDS administration tools |
| RSAT: Group Policy Management Tools | Windows capability | Group Policy Management Console, Management Editor, and Starter GPO Editor |
| ShareNot | winget |
Screenshot utility |
| SQL Server Management Studio (SSMS) | winget |
SQL Server administration client |
| Sysinternals Suite | Official direct download; ZIP to the tools directory | Windows troubleshooting and system-inspection utilities |
| Visual Studio 2022 Community | winget; managed and native desktop workloads |
Windows development and native-build environment |
| Visual Studio Code | winget (Microsoft.VisualStudioCode) |
Source editor |
| Wireshark | winget; Npcap installed manually |
Network protocol analyzer |
| WSL2 + Linux distro | Windows features + WSL; selectable Ubuntu, Debian, or Kali | Linux environment on the Windows host |
These tools are downloaded from tagged releases in pentest-setup-builds, where source commits, build inputs, and release artifacts are reviewed and pinned.
| Tool | Installation | Details |
|---|---|---|
| askWAM | Reviewed GitHub release; native x64; static C runtime; inbox WinRT; Windows 10 1803+ | Requests tokens through the Windows Account Manager |
| AxiomSecrets | Reviewed GitHub release; self-contained x64 executable; NTFSLib parser | Searches NTFS artifacts for secrets |
| Certify | Reviewed GitHub release; .NET Framework 4.7.2; AnyCPU | AD CS enumeration and abuse |
| RAIWhateverTrigger | Reviewed GitHub release; x64 ZIP with native RAICTrigger.exe and .NET Framework 4.7.2 RAICSTrigger.exe; BOF excluded |
RPC authentication coercion |
| RequestAADRefreshToken | Reviewed GitHub release; .NET Framework 4.8; AnyCPU | Requests Entra ID refresh tokens |
| ROADtoken | Reviewed GitHub release; .NET Framework 4.8; AnyCPU | Obtains Entra ID tokens via device registration |
| Rubeus | Reviewed GitHub release; .NET Framework 4.8; AnyCPU | Kerberos ticket operations and abuse |
| SharpPrinter | Reviewed GitHub release; single-file .NET Framework 4.8; pinned NuGet dependencies; Costura | Printer reconnaissance and administration |
| SharpPXE | Reviewed GitHub release; .NET Framework 4.8; AnyCPU | PXE boot credential capture |
| SpoolSample | Reviewed GitHub release; native x64 and .NET Framework 4.8 | Print Spooler authentication coercion |
| WebClientTrigger | Reviewed GitHub release; native C17 x64 ZIP | Starts the Windows WebClient service |
| Tool | Installation | Details |
|---|---|---|
| Atlas | Latest GitHub release; Windows x64 ZIP to the tools directory | Cross-platform network execution and AD assessment toolkit |
| AzureHound | Latest GitHub release; Windows x64 ZIP | Collects Entra ID and Azure data for BloodHound |
| bloodhound-cli | Latest GitHub release; Windows x64 ZIP | Manages BloodHound CE instances and data |
| CMLoot | Git clone | PowerShell SCCM reconnaissance and looting |
| DCOMIllusionist | Latest GitHub release; DCOMIllusionist.exe |
DCOM lateral movement and remote execution |
| DumpGuard | Latest GitHub release; ZIP to the tools directory | Reviews Windows process-dump protections |
| gopacket | Git clone + native build; Go 1.24.13 when needed; Windows target | Go implementation of selected Impacket functionality |
| Group3r | Latest GitHub release; .NET Framework 4.5.1 AnyCPU executable | Enumerates Group Policy settings and exploitable misconfigurations |
| Inveigh | Latest GitHub release; .NET Framework 4.6.2 ZIP | Windows network-spoofing and credential-capture tool |
| MSSQLHound | Latest GitHub release; Windows x64 executable | MSSQL attack-path collector for BloodHound |
| ntlmrain | Latest GitHub release; Windows x64 ZIP to the tools directory | Recovers NT hashes from NetNTLMv1 responses |
| PassTheCert-rs | Latest GitHub release; Windows MSVC x64 ZIP | Certificate-based LDAP authentication and AD actions |
| PingCastle | Latest GitHub release; ZIP to the tools directory | Active Directory security assessment |
| Powermad | Git clone | Active Directory machine-account manipulation |
| pssrecon | Fixed GitHub release; pssrecon.exe |
SCCM Primary Site Server and Distribution Point enumeration over WinReg |
| ResetNightmare | Git clone; requires ActiveDirectory, Rubeus.exe, and an unpatched DC |
CVE-2026-27912 account-password-reset proof of concept |
| SCCM HTTP Looter | Latest GitHub release; Windows x64 ZIP; tools directory | Downloads selected files from SCCM distribution points over HTTP(S) |
| ScriptSentry | Git clone | Audits logon scripts for plaintext credentials, unsafe permissions, and stale share mappings |
| SharpHound | Latest GitHub release; Windows ZIP | Collects Active Directory data for BloodHound |
| SharpSCCM | Latest GitHub release; SharpSCCM.exe |
Microsoft SCCM reconnaissance and abuse |
| Snaffler | Latest GitHub release; Snaffler.exe |
Finds sensitive files in Active Directory environments |
| Titanis | Latest GitHub release; self-contained Windows x64 ZIP with .NET 8 runtime | Windows and Active Directory enumeration toolkit |
| Configuration | Installation | Details |
|---|---|---|
| ADTamper.ps1 | Direct script download to the tools directory | Active Directory ACL and object modification |
| Daily reboot task | Interactive configuration | Optional scheduled reboot |
| Defender exclusion | Automatic configuration; selected tools directory | Reduces real-time scanning of installed tools |
| disable-smb.bat | Direct script download | Stops SMB services to release TCP port 445 |
| enable-smb.bat | Direct script download | Restores SMB services |
| Evidence, tools, and log paths | Interactive configuration; defaults C:\_Preuves and C:\_Tools |
Optional current-user Modify access for WSL; per-installation evidence, tool, and setup-log locations |
| Firewall rules | Interactive configuration; SSH, RDP, SMB, HTTP, and HTTPS | Optional inbound firewall access |
| Invoke-ADEnum | Direct script download to the tools directory | Automated Active Directory enumeration and HTML reporting |
| PowerView.ps1 | Direct script download to the tools directory | Active Directory reconnaissance and administration |
| PrivescCheck.ps1 | Direct script download to the tools directory | Windows local privilege-escalation checks |
| ShellOpsLog | Direct profile download | Tools-directory profile loaded for the setup operator by SID; failures reported in the final summary |
| SnafflerParser.ps1 | Direct script download to the tools directory | Parses and filters Snaffler output |
Both scripts prompt for custom directories and create log files:
Windows Paths:
- Evidence:
C:\_Preuves(default) - Client evidence and operation logs - Tools:
C:\_Tools(default) - Downloaded security tools - Setup Log:
<ToolsPath>\logs\setup-windows-TIMESTAMP.log
Linux Paths:
- Tools:
~/tools(default) - Cloned repositories, standalone tools, and logs - Operation Logs:
/mnt/c/_Preuves/opslogs_wsl/(default) - ShellOpsLog output - Setup Log:
<ToolsPath>/logs/setup-ubuntu-TIMESTAMP.log
This project was developed by 5tuk0v with substantial assistance from AI coding tools, including OpenCode and OpenAI Codex, using multiple models. The exact models and versions used were not consistently recorded.
AI assistance included implementation, debugging, testing, documentation, and code review. All AI-assisted contributions were directed and reviewed by the maintainer, who remains responsible for the final result.
MIT License - see LICENSE file for details.
This project integrates third-party tools, each with their own licenses. See the respective repositories for license information.
This is a minimal automation framework. You are responsible for choosing and installing appropriate tools for your use case. Use tools responsibly and only on systems you own or have authorization to test.