0.0
The project is in a healthy, maintained state
Product native SDK operations through a UTF-8 JSON C ABI; driver installed separately.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 1.1, < 2
 Project Readme

RegistryGuard - Windows Kernel Registry Filter SDK

Native C++ rules for observing and denying selected registry writes under application-owned HKLM\SOFTWARE branches. A small desktop interface explains the matched rule and calling process.

Engineering preview: application/SDK available; genuine Microsoft altitude allocation, signing and live kernel qualification are pending. No installable driver is published yet.

RegistryGuard interface, explicitly synthetic preview

What it does

  • Audit or deny setting/deleting values and deleting/renaming existing keys under a configured native branch, using documented Configuration Manager callbacks.
  • Match subkeys with a path-segment boundary: Vendor\Product does not also select Vendor\ProductOther.
  • Consider renaming/deleting an ancestor of a protected branch as an affected operation.
  • Preserve reads and ordinary handle close operations. No registry value contents, credentials or command lines are collected.
  • Remove all rules when the owning client closes or exits.

Use cases include application settings integrity tests, installer regression testing and an OEM policy component. The initial accepted scope is a native branch below \REGISTRY\MACHINE\SOFTWARE\; system-wide registry roots, SAM, SECURITY and SYSTEM are rejected. In 32-bit application scenarios, explicitly select the actual native key, including WOW6432Node where applicable.

This version does not cover key creation, hive loading/restoring/replacing, security descriptor changes, transactions, kernel-originated changes or every registry alias. Unknown/unresolvable or truncated names continue and are counted; there is no claim of tamper-proof registry isolation. Another trusted filter can influence the final result. Keep Windows ACLs and backups in place.

Download and installation

Download the complete Windows x64 ZIP from Releases. Extract the archive before starting the application.

  1. Run RegistryGuardApp.exe --preview to explore the interface with explicitly synthetic records. This needs no driver and changes no Windows policy.
  2. Live mode requires the separately qualified Microsoft-signed driver package. An altitude must first be assigned by Microsoft to the registry filtering driver. No invented or borrowed altitude is used. The preview ZIP deliberately contains no unsigned driver or nonfunctional setup executable.
  3. Once a signed package is available, its single-file RegistryGuardSetup.exe installs the exact embedded driver. Accept elevation and restart only when setup requests it. RegistryGuardSetupConsole.exe /install and /uninstall provide the same operations.
  4. Open RegistryGuardApp.exe as administrator for live operation, add an Audit rule, then select Start session. Change to Deny only after verifying the observed scope. Stop or close the app to remove the policy.

Windows 10 version 2004+ / Windows 11 x64 are the build targets. See validation and deployment for the platforms actually exercised. A Microsoft signature alone is not proof of correctness, compatibility or Microsoft endorsement.

Native C++ integration

Compile SDK/RegistryGuard.cpp with your program and include SDK/RegistryGuard.h. Use C++17 and link setupapi.lib. No runtime service, cloud account or executable scripting engine is needed for policy decisions.

#include "RegistryGuard.h"

int main() {
    RegistryGuard::Session policy;
    policy.Start({RegistryGuard::Rule(1,
        L"\\REGISTRY\\MACHINE\\SOFTWARE\\Vendor\\Product",
        RegistryGuard::Action::Deny)});
    // Keep policy alive while your authorized application runs.
    // Call policy.Read() to inspect attributed decisions.
}

The scope must exist as intended on the target machine. Reads remain available. The tiny example returns immediately and therefore removes its policy; Examples/policy.cpp keeps the session open until Enter is pressed. No registry values are created or rewritten by the SDK itself.

Function Purpose
Session::Start(rules) Open the admin-only exclusive interface and atomically install up to 16 rules.
Session::SetRules(rules) Replace the complete active rule set; first matching rule wins.
Session::Read() Immediately drain at most 16 metadata records. An empty batch means no queued records.
Session::Status() Read policy generation, counters, ring occupancy and QPC frequency.
Session::Stop() / destructor Close the owner handle and remove its policy.
Rule(id, path, action) Build a bounded audit/deny rule. id must be unique and nonzero.

Events include sequence, QPC time, process ID/start key, policy generation, operation, matched rule, decision and a bounded native path. The 256-record ring reports overflow instead of allocating without limit. The UI displays up to 400 records and refreshes every 200 ms; this display cadence does not delay kernel decisions. This is pre-operation policy attribution, not a complete audit of final outcomes or a hardware latency measurement. Calls on one Session are serialized; stop all callers before destroying it.

Build

Demo/evaluation driver source is available; see driver/README.md for build instructions and separate evaluation-source terms. Those terms apply to Titan-authored driver code. Third-party source licenses and existing application/SDK licenses remain applicable. Full/commercial implementation and private signing or activation material are excluded.

Install Visual Studio 2022 C++ tools, CMake and a Windows SDK. Run ./Build.ps1 in PowerShell. It builds the native app, console, example, installer sources and offline tests with a static C++ runtime. ./Build.ps1 -Asan adds user-mode AddressSanitizer checks. Offline checks do not load a driver. Installer source accepts an opaque signed package using -DriverPackageDirectory; unsigned or unrelated embedded packages are rejected at runtime.

App/        Native Windows UI and console
SDK/        RegistryGuard.h + RegistryGuard.cpp
Examples/   Small integration example
Installer/  UI/console setup source; driver source documented separately in driver/README.md
Tests/      Offline protocol validation
docs/       Usage boundaries, validation and commercial integration

Commercial integration

Public application, SDK and installer source are MIT-licensed. The evaluation driver source has the separate license scope documented in driver/README.md; the user-mode source license does not automatically apply to it. This engineering preview does not implement a trial timer, remote activation or an enforceable licensing quota.

For a scoped integration pilot, OEM redistribution rights, deployment qualification or maintenance, contact titancsa on Discord. See commercial options. Do not deploy the preview as your sole security control.

Responsible use

Use this software only on systems you own or are authorized to administer. It is intended for legitimate integration, diagnostics and application policy development. You remain responsible for your deployment and compliance with applicable law. The software is provided without warranty under its applicable license; no guarantee of loss prevention, immunity to bypass or liability exclusion beyond applicable law is made.

Paquets et installation

Les sources, licences, guides API et exemples sont regroupes dans le depot SDK dedie. Choisis le paquet a installer puis execute sa commande dans son dossier.

Registre Paquet Installation / utilisation
vcpkg registryguard vcpkg install registryguard:x64-windows
Conan registryguard conan install --requires=registryguard/0.1.1 -r titancsa --build=missing -s compiler.cppstd=17
NuGet RegistryGuard.Native Install-Package RegistryGuard.Native -Version 0.1.1
NuGet RegistryGuard.SDK dotnet add package RegistryGuard.SDK --version 1.0.0
PyPI registryguard Commande prevue apres publication : python -m pip install registryguard==1.0.0
Conda registryguard conda install --override-channels -c https://raw.githubusercontent.com/TitanCSA/sdk-packages/089bc73095aa8eda89bacbe10d0b9e58394b0207/conda-channel -c conda-forge registryguard (canal TitanCSA)
crates.io registryguard cargo add registryguard@1.0.0
npm registryguard Commande prevue apres publication : npm install registryguard@1.0.0
Maven Central io.github.titancsa:registryguard io.github.titancsa:registryguard:1.0.0 (pom.xml / Gradle)
JitPack com.github.titanfyre:RegistryGuard com.github.titanfyre:RegistryGuard:java-sdk-v1.0.0 (avec le depot JitPack)
Go Modules github.com/titanfyre/RegistryGuard/RegistryGuard-Go-modules go get github.com/titanfyre/RegistryGuard/RegistryGuard-Go-modules@v1.0.0
pkg.go.dev github.com/titanfyre/RegistryGuard/RegistryGuard-Go-modules Documentation : https://pkg.go.dev/github.com/titanfyre/RegistryGuard/RegistryGuard-Go-modules@v1.0.0
PowerShell Gallery RegistryGuard Install-Module RegistryGuard -RequiredVersion 1.0.0 -Scope CurrentUser
pub.dev registryguard Commande prevue apres publication : dart pub add registryguard:1.0.0
RubyGems registryguard gem install registryguard -v 1.0.0
Packagist titancsa/registryguard composer require titancsa/registryguard:1.0.0

Pour vcpkg et Conan, configure d abord le registre TitanCSA avec le guide complet. Le guide explique aussi Maven/Gradle, les prerequis et le chargement des DLL. Les pilotes/applications du produit sont installes separement. Les commandes marquees prevues ne sont pas encore disponibles.

Les anciens imports Go et versions JitPack gardent leurs tags. Pour les anciennes archives SDK, utilise les liens de remplacement.

Commercial integration and support

Important

Full version and commercial licensing

Discord username: titancsa

Open Discord, choose Friends > Add Friend, enter titancsa, then send a direct message. Mention RegistryGuard and ask about the full / production version, commercial use or OEM redistribution.

Include your intended use and deployment size to discuss pricing, availability and the appropriate licensing / access instructions.