Skip to content
This repository has been archived by the owner on Aug 16, 2019. It is now read-only.

KMODE_EXCEPTION_NOT_HANDLED Windows 10 #3

Closed
ZirakC opened this issue Mar 19, 2016 · 3 comments
Closed

KMODE_EXCEPTION_NOT_HANDLED Windows 10 #3

ZirakC opened this issue Mar 19, 2016 · 3 comments
Labels

Comments

@ZirakC
Copy link

ZirakC commented Mar 19, 2016

Using the Dummy2 Driver Source code included within the solution, I added a couple functions taken from Black Bone Driver (COPY_MEM and ProtectMem) It seems like Copy Mem works fine, but whenever I call for ProtectMem I encounter a BSOD "KMODE_EXCEPTION_NOT_HANDLED".

This works fine if I load it through DSEFix on my other driver code (which is a full fledged driver).

I have attached the source with this ticket, wondering if you could help me identify what could be causing this?
DummyDrv2.zip

@hfiref0x
Copy link
Owner

This is not TDL issue, debug it by commenting your code line by line. And all your SEH inside driver is not working.

@ZirakC
Copy link
Author

ZirakC commented Mar 20, 2016

Sorry, last question, you mentioned debug it by commenting my code line by line, would this mean to reboot my PC after each time I load the driver, as it cannot be unloaded on driverless mode?

Thanks,

@hfiref0x
Copy link
Owner

Yes. Make VM, connect windbg to it, put dbgprint everywhere and trace.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants