![]() |
|
#1
|
|||
|
|||
|
SST Hook -> Bluescreen!?
Hi there,
For educational purpose (?) i want to code a File/Regmon Clone, with the same method of SystemServiceTable Hooking described in "Undocumented Windows NT" but when i try to Patch i get a Bluescreen "DRIVER_IRQL_NOT_LESS_OR_EQUAL" !? Code:
extern PSERVICE_DESCRIPTOR_TABLE KeServiceDescriptorTable; #define SYSTEMSERVICE(_function) KeServiceDescriptorTable->ntoskrnl.ServiceTable[*(PULONG)((PUCHAR)_function+1)] _asm cli; (NTCREATEFILE)(SYSTEMSERVICE(ZwCreateFile)) = NewZwCreateFile; // <---#HERE# _asm sti; Is the Table in WinXP write protected or whats going on? The whole source is attached. Happy new Year @all -Cobi |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Hook | user1 | Source Code | 0 | 04-24-2021 05:23 |
| SYSENTER hook | niom | General Discussion | 13 | 08-12-2004 02:50 |
| DriverStudio 3.1 Viaagp.sys Bluescreen | bgrimm | General Discussion | 1 | 02-19-2004 02:37 |