Windows API reference

QueueUserAPC

Queues a user-mode asynchronous procedure call to the specified thread; the APC runs when the thread enters an alertable wait.

Library
Kernel32.dll
Category
Injection
Suspicion
high

Detection summary

APC injection, including early-bird injection: queue a callback to a remote thread in a target process, often a newly created suspended process; detect ETW-TI APC events, thread/process creation followed by APC queuing, APC routine addresses in private executable memory, and alertable-wait behavior. Sysmon 8 does not record APC queuing.

Sources and documentation

Not yet human-reviewed. Page metadata generated .

Legitimate use

Thread pools, I/O completion, COM/RPC, debuggers and application frameworks.

Open QueueUserAPC in the interactive atlas