hex0r
January 21st, 2002, 08:52
Hello All!
I'm trying to hook LoadLibraryA via vxd.
I created dynamic vxd which receive from my program address of loadlibraryA in kernel32.dll via deviceiocontrol. In vxd i'm saveing 5 bytes from start of loadlibrary and write there jmp to my code in vxd. In vxd in my LoadLibrary code i'm trying to restore original bytes, but windows crash while i'm trying to write to kernel32.dll. I think here the problem with memory context or something. Who can tell me what i must to do for correct writeing?
WBR hex0r
I'm trying to hook LoadLibraryA via vxd.
I created dynamic vxd which receive from my program address of loadlibraryA in kernel32.dll via deviceiocontrol. In vxd i'm saveing 5 bytes from start of loadlibrary and write there jmp to my code in vxd. In vxd in my LoadLibrary code i'm trying to restore original bytes, but windows crash while i'm trying to write to kernel32.dll. I think here the problem with memory context or something. Who can tell me what i must to do for correct writeing?

WBR hex0r