-
-
R3下HOOK NTQueryObject问题
-
发表于:
2012-12-24 15:45
5167
-
在R3下 HOOK NTQueryObject mov eax,0xa3位置下做hook 一直返回0XC00005 搞不懂哪错了 大神看下 有SRC
NTSTATUS __stdcall New_NtQueryObject(
HANDLE ObjectHandle,
OBJECT_INFORMATION_CLASS ObjectInformationClass,
PVOID ObjectInformation,
ULONG ObjectInformationLength,
PULONG ReturnLength
)
{
NTSTATUS ret_value=1;
POBJECT_NAME_INFORMATION Object_name;
__asm
{
/*push ReturnLength
push ObjectInformationLength
push ObjectInformation
push ObjectInformationClass
push ObjectHandle*/
mov eax,0xa3
mov edx,0x7FFE0300
mov edx,[edx]
call edx
mov ret_value,eax
//add esp,0x14
}
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!