Repository navigation
π PersistenceLib-Win64 v1.0.0
Pre-release
Pre-release
π Release β PersistenceLib-Win64 v1.0.0
π Overview
PersistenceLib-Win64 is a modular C++ library designed to manage Windows persistence mechanisms through a clean and minimal API.
This first release focuses on a robust and fully functional registry-based persistence implementation.
β¨ Features
- πͺ Windows Registry persistence (Run key)
- βοΈ Install / Detect / Remove API
- π§© Modular architecture for future extensions
- π¦ Static library (.a)
- π§ͺ Example binaries for testing
π¦ Included Assets
libpersistence.aβ static librarybasic.exeβ example binary- headers (
include/)
βοΈ Build Instructions
mingw32-make
Rebuild:
mingw32-make re
π Integration
Compile your project with:
g++ main.cpp -Iinclude -Lbuild -lpersistence -o app.exe
π§ API
Install
persist_install(REGISTRY, path);
Detect
persist_detect(REGISTRY);
Remove
persist_remove(REGISTRY);
πͺ Persistence Method
Registry path used:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- β‘ No admin required
- π Executed at user logon
- π§Ύ Stores executable path
π§ͺ Usage Example
std::string path = get_self_path();
persist_install(REGISTRY, path);
β οΈ Notes
- Use absolute paths only
- Ensure binary exists at runtime
- Behavior may be influenced by system security policies
π― Future Work
- π Startup folder persistence
- β± Scheduled tasks
- 𧬠Multi-method support
βοΈ Disclaimer
This project is intended for educational and security research purposes only.
π€ Author
Zibgame