/kernel-mouse

Kernel driver with mouse and keyboard input

Primary LanguageCGNU General Public License v2.0GPL-2.0

Infestation

Usermode

I've made simple usermode for testing, but i wont release, there are many sources available to copy and use.

Kernelmode

Watch the demo

The driver can be used in any windows 10/11 versions.

Available

  • Kernel driver with extra addons
  • kernel mouse_movement
  • Kernel mouse_down and mouse_up
  • Read virtual memory (mmcopy)
  • Write virtual memory (mmcopy/mdl)
  • Kernel driver ready to be manually mapped tested (kdmapper/lenovo)

Planning

  • TODO: Kernel Dispatch Write Memory
  • TODO: Protect usermode process
  • TODO: Clear MmUnloadedDrivers
  • TODO: Clear PiDDBCacheTable

How to use ?

1.1 Manually mapping

  • Clone the repository
  • Open the solution in Visual Studio 2022 v143
  • DISABLE Security Check if loading driver with driver mapper

  • Build the project
  • Copy the driver to the same folder as the executable
  • Load the driver with the driver mapper

1.2 Loading via service SC

  • Clone the repository

  • Open the solution in Visual Studio 2022 v143

  • Build the project

  • To load the driver MUST HAVE: driver certificate, using DSE or with Windows Testmode

create driver sc create [service name] binPath= [path to your .sys file] type= kernel

load driver sc start [service name]

stop driver sc stop [service name]

delete driver sc delete [service name]

Disclaimer ⚠

I wont support or provide any binaries for this project, you are free to use it as you wish, this is a free project.