feat add protect list
This commit is contained in:
@@ -11,8 +11,23 @@ namespace load_image_notify_routine
|
||||
UNREFERENCED_PARAMETER(ProcessId);
|
||||
UNREFERENCED_PARAMETER(ImageInfo);
|
||||
|
||||
if(FullImageName->Buffer)
|
||||
DbgPrintEx(77, 0, "[+] %ws\n", FullImageName->Buffer);
|
||||
if (FullImageName->Buffer)
|
||||
{
|
||||
|
||||
if (wcsstr(FullImageName->Buffer, L"MyDriver1"))
|
||||
{
|
||||
DbgPrintEx(77, 0, "[+] %ws | pid:%d\n", FullImageName->Buffer, ProcessId);
|
||||
|
||||
ZwUnmapViewOfSection(PsGetCurrentProcess(), ImageInfo->ImageBase);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user