Saltar al contenido
Skillpedia
Análisis y hojas de cálculo35 mil · #7964

hunting-for-ntlm-relay-attacks

Qué hace

Esta herramienta busca ataques de retransmisión NTLM (NTLM relay), que son intentos de robar tus credenciales de acceso para entrar sin autorización a recursos de la red. Analiza los registros de eventos de Windows para encontrar actividad sospechosa.

Cuándo usarla

  • ✓Cuando investigas un incidente de seguridad.
  • ✓Cuando creas reglas para detectar ataques.
  • ✓Para comprobar que la monitorización de seguridad funciona.

Link de la skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-ntlm-relay-attacks/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/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-ntlm-relay-attacks/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

“Busca ataques de retransmisión NTLM en los registros de seguridad.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La herramienta analiza los registros de eventos de Windows buscando patrones que indiquen que alguien intenta usar credenciales robadas para acceder a otros equipos. Comprueba si el nombre del equipo coincide con su dirección IP y si la autenticación se hace de forma insegura.

Contenido técnico (SKILL.md original)

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

Hunting for NTLM Relay Attacks

Overview

NTLM relay attacks intercept and forward NTLM authentication messages to gain unauthorized access to network resources. Attackers use tools like Responder for LLMNR/NBT-NS poisoning and ntlmrelayx for credential relay. This skill detects relay activity by querying Windows Security Event 4624 (successful logon) for type 3 network logons with NTLMSSP authentication, identifying mismatches between WorkstationName and source IpAddress, detecting rapid multi-host authentication from single accounts, and auditing SMB signing configuration across domain hosts.

When to Use

  • When investigating security incidents that require hunting for ntlm relay attacks
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Python 3.9+ with Windows Event Log access or exported logs
  • Windows Security audit logging enabled (Event ID 4624, 4625, 5145)
  • Network access for SMB signing status checks

Key Detection Areas

  1. IP-hostname mismatch — WorkstationName in Event 4624 does not resolve to the source IpAddress
  2. NTLMSSP authentication — logon events using NTLM instead of Kerberos from domain-joined hosts
  3. Machine account relay — computer accounts (ending in $) authenticating from unexpected IPs
  4. Rapid authentication — single account authenticating to multiple hosts within seconds
  5. Named pipe access — Event 5145 showing access to Spoolss, lsarpc, netlogon, samr pipes
  6. SMB signing disabled — hosts not enforcing SMB signing, enabling relay attacks

Output

JSON report with suspected relay events, IP-hostname correlation anomalies, SMB signing audit results, and MITRE ATT&CK mapping to T1557.001.

Preguntas frecuentes

¿Qué es un ataque de retransmisión NTLM?

Es un tipo de ataque en el que el atacante intercepta tu intento de inicio de sesión y lo reenvía a otro servicio, haciéndose pasar por ti para obtener acceso.

¿Qué información se necesita?

Necesitas tener Python instalado y los registros de seguridad de Windows activados y accesibles.

¿Qué hace la herramienta si encuentra algo sospechoso?

Genera un informe con los eventos sospechosos, mostrando las anomalías encontradas y cómo se relacionan con técnicas de ataque conocidas.

Detalles

Descripción original del autor

Detects NTLM relay attacks (MITRE T1557.001) by analyzing Windows Event ID 4624 logon type 3 with NTLMSSP authentication, flagging IP-to-hostname mismatches, Responder/LLMNR poisoning signatures, SMB signing status, and anomalous cross-domain authentication patterns. Use when investigating credential-relay activity in Active Directory or building detections for NTLM relay and coercion-based attack

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularidad

Estrellas en GitHub
35 mil
Posición en el ranking
#7964
Licencia
Apache-2.0
Actualizada
31/8/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas