Search found 111 matches
- Sat Jul 25, 2009 1:10 pm
- Forum: madCodeHook
- Topic: ZwQueryObject and the pipe bug, solution?
- Replies: 3
- Views: 10844
ZwQueryObject and the pipe bug, solution?
Is there any way without a driver (I am using Delphi and cannot write driver) to prevent that the process hang when ZwQueryObject retrieves the filename based on a handle which is thehandle of a named pipe? I am enumerating hndles to get the filenames of open files, which works fine, but soon I reac...
- Fri Jul 24, 2009 7:58 am
- Forum: madCodeHook
- Topic: Problem with demo "HookProcessTermination" / Vista
- Replies: 7
- Views: 7485
Try this dll code and inject it. When running ANY program after that which need elevation, the terminate callback is called before even the UAC popup... library HookProcessCreation; {$IMAGEBASE $57800000} uses Windows, madCodeHook,madStrings; var NtTerminateProcessNext : function (processHandle, exi...
- Fri Jul 24, 2009 7:09 am
- Forum: madCodeHook
- Topic: TerminateProcess demo - own process only?
- Replies: 7
- Views: 6498
TerminateProcess demo - own process only?
How do I figure out that terminateprocess will terminate my own process?
I ONLY want to prevent that my own process gets terminated, not any other process. This will be a part to protect my own application
I ONLY want to prevent that my own process gets terminated, not any other process. This will be a part to protect my own application
- Fri Jul 24, 2009 7:08 am
- Forum: madCodeHook
- Topic: Unlocking files in use / close handles?
- Replies: 8
- Views: 7639
- Fri Jul 24, 2009 7:02 am
- Forum: madCodeHook
- Topic: Terminating any process?
- Replies: 3
- Views: 3561
You want me to tell you how to bypass madCodeHook hooks? That's not a topic valid for this forum. I have many customers who write security software based on madCodeHook (or based on a combination of kernel mode stuff + madCodeHook) and so discussing how to bypass hooks is not what I really like to ...
- Fri Jul 24, 2009 6:59 am
- Forum: madCodeHook
- Topic: Problem with demo "HookProcessTermination" / Vista
- Replies: 7
- Views: 7485
- Fri Jul 24, 2009 5:30 am
- Forum: madCodeHook
- Topic: Terminating any process?
- Replies: 3
- Views: 3561
Terminating any process?
How can I terminate any running process?
Some processes are hooking the terminateprocess api and disallow to be terminated. Any example?
Some processes are hooking the terminateprocess api and disallow to be terminated. Any example?
- Fri Jul 24, 2009 3:34 am
- Forum: madCodeHook
- Topic: Problem with demo "HookProcessTermination" / Vista
- Replies: 7
- Views: 7485
Problem with demo "HookProcessTermination" / Vista
When I run the demo (with admin rights), and run AFTER that any process, I get immediately the message where it ask me if it is allowed to terminate the process. Even before the program runs. When I click YES, nothing happen, just an endless hourglass. Wen I do not try to run a new process, and just...
- Thu Jul 23, 2009 3:31 pm
- Forum: madCodeHook
- Topic: How to figure out that a file is about to be modified?
- Replies: 2
- Views: 3754
How to figure out that a file is about to be modified?
I know, I bother again... I want to write a small tool, which inject a dll into all processes and hook some file api functions. I want to figure out when a file (exe file tobe exact) is about to be modified. I want to know which process is about to modify which exe file. What api;s would I need to h...
- Thu Jul 23, 2009 3:27 pm
- Forum: madCodeHook
- Topic: Unlocking files in use / close handles?
- Replies: 8
- Views: 7639
- Wed Jul 22, 2009 1:52 pm
- Forum: madCodeHook
- Topic: Unlocking files in use / close handles?
- Replies: 8
- Views: 7639
Unlocking files in use / close handles?
Is there a way to use mch to unlock a file in use, without killing the process which open the file?
I think of something like enumerating the handles, to find out which process uses the file, then close the handle. Can this anyway be done with MCH?
I think of something like enumerating the handles, to find out which process uses the file, then close the handle. Can this anyway be done with MCH?
- Fri Jul 17, 2009 2:49 am
- Forum: madCodeHook
- Topic: Notify the injected dll about some changes? IPC?
- Replies: 11
- Views: 10097
- Fri Jul 17, 2009 2:46 am
- Forum: madCodeHook
- Topic: Running code to inject a dll in any running process?
- Replies: 3
- Views: 4388
- Thu Jul 16, 2009 9:25 am
- Forum: madCodeHook
- Topic: Running code to inject a dll in any running process?
- Replies: 3
- Views: 4388
Running code to inject a dll in any running process?
Anybody has a delphi code, which inject a dll into all running processes, and also in all new created processes? I cannot get it to work... What I want to do it to hook access to a file, to prevent access from anything except my own application. To do this, I have to hook CreateFile and OpenFile I t...
- Thu Jul 16, 2009 9:22 am
- Forum: madCodeHook
- Topic: Notify the injected dll about some changes? IPC?
- Replies: 11
- Views: 10097
Does each DLL copy really need its own event? Does the global memory block differ for each DLL copy / process? If possible, I'd recommend to use a different approach: Write the DLL so that it doesn't require any notification from the application. You can do so by writing one global function named &...