
A minimalistic Rust application that demonstrates the creation of Windows Library files (.library-ms) with configurable network paths.
This project creates Windows Library Description (.library-ms) files that point to network shares. It's designed to demonstrate how the CVE-2025-24071 vulnerability can be exploited through GitHub Actions.
⚠️ Educational Purposes Only: This code is for security research and educational purposes only.
The application reads two environment variables:
IP_ADDRESS: The network IP to include in the library file (defaults to 127.0.0.1)FILE_NAME: The name of the output file (defaults to "Increment")It creates a .library-ms XML file with the specified network path (\\IP_ADDRESS\shared)
GitHub Actions runs this code and uploads the generated file as an artifact
The included workflow:
Fork this repository
Add the following secrets to your repository:
IP_ADDRESS: Target IP addressFILE_NAME: Output filename (without extension)ARTIFACT_NAME: Name for the uploaded artifactManually trigger the workflow from the Actions tab
This tool is provided for educational purposes to demonstrate a security vulnerability. Unauthorized use against systems without explicit permission is illegal and unethical.
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-24071
https://research.checkpoint.com/2025/cve-2025-24054-ntlm-exploit-in-the-wild/