Skip to content

Kernel<->Usermode shared memory communcation using manually mapped driver

Notifications You must be signed in to change notification settings

benheise/KUCSharedMemory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kernel Usermode Communication Method (WIP)

Manually mapped kernel driver using system thread to process shared memory as a communication method with Usermode client. This is a work in progress and has much work to be done to be not only stable but a good reference for other projects.

The driver is manually mapped with a custom version of TheCruz kdmapper, altered to allow for custom driver entry point to receive necessary information to communicate with usermode client. It uses a system thread to continuosly await for requests by parsing the shared memory for predefined operations. The driver is also cleaning garbage left overs from using intel's vulnarable driver to manually map our driver.

The driver as of now has functionallity to:

  • read/write arbitrary virtual memory from and to any process
  • get base address of a specific process
  • ping method to test out communication effectiveness.

TODO

  • Hide system thread from system enumeration
  • Resolve and bypass NMI callbacks
  • Implement read/write physical memory to not use KeStackAttachProcess
  • Get module information method to retreive base address and size of loaded modules of a process

About

Kernel<->Usermode shared memory communcation using manually mapped driver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages