Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

SpicyAD

> 编程语言
Open source

SpicyAD is a C# Active Directory penetration testing tool designed for authorized security assessments. It combines multiple AD attack techniques into a single,

100 stars0 likes0 views
WebsiteGitHub

About

SpicyAD is a C# Active Directory penetration testing tool designed for authorized security assessments. It combines multiple AD attack techniques into a single,

SpicyAD

…

Table of Contents

  • Description
  • Features
  • Installation
  • Execution
    • Interactive Mode
    • Command-Line Mode
    • Reflection (In-Memory)
  • Global Options
  • Connection Flags
  • Commands
    • Enumeration
      • bloodhound
      • domain-info
      • enum-dcs
      • enum-users
      • enum-computers
      • enum-shares
      • find-shares
      • domain-trusts
      • delegations
      • laps
      • enum-vulns
      • enum-certs
    • Attacks
      • kerberoast
      • asreproast
      • targeted-kerberoast
      • spray
      • dump
      • ptt
      • asktgt
      • esc1
      • esc4
      • shadow-creds
      • rbcd
      • add-user
      • delete-user
      • add-machine
      • add-to-group
      • change-password
  • Attack Workflows
  • References
  • Legal Disclaimer

Disclaimer: This tool was created using my knowledge of Kerberos and Active Directory, together with assistance from Claude-Code. We both may be wrong, so research, test, and modify as needed, it’s your responsibility :)

Description

SpicyAD is a C# Active Directory penetration testing tool designed for authorized security assessments. It combines multiple AD attack techniques into a single, easy-to-use tool with both interactive and command-line interfaces.

Secure by default: SpicyAD automatically detects and uses LDAPS (port 636) when available, falling back to LDAP (port 389) if not. This can be toggled manually via /ldaps flag or in the Settings menu.

Category Capabilities
Enumeration Domain info, DCs, users, computers, shares (SYSVOL/NETLOGON/all), trusts, delegations (Unconstrained/Constrained/RBCD), LAPS, certificate templates (ESC1-4, ESC8), BloodHound Ingestor
Kerberos Attacks Kerberoasting with RC4 downgrade via LSA (Rubeus /tgtdeleg style, on by default; /rc4only /aes-only /no-downgrade to control) + AS-REP Roasting, Password Spray, Pass-the-Ticket, Targeted Kerberoasting
ADCS Attacks ESC1 (arbitrary SAN), ESC4 (Template Hijacking), PKINIT + UnPAC-the-hash
Credentials Shadow Credentials, RBCD
AD Management Add/delete users, add machines, group management, password changes

Automatic Attack Chains:

Chain Flow
ESC4 full Modify template → ESC1 → PKINIT → Restore
ESC1 Request cert → PKINIT → Extract NT hash
Shadow Creds Add shadow cred → PKINIT → Extract NT hash
Targeted Kerberoast Set SPN → Kerberoast → Restore
Password Spray Enum users + badPwdCount → spray

Installation

Requirements

  • .NET Framework 4.8
  • Windows environment

Build

powershell
# Using dotnet CLI
dotnet build SpicyAD.csproj -c Release

# Using MSBuild
msbuild SpicyAD.csproj /p:Configuration=Release

Or just compile with VS

bin\Release\net48\SpicyAD.exe

Execution

SpicyAD supports three execution methods:

Method Use Case
Domain-Joined Running from a machine joined to the target domain
Non-Domain-Joined Running from a workgroup machine or different domain
Reflection In-memory execution without touching disk

Interactive Mode

powershell
# Domain-Joined
.\SpicyAD.exe

# Non-Domain-Joined
.\SpicyAD.exe /domain:evilcorp.net /dc-ip:10.10.10.10 /user:admin /password:P@ssw0rd

# Reflection
[Reflection.Assembly]::LoadFile("C:\Users\Public\SpicyAD.exe") | Out-Null; [SpicyAD.Program]::Run()

Command-Line Mode

powershell
.\SpicyAD.exe [command] [options]

Reflection (In-Memory)

Execute SpicyAD without writing to disk using .NET Reflection:

powershell
# Load assembly
[Reflection.Assembly]::LoadFile("C:\Users\Public\SpicyAD.exe")

# Execute command
[SpicyAD.Program]::Execute("command", "arg1", "arg2")

# Interactive menu
[SpicyAD.Program]::Run()

Global Options

Option Description
/verbose, -v Show detailed output
/log Save output to log file (current directory)
/log: Save output to specified path

Connection Flags

Required for non-domain-joined machines:

Flag Description Example
/domain: Target domain FQDN /domain:evilcorp.net
/dc-ip: Domain Controller IP /dc-ip:10.10.10.10
/user: Username for auth /user:elliot
/password: Password for auth /password:P@ssw0rd
/dns: DNS server (optional) /dns:10.10.10.10
/ldaps, /ssl Use LDAPS (SSL/TLS, port 636) /ldaps

Commands

Enumeration


bloodhound

BloodHound Ingestor - Collect AD data for BloodHound CE analysis. Generates JSON files compatible with BloodHound Community Edition.

Option Description
/collection: Collection method(s) - see table below
/outputdir: Output directory (default: current)
/zipfilename: Custom ZIP filename
/threads: Threads for session/local group enum (default: 10)
/stealth Skip session and local group enumeration
/pretty Pretty-print JSON (larger files)

Collection Methods:

Method Description
default Group, Session, Trusts, ACL, ObjectProps, Container, LocalAdmin
all All collection methods
dconly Group, ACL, Trusts, ObjectProps, Container (no computer enum)
session Network session enumeration (NetSessionEnum)
localgroup Local group membership (LocalAdmin, RDP, DCOM, PSRemote)
group Group membership enumeration
acl Access Control List collection
trusts Domain trust enumeration
container OU, GPO, and container enumeration
computeronly Session and local group enum only
certservices Certificate Templates and Enterprise CAs

Note: Methods can be combined with comma: /collection:group,acl,session

Domain-Joined:

…

Non-Domain-Joined:

powershell
.\SpicyAD.exe /domain:evilcorp.net /dc-ip:10.10.10.10 /user:admin /password:P@ssw0rd bloodhound
.\SpicyAD.exe /domain:evilcorp.net /dc-ip:10.10.10.10 /user:admin /password:P@ssw0rd bloodhound /collection:all
.\SpicyAD.exe /domain:evilcorp.net /dc-ip:10.10.10.10 /user:admin /password:P@ssw0rd bloodhound /collection:dconly /stealth

# With LDAPS (SSL/TLS)
.\SpicyAD.exe /domain:evilcorp.net /dc-ip:10.10.10.10 /user:admin /password:P@ssw0rd /ldaps bloodhound

Reflection:

…

Output: ZIP file containing JSON files for import into BloodHound CE.


domain-info

Get domain information including name, mode, forest, and machine account quota.

Domain-Joined:

powershell
.\SpicyAD.exe domain-info

Non-Domain-Joined:

powershell
.\SpicyAD.exe /domain:evilcorp.net /dc-ip:10.10.10.10 /user:admin /password:P@ssw0rd domain-info

Reflection:

powershell
[Reflection.Assembly]::LoadFile("C:\Users\Public\SpicyAD.exe") | Out-Null; [SpicyAD.Program]::Execute("domain-info")

# Non-Domain-Joined
[Reflection.Assembly]::LoadFile("C:\Users\Public\SpicyAD.exe") | Out-Null; [SpicyAD.Program]::Execute("/domain:evilcorp.net", "/dc-ip:10.10.10.10", "/user:admin", "/password:P@ssw0rd", "domain-info")

enum-dcs

Enumerate domain controllers with IPs, OS versions, sites, and roles.

Domain-Joined:

powershell
.\SpicyAD.exe enum-dcs

Non-Domain-Joined:

powershell
.\SpicyAD.exe /domain:evilcorp.net /dc-ip:10.10.10.10 /user:admin /password:P@ssw0rd enum-dcs

Reflection:

powershell
[Reflection.Assembly]::LoadFile("C:\Users\Public\SpicyAD.exe") | Out-Null; [SpicyAD.Program]::Execute("enum-dcs")

# Non-Domain-Joined
[Reflection.Assembly]::LoadFile("C:\Users\Public\SpicyAD.exe") | Out-Null; [SpicyAD.Program]::Execute("/domain:evilcorp.net", "/dc-ip:10.10.10.10", "/user:admin", "/password:P@ssw0rd", "enum-dcs")

enum-users

Enumerate domain users with security-relevant flags (DONT_REQ_PREAUTH, HAS_SPN, DISABLED).

Domain-Joined:

powershell
.\SpicyAD.exe enum-users

Non-Domain-Joined:

powershell
.\SpicyAD.exe /domain:evilcorp.net /dc-ip:10.10.10.10 /user:admin /password:P@ssw0rd enum-users

Reflection:

powershell
[Reflection.Assembly]::LoadFile("C:\Users\Public\SpicyAD.exe") | Out-Null; [SpicyAD.Program]::Execute("enum-users")

# Non-Domain-Joined
[Reflection.Assembly]::LoadFile("C:\Users\Public\SpicyAD.exe") | Out-Null; [SpicyAD.Program]::Execute("/domain:evilcorp.net", "/dc-ip:10.10.10.10", "/user:admin", "/password:P@ssw0rd", "enum-users")

enum-computers

Enumerate domain computers with IP resolution.

Domain-Joined:

powershell
.\SpicyAD.exe enum-computers

Non-Domain-Joined:

powershell
.\SpicyAD.exe /domain:evilcorp.net /dc-ip:10.10.10.10 /user:admin /password:P@ssw0rd enum-computers

Reflection:

powershell
[Reflection.Assembly]::LoadFile("C:\Users\Public\SpicyAD.exe") | Out-Null; [SpicyAD.Program]::Execute("enum-computers")

# Non-Domain-Joined
[Reflection.Assembly]::LoadFile("C:\Users\Public\SpicyAD.exe") | Out-Null; [SpicyAD.Program]::Execute("/domain:evilcorp.net", "/dc-ip:10.10.10.10", "/user:admin", "/password:P@ssw0rd", "enum-computers")

enum-shares

Enumerate SYSVOL/NETLOGON shares with interesting file detection.

Domain-Joined:

powershell
.\SpicyAD.exe enum-shares

Non-Domain-Joined:

powershell
.\SpicyAD.exe /domain:evilcorp.net /dc-ip:10.10.10.10 /user:admin /password:P@ssw0rd enum-shares

Reflection:

powershell
[Reflection.Assembly]::LoadFile("C:\Users\Public\SpicyAD.exe") | Out-Null; [SpicyAD.Program]::Execute("enum-shares")

# Non-Domain-Joined
[Reflection.Assembly]::LoadFile("C:\Users\Public\SpicyAD.exe") | Out-Null; [SpicyAD.Program]::Execute("/domain:evilcorp.net", "/dc-ip:10.10.10.10", "/user:admin", "/password:P@ssw0rd", "enum-shares")

find-shares

Enumerate shares on all domain computers or a specific host.

Domain-Joined:

powershell
.\SpicyAD.exe find-shares
.\SpicyAD.exe find-shares /target:SERVER01

Non-Domain-Joined:

powershell
.\SpicyAD.exe /domain:evilcorp.net /dc-ip:10.10.10.10 /user:admin /password:P@ssw0rd find-shares
.\SpicyAD.exe /domain:evilcorp.net /dc-ip:10.10.10.10 /user:admin /password:P@ssw0rd find-shares /target:SERVER01

Reflection:

powershell
[Reflection.Assembly]::LoadFile("C:\Users\Public\SpicyAD.exe") | Out-Null; [SpicyAD.Program]::Execute("find-shares")

# Non-Domain-Joined
[Reflection.Assembly]::LoadFile("C:\Users\Public\SpicyAD.exe") | Out-Null; [SpicyAD.Program]::Execute("/domain:evilcorp.net", "/dc-ip:10.10.10.10", "/user:admin", "/password:P@ssw0rd", "find-shares")

domain-trusts

Enumerate domain trust relationships.

Domain-Joined:

powershell
.\SpicyAD.exe domain-trusts

Non-Domain-Joined:

powershell
.\SpicyAD.exe /domain:evilcorp.net /dc-ip:10.10.10.10 /user:admin /password:P@ssw0rd domain-trusts

Reflection:

powershell
[Reflection.Assembly]::LoadFile("C:\Users\Public\SpicyAD.exe") | Out-Null; [SpicyAD.Program]::Execute("domain-trusts")

# Non-Domain-Joined
[Reflection.Assembly]::LoadFile("C:\Users\Public\SpicyAD.exe") | Out-Null; [SpicyAD.Program]::Execute("/domain:evilcorp.net", "/dc-ip:10.10.10.10", "/user:admin", "/password:P@ssw0rd", "domain-tr

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言