Hello!
I need to locate unexported symbol of nt* function.
The way I want to do it is to load ntoskrnl.exe then get KeServiceDescriptorTable and then move KiServiceTable address of syscallidx to get it's name.
I was looking for many of the posts here but I still don;t catch the idea.
For now I'm doing something like this:
moduleHandle = (DWORD)LoadLibraryEx("ntoskrnl.exe", 0, 0);
if (NULL == moduleHandle)
{
printf("error occured - LoadLibraryEx!\n");
return;
}
keServiceDispatchTableFarProc = GetProcAddress(moduleHandle, "KeServiceDescriptorTable");
Now RVA for SDT is keServiceDispatchTableFarProc - moduleHandle.
And this is the place where I don't know what to do next?
Can you tell me the simplestr method of locating KiServiceTable in ntoskrnl.exe file?
Thank you.
I need to locate unexported symbol of nt* function.
The way I want to do it is to load ntoskrnl.exe then get KeServiceDescriptorTable and then move KiServiceTable address of syscallidx to get it's name.
I was looking for many of the posts here but I still don;t catch the idea.
For now I'm doing something like this:
moduleHandle = (DWORD)LoadLibraryEx("ntoskrnl.exe", 0, 0);
if (NULL == moduleHandle)
{
printf("error occured - LoadLibraryEx!\n");
return;
}
keServiceDispatchTableFarProc = GetProcAddress(moduleHandle, "KeServiceDescriptorTable");
Now RVA for SDT is keServiceDispatchTableFarProc - moduleHandle.
And this is the place where I don't know what to do next?
Can you tell me the simplestr method of locating KiServiceTable in ntoskrnl.exe file?
Thank you.