Windows API reference

GetKeyState

Returns the state of a specific virtual key for the calling thread queue.

Library
User32.dll
Category
Spying
Suspicion
medium

Detection summary

GetKeyState 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 GetKeyState in the interactive atlas