Search found 4 matches

by Praveen
Thu Dec 11, 2008 11:14 am
Forum: madCodeHook
Topic: DLL is not injecting to all process ?
Replies: 5
Views: 5265

Solved the problem. Need to return 1 from DllMain under the DLL_PROCESSS_ATTACH case. If nothing is returned or if 0 is returned from DllMain, InjectLibrary() appears to be making the target process call FreeLibrary(). I then get a DLL_PROCESS_DETACH in the injected DLL's DllMain() where I am doing ...
by Praveen
Thu Dec 11, 2008 9:14 am
Forum: madCodeHook
Topic: DLL is not injecting to all process ?
Replies: 5
Views: 5265

Use (ALL_SESSIONS or SYSTEM_PROCESSES) to inject into all processes. --Iconic Thanx ,yes I have used same . DLL Code - #include <windows.h> #include <stdio.h> #include "madCHook.h" UINT (WINAPI *WinExecNextHook)(LPCSTR lpCmdLine, UINT uCmdShow); UINT WINAPI WinExecHookProc(LPCSTR lpCmdLin...
by Praveen
Wed Dec 10, 2008 10:26 am
Forum: madKernel
Topic: does MadC have any file systrm driver kind of thing ?
Replies: 1
Views: 11764

does MadC have any file systrm driver kind of thing ?

HI Guys please help me out ,My question is -Does madshi have any file system driver kind of thing for his hooking process? :confused: If yes what is the name of driver ?
by Praveen
Wed Dec 10, 2008 9:56 am
Forum: madCodeHook
Topic: DLL is not injecting to all process ?
Replies: 5
Views: 5265

DLL is not injecting to all process ?

hi Guys ,I am trying to inject dll by my application to all the process ,but I am not able to ,what I am doing is I have an exe and a dll so by the dll I am hooking Winexec api .I am injecting that dll to all process by ALL_SESSIONS flag .Is it something behind winexec call or am I doing wrong ?