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

hunting-for-domain-fronting-c2-traffic

Qué hace

Esta herramienta busca tráfico sospechoso en internet que intenta ocultarse tras sitios web conocidos, como las redes de distribución de contenido (CDN). Para ello compara distintos datos que tu equipo envía al conectarse a un sitio.

Cuándo usarla

  • ✓Cuando sospeches que alguien oculta una comunicación maliciosa.
  • ✓Mientras revisas los registros de red en busca de actividad inusual.
  • ✓Para comprobar si tus herramientas de seguridad detectan este tipo de tráfico oculto.

Link de la skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-domain-fronting-c2-traffic/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-domain-fronting-c2-traffic/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 tráfico oculto en nuestros registros del proxy.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La herramienta compara el nombre del sitio web enviado al inicio de una conexión segura (SNI) con el nombre del sitio al que dice acceder el navegador (cabecera Host). Si son distintos y parece que se usa un sitio legítimo para ocultar uno malicioso, genera una alerta.

Contenido técnico (SKILL.md original)

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

Hunting for Domain Fronting C2 Traffic

Overview

Domain fronting (MITRE ATT&CK T1090.004) is a technique where attackers use different domain names in the TLS SNI field and the HTTP Host header to disguise C2 traffic behind legitimate CDN-hosted domains. This skill detects domain fronting by parsing proxy/web gateway logs for SNI-Host header mismatches, analyzing TLS certificates for CDN provider identification, flagging connections where the SNI points to a high-reputation domain but the Host header targets an attacker-controlled domain, and correlating with known CDN provider IP ranges.

When to Use

  • When investigating security incidents that require hunting for domain fronting c2 traffic
  • 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

  • Web proxy or secure web gateway logs with SNI and Host header fields
  • Python 3.8+ with pyOpenSSL and cryptography libraries
  • TLS inspection enabled on proxy for Host header visibility
  • CDN provider IP range lists (CloudFront, Azure CDN, Cloudflare)

Steps

  1. Parse proxy logs for connections with both SNI and Host header fields
  2. Compare SNI domain against HTTP Host header for mismatches
  3. Extract TLS certificate Subject and SAN fields using pyOpenSSL
  4. Identify CDN-hosted connections via certificate issuer and IP ranges
  5. Flag high-confidence domain fronting where SNI and Host differ on CDN IPs
  6. Score alerts based on domain reputation differential
  7. Generate detection report with network flow context

Expected Output

JSON report containing detected domain fronting indicators with SNI-Host pairs, certificate details, CDN provider identification, confidence scores, and MITRE ATT&CK technique mapping.

Preguntas frecuentes

¿Qué es el 'domain fronting'?

Es una técnica que usan los atacantes para disfrazar el tráfico de comando y control (C2) de un malware, haciendo que parezca que va a un sitio web legítimo y conocido, como un servicio CDN.

¿Qué son 'SNI' y 'cabecera Host'?

SNI (Server Name Indication) es la información que tu navegador envía al principio de una conexión segura (TLS/SSL) para indicar a qué sitio web quiere acceder. La cabecera Host se envía un poco después, dentro de la comunicación HTTP, y también indica el sitio web deseado.

¿Por qué es importante comparar SNI y la cabecera Host?

Si el SNI apunta a un dominio de CDN (como `cdn.example.com`) y la cabecera Host apunta a otro dominio distinto y sospechoso (como `malware.attacker.com`), es una señal fuerte de que alguien intenta usar 'domain fronting' para ocultar la comunicación.

Detalles

Descripción original del autor

Detects domain fronting C2 traffic by analyzing SNI-vs-HTTP-Host-header mismatches in proxy logs and inspecting TLS certificate discrepancies with pyOpenSSL. Use when hunting for command-and-control traffic hidden behind legitimate CDN domains, or when investigating proxy/TLS logs for signs of domain fronting evasion.

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularidad

Estrellas en GitHub
35 mil
Posición en el ranking
#7959
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