Process Injection: Asynchronous Procedure Call T1055.004

Tactics: Stealth, Privilege Escalation

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.

Events covered

1 catalog event is tagged with this technique by at least one rule.

Authoring guide

Patterns shared across the 2 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (3 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
ScriptBlockText2in 2, contains 1, match 1(?i)[c][r][e][a][t][e][p][r][o][c][e][s][s], (?i)[c][r][e][a][t][e][r][e][m][o][t][e][t][h][r][e][a][d], (?i)[c][r][e][a][t][e][t][h][r][e][a][d], adjusttokenprivileges, createremotethread
EventID1eq 14104
event.category1eq 1process

Top indicator values (43 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
EventIDeq
4104
1268
ScriptBlockTextcontains
add-type
1
ScriptBlockTextcontains
dllimport
1
ScriptBlockTextcontains
resumethread
1
ScriptBlockTextin
*extern bool*
1
ScriptBlockTextin
*extern int*
1
ScriptBlockTextin
*extern intptr*
1
ScriptBlockTextin
*extern uint*
1
ScriptBlockTextin
adjusttokenprivileges
1
ScriptBlockTextin
createremotethread
1
ScriptBlockTextin
createthread
1
ScriptBlockTextin
getdelegateforfunctionpointer
1
ScriptBlockTextin
getprocaddress
1
ScriptBlockTextin
ldrloaddll
1
ScriptBlockTextin
loadlibrary
1
ScriptBlockTextin
loadlibrarya
1
ScriptBlockTextin
loadlibraryex
1
ScriptBlockTextin
ntcreatethreadex
1
ScriptBlockTextin
openprocess
1
ScriptBlockTextin
openprocesstoken
1
ScriptBlockTextin
queueuserapc
1
ScriptBlockTextin
resumethread
1
ScriptBlockTextin
suspendthread
1
ScriptBlockTextin
virtualalloc
1
ScriptBlockTextin
virtualallocex
1
ScriptBlockTextin
virtualprotect
1
ScriptBlockTextin
writeprocessmemory
1
ScriptBlockTextmatch
(?i)[c][r][e][a][t][e][p][r][o][c][e][s][s]
1
ScriptBlockTextmatch
(?i)[c][r][e][a][t][e][r][e][m][o][t][e][t][h][r][e][a][d]
1
ScriptBlockTextmatch
(?i)[c][r][e][a][t][e][t][h][r][e][a][d]
1

Exclusions (2 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
file.directoryin
C:\ProgramData\Microsoft\Windows Defender Advanced Threat Protection\Downloads
1
file.directoryin
C:\ProgramData\Microsoft\Windows Defender Advanced Threat Protection\SenseCM
1

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Platform (all)
Domain (all)

Elastic 1 rule

Splunk 1 rule