Windows API reference

SetWinEventHook

Subscribes to UI accessibility events such as focus or window changes.

Library
User32.dll
Category
Spying, Injection
Suspicion
medium

Detection summary

SetWinEventHook has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.

Sources and documentation

Not yet human-reviewed. Page metadata generated .

Legitimate use

Accessibility software, remote support tools, clipboard managers and screenshot utilities.

Open SetWinEventHook in the interactive atlas