The invention discloses a configurable and integratable Hook
system in Windows environment and a method thereof and relates to the technical field of
DLL injection technology, Hook technology and interprocess communication. The
system is characterized in that an application program subsystem comprises an
injector unit and a hook unit, the
injector unit comprises an injection module and a communication module, the hook unit comprises an inline hook module, an import address table hook module and a vectored
exception handling module, and the injection module, the hook unit, an injected hook unitand the communication module sequentially interact. The method includes: 1, creating a naming pipeline; 2, selecting a target process; 3, selecting a dynamic link
library for injection; 4, selectingan injection mode; 5, feeding back injection information; 6, configuring Hook parameters; 7, transmitting the Hook parameters to the injected hook unit; 8, completing Hook functional procedure; 9, feeding back Hook information. The
system is configurable, and related process parameters of Hook can be configured by a user; the system has the characteristic of being easy to operate and can help to intercept and acquire enough useful information.