Windows API reference

GetAsyncKeyState

Retrieves the status of a virtual key, including whether it is currently down and whether it was pressed since the previous call.

Library
User32.dll
Category
Spying
Suspicion
high

Detection summary

GetAsyncKeyState has no reviewed Sysmon/ETW event; key polling is detected through EDR hooks, call stacks and behavioral analysis.

Sources and documentation

Last reviewed: . Page metadata generated .

Legitimate use

Games, input remapping, accessibility tools, macro utilities, UI automation and remote-control software.

Open GetAsyncKeyState in the interactive atlas