![]() |
|
#1
|
|||
|
|||
|
Api Hooking w/ Device Driver
I was wondering if anybody has some resources about hooking api's thru ring0, i would rather not overwrite code, i was thinking about setting a page guard, and when it hits, catch it thru the driver, and go from there, anybody else has any ideas or resources ?
Thanks. |
|
#2
|
||||
|
||||
|
depends on what are you trying to do on what O.S...HW BPs might also be good for these things..
__________________
Ŝħůb-Ňìĝùŕřaŧħ ₪) There are only 10 types of people in the world: Those who understand binary, and those who don't http://www.accessroot.com |
|
#3
|
|||
|
|||
|
Quote:
http://www.sysinternals.com/ And use regmon95 source. you will find 2 source: 1 - sys file src. 2- application src. By changing it you can write APIMon very easy. |
|
#4
|
|||
|
|||
|
appreciated! i didnt even think about that application, it slipped my mind
|
|
#5
|
||||
|
||||
|
try look at this > http://www.bindview.com/Services/RAZOR/Utilities/Windows/strace_readme.cfm
it comes with source code ... |
|
#6
|
|||
|
|||
|
I was actually contemplating hooking file and registry api's using ring0 driver, under NT5+, using WDM and ring0, and though of filemon and regmon as a good base. I'm looking to write up a small "application firewall" that would allow me to permit or deny access to registry keys or files. A neat final project for an undergraduate degree no? Only problem is, I can't seem to find the regmon, filemon or apimon source code. I'd much rather hook through ring0 than anything else, but if anything I'm open to suggestions/alternatives/input/whatever. If anyone has any advice on what I should read up I'd appreciate it
|
|
#7
|
|||
|
|||
|
What about take a look in the www.rootkit.com sources?
|
|
#8
|
||||
|
||||
|
Quote:
Regards. |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help - Windows Device Driver Programming | psychedelic_fur | General Discussion | 7 | 06-29-2004 22:27 |
| Windows 2000 Device Driver Book + Inside Windows 2000 at FTP | dynio | General Discussion | 16 | 09-19-2003 23:21 |