Has injected malicious code into a new svchost.exe process.1
Asynchronous Procedure Call T1055.004
- Tactics
- Privilege Escalation, Stealth
- Platform
- Windows
- Version
- 2.0
- Created
- 14 January 2020
- Last modified
- 12 May 2026
Adversaries may inject malicious code into processes via the asynchronous procedure call (APC) queue in order to evade process-based defenses as well as possibly elevate privileges. APC injection is a method of executing arbitrary code in the address space of a separate live process.
Asynchronous Procedure Call MITRE reference T1055.004
1 group has been recorded using this technique. Newest first; each entry carries MITRE’s procedure text and a link to the group’s full record. Click a name to filter the rules below.
All 1 groups for this technique
12 software entries are documented implementing this technique. MITRE files each as a tool or as malware; newest first, then by how many groups carry them.
Has the ability to use NtQueueApcThread as an alternate method for process injection.1
Injects code into the APC queue using NtQueueApcThread API.1
Can use the QueueUserAPC API to execute shellcode on a compromised machine.1
Can inject itself into a new svchost.exe -k netsvcs process using the asynchronous procedure call (APC) queue.12
Can use asynchronous procedure call (APC) injection to execute commands received from C2.1
Has written its payload into a newly-created EhStorAuthn.exe process using ZwWriteVirtualMemory and executed it using NtQueueApcThread and ZwAlertResumeThread.1
All 12 software entries for this technique · 6 newest in this preview
Offense vs defense T1055.004
Is defensive coverage keeping up with adversary use? Eight counts, each ranked against all 697 ATT&CK techniques. Attack sits left, defense right, so a shape leaning left means adversaries are better documented here than defenders are equipped. Hover any spoke for its percentile and the share of techniques that have more. The timeline below shows when each side arrived.
How it got here
Adversary activity (campaign spans) over cumulative rule output. Each source is plotted independently from zero, so neither line includes the other. Campaign dates are year-granularity.
Asynchronous Procedure Call detection strategy DET0100
MITRE names one behaviour worth catching for this technique and breaks it into 1 analytic, one per platform. Each carries the log sources it needs and the fields you tune per environment.
Behavioral Detection of Asynchronous Procedure Call (APC) Injection via Remote Thread Queuing
AN0277 · Windows
Detects malicious injection behavior involving memory allocation, remote thread queuing via APC (e.g., QueueUserAPC), and altered thread context within another live process to execute unauthorized code under legitimate context.
Log sources
The data this analytic draws on. You do not need every component — each one you already collect covers part of it. Each links to its ATT&CK record.
| Data component | Name | Channel |
|---|---|---|
| Process ModificationDC0020 | WinEventLog:Sysmon | EventCode=8 |
| OS API ExecutionDC0021 | etw:Microsoft-Windows-Kernel-Process | APCQueueOperations |
| Process CreationDC0032 | WinEventLog:Sysmon | EventCode=1 |
| Process AccessDC0035 | WinEventLog:Sysmon | EventCode=10 |
Tunable fields
MITRE calls these the analytic’s mutable elements: the thresholds and filters you set for your own environment.
| Field | What you tune |
|---|---|
| APCTargetProcessList | Processes that are rarely or never valid targets for legitimate APC queuing (e.g., lsass.exe, winlogon.exe) |
| ThreadQueueDepthThreshold | The number of APCs queued within a short time window that could signal abuse |
| TimeWindow | Expected latency between memory allocation and thread execution through APC |
| UserContextSensitivity | Used to filter based on expected vs unexpected user to target process pairings |
Some endpoint security solutions can be configured to block some types of process injection based on common sequences of behavior that occur during the injection process.
Tests from Atomic Red Team (MIT licence) · technique definition