Windows API reference

SetWindowsHookExW

Installs an application-defined hook procedure into a hook chain to monitor messages, keyboard or mouse input for a thread or all threads on a desktop.

Library
User32.dll
Category
Spying, Injection
Suspicion
high

Detection summary

SetWindowsHookExW is not directly logged; Sysmon 7 may show hook-DLL loading but not the hook call itself.

Sources and documentation

Last reviewed: . Page metadata generated .

Legitimate use

Accessibility tools, remote support, clipboard managers, macro utilities, input remapping and UI automation.

Open SetWindowsHookExW in the interactive atlas