Skip to content

πŸš€ PersistenceLib-Win64 v1.0.0

Pre-release
Pre-release

Choose a tag to compare

@Zibgame Zibgame released this 02 Apr 16:45
· 5 commits to main since this release
9453735

πŸš€ 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 library
  • basic.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