shanekelly/kernel-driver ? reverse-engineered prompt

Reverse engineered prompt

Build me a Windows x64 kernel driver with a simple user mode app to talk to it.

I want the driver to load through KDMapper, create a device I can open from normal code, and expose a small set of IOCTLs for attaching to a process by PID, reading memory from another process, getting a process ID by name, finding a module base and size, doing batch reads in one call, and scanning a target process memory range for a byte pattern with a mask. I also want mouse input injection through the system mouse device so I can move the cursor, click, and scroll with low delay.

Please keep it stable and careful with address validation and error handling, and make the user mode side easy to use from C++ with a clean wrapper class. If you need current WDK or Windows API details, look them up online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab