Hijack Execution Flow: DLL Side-Loading T1574.002

Tactics: Stealth, Execution

Adversaries may execute their own malicious payloads by side-loading DLLs. Similar to DLL, side-loading involves hijacking which DLL a program loads. But rather than just planting the DLL within the search order of a program then waiting for the victim application to be invoked, adversaries may directly side-load their payloads by planting then invoking a legitimate application that executes their payload(s).

Events covered

10 catalog events are tagged with this technique by at least one rule.

Authoring guide

Patterns shared across the 11 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 (25 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
Image4ends_with 4\cmd.exe, \dnscmd.exe, \net.exe, \net1.exe, \sc.exe
CommandLine3contains 3/config, /serverlevelplugindll, config, localsystem, msdtc
DLLDirectory1in 1c:\\windows\\, c:\\windows\\system32\\, c:\\windows\\syswow64\\
DeviceDescription1contains 1gentil, kiwi, printnightmare
DeviceId1eq 1WinDevices
EventID1eq 111
EventType1in 1FileCreated, FileModified
GlobalPrevalence1is_null 1, lt 1200
InitiatingProcessTokenElevation1in 1TokenElevationTypeDefault, TokenElevationTypeLimited
IntegrityLevel1in 1High, System
OriginalFileName1eq 1sc.exe
Param11contains 1mimispool
Param21contains 1, ends_with 1.dll, printnightmare.gentilkiwi.com
ParentImage1ends_with 1\spoolsv.exe
PluginDllName1ends_with 1.dll

Top indicator values (50 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
CommandLinecontains
/config
12
CommandLinecontains
/serverlevelplugindll
12
CommandLinecontains
config
116
CommandLinecontains
localsystem
1
CommandLinecontains
msdtc
13
CommandLinecontains
net use
12
CommandLinecontains
printnightmare.gentilkiwi.com
12
DLLDirectoryin
c:\\windows\\
1
DLLDirectoryin
c:\\windows\\system32\\
1
DLLDirectoryin
c:\\windows\\syswow64\\
1
DLLDirectoryin
c:\\windows\\winsxs\\
1
DeviceDescriptioncontains
gentil
1
DeviceDescriptioncontains
kiwi
1
DeviceDescriptioncontains
printnightmare
1
DeviceIdeq
WinDevices
1
EventIDeq
11
123
EventTypein
FileCreated
14
EventTypein
FileModified
13
GlobalPrevalencelt
200
14
Imageends_with
\cmd.exe
1130
Imageends_with
\dnscmd.exe
13
Imageends_with
\net.exe
149
Imageends_with
\net1.exe
147
Imageends_with
\sc.exe
130
InitiatingProcessTokenElevationin
TokenElevationTypeDefault
1
InitiatingProcessTokenElevationin
TokenElevationTypeLimited
1
IntegrityLevelin
High
15
IntegrityLevelin
System
14
OriginalFileNameeq
sc.exe
126
Param1contains
mimispool
1

Exclusions (4 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
IntegrityLevelin
High
1
IntegrityLevelin
System
1
SubjectUserSidends_with
-500
1
file_nameends_with
.exe
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)

Sigma 8 rules

Splunk 1 rule

Kusto 2 rules