Saltar al contenido
Skillpedia
Agentes35 mil · #7866

detecting-ransomware-precursors-in-network

Qué hace

Esta herramienta te ayuda a encontrar señales de que un ataque de ransomware podría estar a punto de producirse, analizando el tráfico de red antes de que los archivos se cifren. Busca actividades sospechosas que los atacantes suelen realizar antes de iniciar su ataque.

Cuándo usarla

  • ✓Cuando quieras crear reglas para detectar actividad de red previa a un ataque de ransomware.
  • ✓Para vigilar señales de que los atacantes intentan entrar en tu red.
  • ✓Cuando investigues patrones de red extraños que podrían indicar que un ataque está comenzando.

Link de la skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-ransomware-precursors-in-network/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/detecting-ransomware-precursors-in-network/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 actividades de red sospechosas que puedan indicar un ataque de ransomware inminente.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Funciona configurando herramientas de monitorización de red (como Zeek o Suricata) y sistemas de seguridad (SIEM) para identificar patrones de tráfico que los atacantes suelen usar antes de lanzar un ataque de ransomware.

Contenido técnico (SKILL.md original)

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

Detecting Ransomware Precursors in Network Traffic

When to Use

  • Building detection rules for pre-ransomware network activity (the average time from Cobalt Strike deployment to encryption is 17 minutes)
  • Monitoring for initial access broker (IAB) indicators that precede ransomware deployment
  • Creating SIEM correlation rules that chain multiple precursor events into high-confidence alerts
  • Tuning network detection systems to distinguish ransomware staging from normal administrative activity
  • Investigating suspicious network patterns that may indicate ransomware operators have established a foothold

Do not use for post-encryption response (see recovering-from-ransomware-attack). This skill focuses on the pre-encryption detection window where containment can prevent data loss.

Prerequisites

  • Network detection platform (Zeek/Bro, Suricata, or Arkime/Moloch) deployed on network TAP or SPAN ports
  • SIEM platform (Splunk, Elastic Security, Microsoft Sentinel, or QRadar) ingesting network logs
  • Threat intelligence feeds covering ransomware IOCs (CISA, abuse.ch, OTX, MISP)
  • Network flow data (NetFlow/IPFIX) from core routers and firewalls
  • DNS query logging from internal resolvers
  • Full packet capture capability for incident investigation

Workflow

Step 1: Identify Ransomware Kill Chain Phases in Network Traffic

Map network-observable indicators to each pre-encryption phase:

Kill Chain Phase Network Indicators Detection Source
Initial Access RDP brute force, VPN credential stuffing, phishing callback Firewall logs, IDS, proxy logs
C2 Establishment Cobalt Strike beacons (HTTPS/DNS), Sliver/Brute Ratel callbacks Zeek SSL/HTTP logs, DNS logs
Credential Harvesting NTLM relay, Kerberoasting, DCSync traffic Zeek Kerberos/NTLM logs, DC logs
Reconnaissance Internal port scanning, AD enumeration (LDAP/SMB) Zeek conn.log, flow data
Lateral Movement PsExec/WMI/WinRM traffic, RDP pivoting, SMB file copies Zeek SMB/DCE-RPC logs
Staging Data aggregation, archive creation, cloud upload prep Proxy logs, DNS logs, DLP

Step 2: Deploy Network Detection Rules

Suricata rules for common ransomware precursors:

# Cobalt Strike default HTTPS beacon profile detection
alert tls $HOME_NET any -> $EXTERNAL_NET any (msg:"RANSOMWARE PRECURSOR - Cobalt Strike Default TLS Certificate"; tls.cert_subject; content:"Major Cobalt Strike"; sid:3000001; rev:1;)

# Cobalt Strike DNS beacon
alert dns $HOME_NET any -> any 53 (msg:"RANSOMWARE PRECURSOR - Cobalt Strike DNS Beacon Pattern"; dns.query; pcre:"/^[a-z0-9]{3}\.[a-z]{4,8}\./"; threshold:type both, track by_src, count 50, seconds 60; sid:3000002; rev:1;)

# Mimikatz network signature (DCSync - DRS GetNCChanges)
alert tcp $HOME_NET any -> $HOME_NET 135 (msg:"RANSOMWARE PRECURSOR - Possible DCSync/Mimikatz"; content:"|05 00 0b|"; offset:0; depth:3; content:"|e3 51 4d 2b 4b 47 15 d2|"; sid:3000003; rev:1;)

# Internal network scanning (many connections, few bytes)
alert tcp $HOME_NET any -> $HOME_NET any (msg:"RANSOMWARE PRECURSOR - Internal Port Scan"; flags:S; threshold:type both, track by_src, count 100, seconds 10; sid:3000004; rev:1;)

# PsExec service installation over SMB
alert tcp $HOME_NET any -> $HOME_NET 445 (msg:"RANSOMWARE PRECURSOR - PsExec Service Install"; content:"|ff|SMB"; content:"PSEXESVC"; nocase; sid:3000005; rev:1;)

# RDP brute force from internal host (lateral movement)
alert tcp $HOME_NET any -> $HOME_NET 3389 (msg:"RANSOMWARE PRECURSOR - Internal RDP Brute Force"; flow:to_server,established; threshold:type both, track by_src, count 20, seconds 60; sid:3000006; rev:1;)

# Large SMB file transfer (data staging)
alert tcp $HOME_NET any -> $HOME_NET 445 (msg:"RANSOMWARE PRECURSOR - Large SMB Transfer Possible Staging"; flow:to_server,established; dsize:>60000; threshold:type both, track by_src, count 100, seconds 300; sid:3000007; rev:1;)

Zeek scripts for behavioral detection:

# detect_ransomware_precursors.zeek
# Detect high volume of failed SMB connections (credential testing)

@load base/protocols/smb

module RansomwarePrecursor;

export {
    redef enum Notice::Type += {
        SMB_Brute_Force,
        Suspicious_Internal_Scan,
        Excessive_DNS_Queries,
        SMB_Admin_Share_Access,
    };

    const smb_fail_threshold = 10 &redef;
    const scan_threshold = 50 &redef;

…
Preguntas frecuentes

¿Qué son los 'precursores de ransomware'?

Son acciones y patrones de tráfico de red que los atacantes realizan antes de empezar a cifrar tus archivos con ransomware. Detectarlos te permite detener el ataque.

¿Necesito ser experto en redes para usarlo?

No necesitas ser un experto, pero tener acceso a las herramientas de monitorización de red y seguridad mencionadas en la descripción, y cierta familiaridad con ellas, te ayudará a configurar y usar esta habilidad de forma eficaz.

¿Esto evita que el ransomware cifre mis archivos?

El objetivo es detectar las señales antes del cifrado, lo que te permite actuar para detener el ataque y así evitar que tus archivos se cifren.

Detalles

Descripción original del autor

Detects early-stage ransomware indicators in network traffic before encryption begins, including initial access broker activity, command-and-control beaconing, credential harvesting, reconnaissance scanning, and staging behavior. Uses network detection tools (Zeek, Suricata, Arkime), SIEM correlation rules, and threat intelligence feeds to identify ransomware precursor patterns such as Cobalt Stri

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularidad

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