Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

readDriver

readDriver is a Windows research workspace built around a kernel-mode driver and two user-mode clients that speak the same IOCTL request format.

At a high level, the repository contains:

This repo is best treated as a local development and research workspace. It includes build helpers and documentation, but it does not include a full deployment or service-install story for the driver.

The workspace is now prepared to open in Visual Studio 2026. Driver builds still require a matching WDK task assembly for the MSBuild version you use.

The current protocol includes copy, read, scan, protect, patch, write-integer, batch-read, read-with-protect, and read-as-hex operations. The shared request still uses one fixed-width struct, so operation-specific field meanings are documented in docs/ARCHITECTURE.md.

The root solution also now includes a managed regression-test project in client.Tests.

What This Project Is

The project is a Visual Studio solution for experimenting with a Windows driver and small user-mode tools that send DeviceIoControl requests to it. The shared request structure lives in common/protocol.h, and both clients use that same contract to talk to the driver device \\\\.\\Global\\Ki000.

The current codebase is organized as one root workspace with three main executable modules:

  • dummy KMDF kernel driver
  • controller native C command-line client
  • client .NET client with command-line and GUI entry points
  • client.Tests Managed regression tests focused on the C# client request/response helpers

Today the client surfaces are intentionally uneven:

  • the native controller can print response data returned by the driver
  • the C# CLI can submit the expanded operation set and decode response payloads
  • the WinForms GUI exposes the core request operations (Copy, Protect, Patch, WriteInteger) plus a dedicated Freeze tab for one to four target addresses

The driver lifecycle currently uses separate internal and public names:

  • internal driver object: \\Driver\\gammaA#### (randomized each load, e.g., \\Driver\\gammaA8973)
  • internal device object: \\Device\\gammaA#### (randomized each load)
  • public client path: \\\\.\\Global\\Ki000

The public path is a global DOS symbolic link. The unload command and GUI button remove that public link and decommission the current driver surface; they do not force-delete the kernel driver object.

Start Here

If you are new to the repo, use this order:

  1. Read PROJECT_OVERVIEW.md
  2. Follow BUILD_AND_RUN.md
  3. Use ARCHITECTURE.md when you need code-level structure

Repository Layout

Solution Layout

The root Visual Studio solution currently contains:

  • the driver project
  • the native controller project
  • the C# client project
  • the client.Tests project
  • helper solution folders such as Applications, Driver, Shared, Scripts, and Docs

Those helper folders exist in the solution file, but the current .sln no longer nests every project underneath them.

Build Summary

From the repository root:

.\build-all.ps1

Release build:

.\build-all.ps1 -Configuration Release -Platform x64

Standalone C# client publish:

.\publish-client.ps1

Managed regression tests:

dotnet test .\client.Tests\client.Tests.csproj -nologo

For the full setup, build, output, and run workflow, see BUILD_AND_RUN.md.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages