Saltar al contenido
Skillpedia
Seguridad5,4 mil · #14925

hunt-ntlm-info

Qué hace

Esta skill comprueba servicios de Windows expuestos a internet en busca de respuestas de inicio de sesión que revelen nombres internos de dominio y de equipo. Es para revisiones autorizadas de sitios de IIS, SharePoint y Exchange.

Cuándo usarla

  • ✓Cuando un sitio muestra cabeceras de inicio de sesión NTLM o Negotiate a visitantes anónimos.
  • ✓Cuando un servidor SharePoint o Exchange es accesible desde internet.
  • ✓Cuando quieres ver cuántos nombres internos revela un servidor público.

Link de la skill

https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-ntlm-info/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-ntlm-info/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Nuestro sitio de SharePoint muestra cabeceras NTLM. ¿Puedes comprobar cuánta información interna de dominio revela, en nuestra prueba autorizada?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente solicita el desafío de inicio de sesión de Windows y lee los nombres internos que contiene. Informa de lo que revela la filtración y de cómo podría ayudar a un atacante.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

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-XXXXXXXXXXX pattern 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-bypass Legacy-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

  1. Probe every anonymous endpoint for WWW-Authenticate: NTLM. Send a vanilla GET and inspect response headers. If NTLM is offered, proceed.

  2. 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. The OS Version field (06 01 B1 1D 00 00 00 0F) is Windows 7 build 7601 — accepted by virtually every NTLM responder.

  3. 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-alive set explicitly
    • Burp mcp__burp__send_http1_request (handles keep-alive natively)
    • Python raw socket + ssl.wrap_socket (see Payload section)
  4. 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_PAIRS array of (AvId u16, AvLen u16, Value)
  5. Decode the AV_PAIRS. The AvIds you care about:

    • 1 = NetBIOS Computer Name
    • 2 = NetBIOS Domain Name
    • 3 = DNS Computer Name (FQDN of the responding server)
    • 4 = DNS Domain Name
Preguntas frecuentes

¿Es un fallo grave por sí mismo?

La skill indica que suele tener gravedad media, ya que la filtración es un comportamiento normal del protocolo, pero sigue siendo útil para el reconocimiento.

¿Qué se puede averiguar con ella?

Según la skill, puede revelar el nombre del dominio interno, el nombre del equipo y una marca de tiempo.

¿Qué servidores cubre?

La skill cubre IIS, SharePoint, Exchange, Citrix y servicios parecidos de Windows expuestos a internet.

Detalles

Descripción original del autor

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.

repo: elementalsouls/Claude-BugHunter

Popularidad

Estrellas en GitHub
5,4 mil
Posición en el ranking
#14925
Licencia
MIT
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas