
This is a python PoC scripts for CVE-2025-24071 which is a vulnerability in Windows File Explorer that allows unauthorized access to sensitive information like NTLM Exposure.
CVE-2025-24071 is a vulnerability in Windows File Explorer that allows unauthorized disclosure of NTLM hashes. When a user extracts a specially crafted .zip archive containing a malicious .library-ms file, Windows Explorer automatically parses the file and initiates an SMB authentication request to an attacker-controlled server, leaking the victim's NTLM hash without any additional user interaction.
| Property | Value |
|---|---|
| CVE ID | CVE-2025-24071 |
| Type | NTLM Hash Disclosure / Information Leak |
| Attack Vector | Local (requires user to extract ZIP) |
| User Interaction | Minimal (extract archive only) |
| Impact | NTLM credential theft, potential relay attacks |
.library-ms file pointing to their SMB server.zip archive.library-ms filehttps://github.com/user-attachments/assets/e71ea7f7-c739-46f1-9e91-1f3b13b21596
Note: If the video doesn't play inline, download
PoC.mp4from this repository.
smbserver.py)Clone the repository
git clone https://github.com/yourusername/CVE-2025-24071.git
cd CVE-2025-24071
Start your SMB listener (on attacker machine)
# Using Responder
sudo responder -I eth0
# Or using Impacket
sudo python3 smbserver.py -smb2support fakeShare /tmp/share
Generate the exploit
python exploit.py
Enter your attacker IP when prompted
Send exploit.zip to the target
Capture NTLM hash when victim extracts the archive
CVE-2025-24071/
├── exploit.py # PoC exploit generator
├── PoC.mp4 # Video demonstration
└── README.md # Documentation
This tool is provided for educational and authorized security testing purposes only. Unauthorized access to computer systems is illegal. The author is not responsible for any misuse or damage caused by this tool.
Nyx0r-PoC
This project is for educational purposes only. Use responsibly.
⭐ Star this repository if you found it useful!