Skip to Content
ProjectsAD Tools

AD Box

AD Box  is a Bash helper that spins up a fresh engagement folder for Active Directory targets. It lays down a consistent structure, generates Windows reverse shells with msfvenom, and pulls a curated toolset. This is script is not comprehensive, however, the main reason I created it was for for the OSCP+ certification to save time in the AD section.

Features

  • Creates engagement directories such as loot/, uploads-downloads/, hashes/, tools/, and exploit/shells/
  • Generates multiple Windows reverse shells for common ports (reverse-80.exe, reverse-443.exe, reverse-445.exe, reverse-4444.exe)
  • Downloads essential AD and Windows utilities into tools/
  • Detects VPN interfaces (tun0 first, otherwise eth0) to preconfigure payload IPs

Usage

./ad-box.sh [box_name] # Example ./ad-box.sh SomeDir ... SomeDir ├── exploit └── shells ├── hashes ├── loot ├── tools └── uploads-downloads

Notes

  • I only recommend this script for CTFs or OSCP-like certifications (not for real engagements).
Last updated on