Comments (10)
Can you post the driver debug output? You can get this using windbg or dbgview.
from mouhidinputhook.
PasteBin
This is a debug output from WinDBG
from mouhidinputhook.
Sorry, I should have specified WinDbg attached as a kernel debugger. Download DbgView (or DebugView) from msdn then use the following list to get the driver debug output:
- Run DbgView.
- In DbgView, enable Capture Kernel and Enable Verbose Kernel Output using the Capture menu.
- Load the driver (use a debug build configuration).
- Run MouHidMonitor.
Also, what version of Windows are you using?
from mouhidinputhook.
After successfully debugging, the issue was that the driver would fail to load because of windows saying it couldn't find a digital certificate. After putting my main system in test mode, the driver worked, as well as the application. What I don't know is how to install the driver with the specified security certificate. How would one do that? Also, there is no output from running MouHidMonitor via CMD, is this intended?
- Windows 10 User
from mouhidinputhook.
Drivers must be digitally signed in order to be loaded on modern versions of Windows x64. This project does not have a signed certificate.
If the driver loaded successfully then MouHidMonitor should display the following text in command prompt:
MouHid Input Monitor enabled.
Press ENTER to exit.
Make sure DbgView has the correct settings enabled in the Capture menu (enable them all). In test mode, start DbgView, verify settings, load the driver, run MouHidMonitor. Print the output from DbgView here.
from mouhidinputhook.
Sorry for the late response, I attached WinDBG as a kernel debugger to a remote virtual machine. When I launch MouHidMonitor.exe, it says "MouHid Monitor enabled...". So how do I see the mouse packets activity? After the default message, the console is empty. Here is a pastebin with the debug info.
from mouhidinputhook.
The mouse packet data is printed by the driver so you should see packet data messages in WinDbg output. You can also use DbgView to capture the driver output.
It looks like the driver loaded successfully. It is strange that there is only one MouHid device object. I test on a VMware virtual machine running on my local machine. I'm wondering if remoting into the virtual machine causes VMware (or Windows) to use the TermDD mouse device stack instead of the HID USB mouse device stack. If this is the case then this technique would not capture packet data because they are being handled by a different device stack. It would also explain why there is only one MouHid device object instead of two.
Are able to run your virtual machine on your local machine? I use VMware and VirtualKD for my test environment. If you connect to the vm directly (i.e., not remotely) you should see two MouHid device objects being detected in WinDbg output. After loading the driver and running MouHidMonitor.exe you should see packet messages in WinDbg output when you move your mouse in the vm. If this does not work then paste the WinDbg output here.
from mouhidinputhook.
do you have contact info? thanks
from mouhidinputhook.
@anotherfinemess84 To your question, I have figured this out. You need to load the driver using something like OSRLOADER and make sure your OS is in Test Mode.
@changeofpace One more question before I close this issue, do you plan on getting a certificate for this driver?
from mouhidinputhook.
@AliHERAVI No, I do not intend to get a certificate.
from mouhidinputhook.
Related Issues (7)
- Driver not loading
- HID monitor not working HOT 1
- Can I put a hook point on a mouclass and get the same effect?
- can i inject something in the mouhid hid parser so it buffers all incoming data by a specific amount
- Request for help implementing HID protocol in BrailleTouch project
- QUESTION: How to port this to Keyboard? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mouhidinputhook.