hunt-ntlm-info
Skill này làm gì
Skill này kiểm tra các dịch vụ Windows hướng internet về phản hồi đăng nhập có tiết lộ tên miền và tên máy tính nội bộ hay không. Nó dành cho đánh giá được ủy quyền các trang IIS, SharePoint và Exchange.
Khi nào nên dùng
- ✓Khi một trang hiển thị header đăng nhập NTLM hoặc Negotiate cho khách ẩn danh.
- ✓Khi một máy chủ SharePoint hoặc Exchange có thể truy cập từ internet.
- ✓Khi bạn muốn xem một máy chủ công khai tiết lộ bao nhiêu tên nội bộ.
Liên kết skill
https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-ntlm-info/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
“Trang SharePoint của chúng tôi hiển thị header NTLM. Bạn có thể kiểm tra nó tiết lộ bao nhiêu thông tin miền nội bộ trong kiểm thử được ủy quyền không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent yêu cầu thử thách đăng nhập Windows và đọc các tên nội bộ bên trong nó. Nó báo cáo những gì bị lộ và cách nó có thể giúp kẻ tấn công.
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.
Crown Jewel Targets
NTLM info disclosure is a Medium-severity finding when chained to context — the leak itself is intentional protocol behavior (RFC-compliant NTLMSSP challenge), but on internet-exposed enterprise infrastructure it provides exact reconnaissance for the next stage of an attack. Highest-value targets:
- Internet-reachable IIS / SharePoint / Exchange / OWA with dual-auth (Forms + NTLM, or NTLM + Kerberos)
- Citrix NetScaler / VMware Horizon View internet-facing gateways with NTLM-backed AD auth
- Lync / Skype for Business / Teams On-Prem edge servers
- WSUS / Windows Update Services with NTLM-protected admin paths
- CIFS-style fileshare proxies (HCL Sametime, IBM Notes Domino) that proxy NTLM
- Legacy SharePoint farms that left NTLM enabled on the public-zone IIS binding
What makes this pay:
- Internal AD domain disclosure (parent-forest mapping, e.g.
customer.parent-corp.example→ tenant inside corporate-AD tree) - Default-Windows-hostname disclosure (
WIN-XXXXXXXXXXXpattern signals rushed provisioning → likely default service-account passwords) - Timestamp leak (used in NTLMv2 hash cracking acceleration)
- Direct attack-map enrichment for credential spraying combined with
hunt-auth-bypassLegacy-Protocol Matrix
Attack Surface Signals
Response headers signaling NTLM availability:
WWW-Authenticate: NTLM
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM, Negotiate
WWW-Authenticate: Negotiate, NTLM
URL patterns where NTLM is commonly exposed:
/_api/web/CurrentUser (SharePoint REST)
/_vti_bin/*.asmx (SharePoint legacy SOAP)
/EWS/Exchange.asmx (Exchange Web Services)
/Autodiscover/Autodiscover.xml (Exchange autodiscover)
/owa/ (Outlook Web App)
/Microsoft-Server-ActiveSync (ActiveSync)
/PowerShell (Exchange Mgmt Shell over HTTPS)
/api/v3/ (TeamCity, Atlassian)
/wsus/ (Windows Server Update Services)
/manager/html (some Tomcat behind IIS)
/iisstart.htm (default IIS, sometimes reveals NTLM upstream)
Tech-stack signals:
- IIS on the public internet (almost always NTLM-capable, even if Forms is the front)
- SharePoint Web Front End (almost always dual-auth Forms + NTLM)
- Exchange edge transport
- Server header
Microsoft-HTTPAPI/2.0,Microsoft-IIS/*,IIS/*
Step-by-Step Hunting Methodology
Probe every anonymous endpoint for
WWW-Authenticate: NTLM. Send a vanilla GET and inspect response headers. If NTLM is offered, proceed.Send a valid NTLMSSP Type-1 message anonymously. The Type-1 base64 below requests NetBIOS-domain and Workstation info from the server:
Authorization: NTLM TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAGAbEdAAAADw==This is the standard test Type-1 with negotiate flags
NTLMSSP_NEGOTIATE_UNICODE | NTLMSSP_NEGOTIATE_OEM | NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_ALWAYS_SIGN | NTLMSSP_NEGOTIATE_KEY_EXCH | NTLMSSP_NEGOTIATE_56 | NTLMSSP_NEGOTIATE_128 | NTLMSSP_NEGOTIATE_TARGET_INFO. TheOS Versionfield (06 01 B1 1D 00 00 00 0F) is Windows 7 build 7601 — accepted by virtually every NTLM responder.Use a keep-alive raw socket, not Python requests / curl one-shot. Most HTTP libraries close the connection between the Type-1 send and Type-2 reception. Use one of:
- Burp Repeater with
Connection: keep-aliveset explicitly - Burp
mcp__burp__send_http1_request(handles keep-alive natively) - Python raw
socket+ssl.wrap_socket(see Payload section)
- Burp Repeater with
Parse the Type-2 challenge from the
WWW-Authenticate: NTLM <base64>response header. Base64-decode the value. The structure is NTLMSSP per MS-NLMP:- Bytes 0-7: literal
NTLMSSP\0 - Bytes 8-11: MessageType =
\x02\x00\x00\x00 - Bytes 12-19: TargetName SecurityBuffer (len, alloc, offset)
- Bytes 20-23: NegotiateFlags
- Bytes 24-31: Server Challenge (8 bytes — useful for offline cracking)
- Bytes 40-47: TargetInfo SecurityBuffer (len, alloc, offset)
- TargetInfo body:
AV_PAIRSarray of (AvId u16, AvLen u16, Value)
- Bytes 0-7: literal
Decode the AV_PAIRS. The AvIds you care about:
1= NetBIOS Computer Name2= NetBIOS Domain Name3= DNS Computer Name (FQDN of the responding server)4= DNS Domain Name
Câu hỏi thường gặp
Đây có phải lỗi nghiêm trọng tự thân không?
Skill ghi rằng nó thường có mức trung bình, vì việc lộ lọt là hành vi giao thức bình thường nhưng vẫn hữu ích cho trinh sát.
Có thể học được gì từ nó?
Theo skill, nó có thể tiết lộ tên miền nội bộ, tên máy tính và một dấu thời gian.
Những máy chủ nào được bao quát?
Skill bao quát IIS, SharePoint, Exchange, Citrix và các dịch vụ Windows hướng internet tương tự.
Chi tiết
Mô tả gốc của tác giả
Hunt NTLM/Negotiate information disclosure on internet-reachable IIS/SharePoint/Exchange. Anonymous NTLM Type-2 challenge capture leaks NetBIOS domain, internal DNS forest, computer name, AD timestamp via AV_PAIRS structure. Default Windows-installer hostnames (WIN-XXXXXXXXXXX pattern) signal lazy provisioning. Use when target advertises `WWW-Authenticate: NTLM` or `Negotiate` headers anonymously.
Độ phổ biến
- Sao GitHub
- 5.4k
- Vị trí xếp hạng
- #14925
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
apk-redteam-pipeline
5.4kGiúp agent của bạn kiểm thử một ứng dụng Android về các điểm yếu bảo mật, từ việc tìm file APK và giải mã đến kiểm tra bí mật bị lộ.
bugcrowd-reporting
5.4kGiúp agent của bạn viết báo cáo lỗ hổng Bugcrowd tốt hơn, chọn đúng danh mục và trả lời các phản đối về việc nằm ngoài phạm vi.
cloud-iam-deep
5.4kGiúp agent của bạn kiểm tra thông tin xác thực đám mây tìm được có thể truy cập những gì trên AWS, Azure hoặc Google Cloud, trong một kiểm thử bảo mật được ủy quyền.
enterprise-vpn-attack
5.4kGiúp agent của bạn kiểm tra các thiết bị VPN và truy cập từ xa của Cisco, Fortinet, Citrix và các hãng khác về những điểm yếu đã biết, trong một kiểm thử được ủy quyền.
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.