performing-kerberoasting-attack
यह क्या करती है
यह टूल कॉर्पोरेट नेटवर्क में सर्विस अकाउंट्स के कमज़ोर पासवर्ड ढूंढने में मदद करता है। यह उन अकाउंट्स को खोजता है जिनमें सर्विसें चल रही हैं, उनके लिए एक्सेस 'टिकट्स' लेने की कोशिश करता है, और फिर उन टिकट्स के पासवर्ड अनुमान लगाकर तोड़ने की कोशिश करता है।
कब इस्तेमाल करें
- ✓अनुमति लेकर किसी कॉर्पोरेट नेटवर्क की सुरक्षा टेस्ट करते समय।
- ✓यह जांचने के लिए कि सर्विस अकाउंट्स से समझौता हो सकता है या नहीं।
- ✓नियमित सुरक्षा ऑडिट के हिस्से के रूप में।
Skill का लिंक
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-kerberoasting-attack/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“कमज़ोर सर्विस अकाउंट पासवर्ड ढूंढने के लिए Kerberoasting हमला करो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
टूल पहले उन अकाउंट्स को ढूंढता है जिनके पास 'Service Principal Names' (SPNs) होते हैं। फिर वह इन अकाउंट्स के लिए ऑथेंटिकेशन 'टिकट्स' मांगता है और ऑफ़लाइन उन टिकट्स के पासवर्ड तोड़ने की कोशिश करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Performing Kerberoasting Attack
Legal Notice: This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.
Overview
Kerberoasting is a post-exploitation technique that targets service accounts in Active Directory by requesting Kerberos TGS (Ticket Granting Service) tickets for accounts with Service Principal Names (SPNs) set. These tickets are encrypted with the service account's NTLM hash, allowing offline brute-force cracking without generating failed login events. It is one of the most common privilege escalation paths in AD environments because any domain user can request TGS tickets.
When to Use
- When conducting security assessments that involve performing kerberoasting attack
- When following incident response procedures for related security events
- When performing scheduled security testing or auditing activities
- When validating security controls through hands-on testing
Prerequisites
- Familiarity with red teaming concepts and tools
- Access to a test or lab environment for safe execution
- Python 3.8+ with required dependencies installed
- Appropriate authorization for any testing activities
MITRE ATT&CK Mapping
- T1558.003 - Steal or Forge Kerberos Tickets: Kerberoasting
- T1087.002 - Account Discovery: Domain Account
- T1069.002 - Permission Groups Discovery: Domain Groups
Workflow
Phase 1: SPN Enumeration
- Enumerate accounts with SPNs using LDAP queries
- Filter for user accounts (not computer accounts)
- Identify accounts with elevated privileges (adminCount=1)
- Prioritize accounts with weak password policies
Phase 2: TGS Ticket Request
- Request TGS tickets for identified SPN accounts
- Extract ticket data in crackable format (hashcat/john compatible)
- Ensure RC4 encryption is requested when possible (easier to crack)
- Document all requested tickets
Phase 3: Offline Cracking
- Use hashcat mode 13100 (Kerberos 5 TGS-REP etype 23) for RC4 tickets
- Use hashcat mode 19700 (Kerberos 5 TGS-REP etype 17) for AES-128
- Use hashcat mode 19800 (Kerberos 5 TGS-REP etype 18) for AES-256
- Apply targeted wordlists and rules based on password policy
Phase 4: Credential Validation
- Validate cracked credentials against domain
- Assess access level of compromised accounts
- Map accounts to BloodHound attack paths
- Document for engagement report
Tools and Resources
| Tool | Purpose | Platform |
|---|---|---|
| Rubeus | Kerberoasting and ticket manipulation | Windows (.NET) |
| Impacket GetUserSPNs.py | Remote Kerberoasting | Linux/Python |
| PowerView | SPN enumeration | Windows (PowerShell) |
| hashcat | Offline password cracking | Cross-platform |
| John the Ripper | Offline password cracking | Cross-platform |
Detection Indicators
- Event ID 4769: Kerberos Service Ticket Request with RC4 encryption (0x17)
- Anomalous TGS requests from a single account in short timeframe
- TGS requests for services the user normally does not access
- Honeypot SPN accounts with alerting on ticket requests
Validation Criteria
- SPN accounts enumerated and documented
- TGS tickets extracted in crackable format
- Offline cracking attempted with appropriate wordlists
- Cracked credentials validated
- Access level of compromised accounts assessed
अक्सर पूछे जाने वाले सवाल
Kerberoasting क्या है?
यह सुरक्षा टेस्टिंग में इस्तेमाल होने वाली एक तकनीक है, जिससे नेटवर्क पर सर्विसें चलाने वाले अकाउंट्स के पासवर्ड का पता लगाने की कोशिश की जाती है।
क्या इसके इस्तेमाल के लिए अनुमति चाहिए?
हां, इस टूल का इस्तेमाल सिर्फ़ उन्हीं सिस्टम पर करें जिनकी जांच की आपको साफ़ अनुमति है। बिना अनुमति इसका इस्तेमाल करना गैरकानूनी है।
SPNs क्या हैं?
SPNs (Service Principal Names) नेटवर्क पर सर्विस इंस्टेंस के लिए यूनिक पहचानकर्ता होते हैं। जो अकाउंट्स सर्विसें चलाते हैं, उनके साथ आम तौर पर SPNs जुड़े होते हैं।
जानकारी
लेखक का मूल विवरण
Perform Kerberoasting, a post-exploitation technique that enumerates Active Directory service accounts with Service Principal Names (SPNs), requests their Kerberos TGS tickets, and cracks the NTLM-encrypted tickets offline to recover service account credentials. Use during authorized red team engagements or penetration tests to assess AD privilege escalation and credential access risk from weak se
लोकप्रियता
- GitHub स्टार
- 35k
- रैंकिंग में स्थान
- #8251
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 31/8/2026
कमेंट
- …
इस repository की और skills
abusing-dpapi-for-credential-access
35kआपके AI एजेंट को किसी खास काम के लिए तैयार instructions देता है, ताकि वह उसे बेहतर और तेज़ी से कर सके।
abusing-shadow-credentials-for-privesc
35kआपके AI एजेंट को साफ़ और अच्छी तरह से व्यवस्थित लिखना सिखाता है।
achieving-cmmc-level-2-compliance
35kयह आपके एजेंट को CMMC Level 2 compliance के लिए environment तैयार करने में मदद करता है। यह security requirements लागू करता है और ज़रूरी documentation संभालता है।
acquiring-disk-image-with-dd-and-dcfldd
35kआपके एजेंट को hard drives की exact copies बनाने में मदद करता है। जाँच के दौरान किसी भी जानकारी के खोने या बदलने से बचाने के लिए यह उपयोगी है।
मिलती-जुलती skills
test-driven-development
311kयह आपके एजेंट को किसी भी फ़ीचर या सुधार से पहले पहले असफल होने वाला टेस्ट लिखना, उसे असफल होते देखना, फिर पास करने वाला सबसे छोटा कोड लिखना सिखाती है।
verification-before-completion
311kयह आपके एजेंट को किसी काम, सुधार या build के पूरा या पास होने का दावा करने से पहले असली जांच चलाकर उसका आउटपुट पढ़ना सिखाती है।
migrate-to-shoehorn
310kआपकी टेस्ट फ़ाइलों में जोखिम भरे type casts की जगह shoehorn लाइब्रेरी लगाती है, ताकि टेस्ट अधूरे डेटा से भी type checks पास कर सकें।