我按照这篇帖子
http://bbs.pediy.com/showthread.php?t=148815 改掉以下函数DebugPort函数的位置,绕HOOK是用的重加载内核,不想去修改TP代码,为什么附加后看不到代码呢,ALT+C能显示代码了,但是也看不到模块
而且加载了双内核,OD附加的时候还是会去调用旧内核的dbg相关函数,只有把新旧内核访问DebugPort的地方都改掉,下断点才有用,求高人答疑
看不到模块,也不能bp API这样下断
ULONG KiDispatchException; //1处
ULONG NtQueryInformationProcess; //1处
ULONG PspCreateProcess; //1处
ULONG PsGetProcessDebugPort; //1处
ULONG PsIsProcessBeingDebugged; //1处
ULONG NtTerminateProcess; //1处
ULONG PspTerminateProcess; //1处
ULONG PspExitThread; //1处
ULONG PspProcessDelete; //3处
ULONG ObpCloseHandleTableEntry; //1处
ULONG ObpCloseHandle; //1处
ULONG MmCreatePeb; //1处
ULONG DbgkCreateThread; //1处
ULONG DbgkExitThread; //1处
ULONG DbgkExitProcess; //1处
ULONG DbgkMapViewOfSection; //1处
ULONG DbgkUnMapViewOfSection; //1处
ULONG DbgkpMarkProcessPeb; //1处
ULONG DbgkpCloseObject; //3处
ULONG DbgkCopyProcessDebugPort[3]; //4处
ULONG DbgkOpenProcessDebugPort; //2处
ULONG DbgkpQueueMessage; //1处
ULONG DbgkClearProcessDebugObject; //2处
ULONG DbgkpSetProcessDebugObject[5]; //5处
ULONG DbgkForwardException; //1处