Hijack Execution Flow: Path Interception by Unquoted Path T1574.009

Tactics: Stealth, Execution

Adversaries may execute their own malicious payloads by hijacking vulnerable file path references. Adversaries can take advantage of paths that lack surrounding quotations by placing an executable in a higher level directory within the path, so that Windows will choose the adversary's executable to launch.

Events covered

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

Authoring guide

Patterns shared across the 4 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 (13 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
CommandLine1contains 1-encodedcommand
DLLDirectory1in 1c:\\windows\\, c:\\windows\\system32\\, c:\\windows\\syswow64\\
DeviceId1eq 1WinDevices
EfectiveCommand1regex_match 1regexEmpire
EventData1contains 1-encodedcommand, powershell.exe, powershell_ise.exe
EventID1eq 14688
GlobalPrevalence1is_null 1, lt 1200
Image1eq 1, match 1(c:\\program files \(x86\)\\|c:\\program files\\)\w+.exe, ?:\program.exe
ProcessDir1contains 1, in 1appdata, c:\\windows, c:\\windows\\system32
diff1ne 1[]
event.type1eq 1start
parent_process_name1eq 1services.exe
process_name1ne 1

Top indicator values (25 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
-encodedcommand
13
DLLDirectoryin
c:\\windows\\
1
DLLDirectoryin
c:\\windows\\system32\\
1
DLLDirectoryin
c:\\windows\\syswow64\\
1
DLLDirectoryin
c:\\windows\\winsxs\\
1
DeviceIdeq
WinDevices
1
EfectiveCommandregex_match
regexEmpire
1
EventDatacontains
-encodedcommand
1
EventDatacontains
powershell.exe
1
EventDatacontains
powershell_ise.exe
1
EventDatacontains
pwsh.exe
1
EventIDeq
4688
1313
GlobalPrevalencelt
200
14
Imageeq
?:\program.exe
1
Imagematch
(c:\\program files \(x86\)\\|c:\\program files\\)\w+.exe
1
ProcessDircontains
appdata
1
ProcessDircontains
program files
1
ProcessDircontains
users
1
ProcessDirin
c:\\windows
1
ProcessDirin
c:\\windows\\system32
1
ProcessDirin
c:\\windows\\syswow64
1
ProcessDirin
c:\\windows\\winsxs
1
diffne
[]
12
event.typeeq
start
1606
parent_process_nameeq
services.exe
17

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
EventDatacontains
gc_service.exe
1
EventDatacontains
gc_worker.exe
1
ParentImagecontains
gc_service.exe
1
ParentImagecontains
gc_worker.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)

Elastic 1 rule

Splunk 1 rule

Kusto 2 rules