IATHook&原理与实现(4)

 | 

 | 

 

 

IAT(Import Address Table) HOOKHOOKInlineHookHotFixHookHOOKIATHOOKWindowsPEPortable Executable

WindowsPEImport Address TableHOOKHOOK

MessageBoxAIATHOOK

Windows 10 20H219042.1288Visual Studio 2017DLL

1.

 

2Windows->DLL

 

3#include pch.h,#include <Windows.h>framework.hpch.hpch.cpp

 

4

4.1 

4.2 Spectre

4.3 

5.   breakDLL

6.   MessageBoxAMessageBoxAF12MessageBoxA

 

7.   HOOKrkvir

8.   HOOKPEGetModuleHandle(NULL)

 

9.   

10.DLL_PROCESS_ATTACHIATHOOK

 

11. 

12.

13.HOOK

13.1 

 

13.2使

HOOK

IATHook

 

rkvir

*2

C/C++/Python/x86/x64/&

/FUZZ/Windows/