{"id":27696158,"url":"https://github.com/helidem/cve-2025-24054-poc","last_synced_at":"2025-04-25T15:08:13.936Z","repository":{"id":289282074,"uuid":"970733041","full_name":"helidem/CVE-2025-24054-PoC","owner":"helidem","description":"Proof of Concept for the NTLM Hash Leak via .library-ms CVE-2025-24054","archived":false,"fork":false,"pushed_at":"2025-04-22T13:22:27.000Z","size":7,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-25T15:08:12.044Z","etag":null,"topics":["cve","cve-2025-24054","cve-2025-24071","exploit","library-ms","ntlm","ntlm-hash","phishing","poc","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/helidem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-22T13:04:41.000Z","updated_at":"2025-04-25T00:17:02.000Z","dependencies_parsed_at":"2025-04-22T14:34:12.159Z","dependency_job_id":null,"html_url":"https://github.com/helidem/CVE-2025-24054-PoC","commit_stats":null,"previous_names":["helidem/cve-2025-24054-poc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helidem%2FCVE-2025-24054-PoC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helidem%2FCVE-2025-24054-PoC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helidem%2FCVE-2025-24054-PoC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helidem%2FCVE-2025-24054-PoC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helidem","download_url":"https://codeload.github.com/helidem/CVE-2025-24054-PoC/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250840618,"owners_count":21495909,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cve","cve-2025-24054","cve-2025-24071","exploit","library-ms","ntlm","ntlm-hash","phishing","poc","windows"],"created_at":"2025-04-25T15:08:13.316Z","updated_at":"2025-04-25T15:08:13.931Z","avatar_url":"https://github.com/helidem.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CVE-2025-24054 - NTLM Hash Leak via .library-ms Exploit\n\n![PoC](https://img.shields.io/badge/type-poc-blue)\n\nThis PoC demonstrates the exploitation of the NTLM hash leak via `.library-ms` files on unpatched Windows systems (March 2025 Patch Tuesday).\n\n\u003e ⚠️ This is for educational and research purposes only. Do not use this on production or unauthorized systems.\n\n## 🧠 Description\n\nWhen 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.\n\n## 📁 Files\n\n- `generate_library_ms.py` : generates the malicious `.library-ms` file\n- `xd.library-ms` : sample malicious file (points to a configurable SMB server)\n- `Instructions_Responder.md` : how to set up a fake SMB server with Responder\n\n## 🧪 How to Test\n\n1. Start `Responder` on your attacker machine:\n   ```bash\n   sudo responder -I eth0\n   ```\n\n2. On the victim Windows VM:\n   - Download or generate the `.library-ms` file\n   - Preview it in File Explorer\n\n3. On the attacker side:\n   - Observe the captured NTLM hash in Responder's output\n\n## 📸 Demo\n\n![PoC Demo](./Screenshots/poc-demo.png)\n\n## 📚 References\n\n- [Check Point Research – CVE-2025-24054 Analysis](https://research.checkpoint.com/2025/cve-2025-24054-ntlm-exploit-in-the-wild/)\n- [Microsoft Patch Notes (March 2025)](https://borncity.com/win/2025/04/22/windows-ntlm-vulnerability-cve-2025-24054-is-being-exploited/)\n\n## ✅ Mitigation\n\n- Apply Microsoft's March 2025 patches\n- Disable NTLM where possible\n- Educate users to avoid interacting with `.library-ms` files from untrusted sources\n\n## 🧑‍💻 Author\n\nPoC created by [Helidem](https://github.com/helidem)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelidem%2Fcve-2025-24054-poc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelidem%2Fcve-2025-24054-poc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelidem%2Fcve-2025-24054-poc/lists"}