关联漏洞
标题:
Microsoft NTLM 安全漏洞
(CVE-2025-24054)
描述:Microsoft NTLM是美国微软(Microsoft)公司的一个在包括运行Windows操作系统的系统以及独立系统在内的网络上使用的身份验证协议。 Microsoft NTLM存在安全漏洞。攻击者利用该漏洞执行欺骗攻击。以下产品和版本受到影响:Windows 10 Version 1809 for 32-bit Systems,Windows 10 Version 1809 for x64-based Systems,Windows Server 2019,Windows Server 2019 (
描述
Proof of Concept for the NTLM Hash Leak via .library-ms CVE-2025-24054 / CVE-2025-24071
介绍
# CVE-2025-24054 and CVE-2025-24071 - NTLM Hash Leak via .library-ms Exploit

This PoC demonstrates the exploitation of the NTLM hash leak via `.library-ms` files on unpatched Windows systems (March 2025 Patch Tuesday).
> ⚠️ This is for educational and research purposes only. Do not use this on production or unauthorized systems.
## 🧠 Description
When a `.library-ms` file with a UNC path is opened (or previewed) in Windows Explorer, it triggers an SMB authentication request to the specified server, leaking the NTLMv2 hash.
## 📁 Files
- `generate_library_ms.py` : generates the malicious `.library-ms` file
- `xd.library-ms` : sample malicious file (points to a configurable SMB server)
- `Instructions_Responder.md` : how to set up a fake SMB server with Responder
## 🧪 How to Test
1. Start `Responder` on your attacker machine:
```bash
sudo responder -I eth0
```
2. On the victim Windows VM:
- Download or generate the `.library-ms` file
- Preview it in File Explorer
3. On the attacker side:
- Observe the captured NTLM hash in Responder's output
## 📸 Demo

## 📚 References
- [Check Point Research – CVE-2025-24054 Analysis](https://research.checkpoint.com/2025/cve-2025-24054-ntlm-exploit-in-the-wild/)
- [Microsoft Patch Notes (March 2025)](https://borncity.com/win/2025/04/22/windows-ntlm-vulnerability-cve-2025-24054-is-being-exploited/)
## ✅ Mitigation
- Apply Microsoft's March 2025 patches
- Disable NTLM where possible
- Educate users to avoid interacting with `.library-ms` files from untrusted sources
## 🧑💻 Author
PoC created by [Helidem](https://github.com/helidem)
文件快照
[4.0K] /data/pocs/50987734b17975a831af18eb4e9aba2907aabc9d
├── [ 693] exploit.py
├── [1.7K] README.md
└── [ 364] xd.library-ms
0 directories, 3 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。