Dll Injector //top\\: Kernel
The implementation of a Kernel DLL Injector involves the following steps:
// Unload the DLL VOID Unload(WDFDRIVER* Driver) // Unmap the DLL from kernel-mode memory PVOID pDll; ZwUnmapViewOfSection(pDll); kernel dll injector
Prevents the DLL from appearing in the process's module list. APC Injection The implementation of a Kernel DLL Injector involves
// 2. Write DLL path KeEnterCriticalRegion(); MmCopyVirtualMemory( PsGetCurrentProcess(), DllPath, TargetProcess, RemoteMemory, PathLen, KernelMode, NULL ); KeLeaveCriticalRegion(); kernel dll injector