No.
This is purely an architecture thing - read the Intel IA-32/Intel 64 System
Programming Manual Volume 3, if you really want to do this.
That being said, unless you have a REALLY good reason to do this, you
DEFINITELY do not want to undertake this sort of thing. By doing something
like this, you’re really undercutting one of the most important mechanisms
of the OS. Done correctly, it can be made to work, at least for your
(research) purposes, but done incorrectly, and what’ll you’ll have is a
debugging disaster.
Minimally, were I you, I’d implement the other features that Doron and
others have suggested - usb filter, et. c.
Good luck,
mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Sunday, July 10, 2011 1:34 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] About Hooking NDIS Driver
Thanks, Calvin.
Do you mean that I can use VDDInstallMemoryHook as the following link:
http://www.osronline.com/ddkx/other/vdd_6l2r.htm
or there are some other ways to do this? I’m not sure how to remove the
pages out, and install the page fault handler, are there some kernel APIs I
can use?
Thanks.
-Arike
OP,
Remove the mapped pages from PDE/PTE, install your page fault handler.
Everytime the driver access the paged out MMIO region, then your PF handler
catches them.
Calvin
On Sat, Jul 9, 2011 at 7:36 PM, Doron Holan wrote:
> There is no way you can hook the memory access. You will have the same
> problem with any PCI based nic. A USB based nic is entirely protocol
> based, so you could put a lower filter below the miniport and see all
> USB traffic, including reads and writes.
>
> d
>
> debt from my phone
>
> -----Original Message-----
<…excess quoted lines suppressed…>
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer