Access Token Manipulation: Create Process with Token T1134.002

Tactics: Stealth, Privilege Escalation

Adversaries may create a new process with an existing token to escalate privileges and bypass access controls. Processes can be created with the token and resulting security context of another user using features such as CreateProcessWithTokenW and runas.

Events covered

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

Authoring guide

Patterns shared across the 18 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 (38 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
CommandLine7contains 6, ends_with 2 /commandline , /exefilename , /run, /runas 10 , /runas 11
EventType4eq 4start, logged-in
Image4ends_with 3, starts_with 1\cmd.exe, \conhost.exe, \powershell.exe, \runas.exe, \rundll32.exe
user.id4eq 2, starts_with 2S-1-12-1-, S-1-5-18, S-1-5-21-
LogonProcessName3starts_with 2, eq 1seclogo, Advapi
ParentImage3ends_with 2, is_not_null 1\conhost.exe, \services.exe, \tieringengineservice.exe
process_name3eq 2, ends_with 1\svchost.exe, bitsadmin.exe, certutil.exe, cmd.exe, svchost.exe
EventID2eq 24688, 4703
LogonType2eq 2Interactive
TargetUserSid2eq 1, starts_with 1S-1-0-0, S-1-12-, S-1-5-21
process.Ext.effective_parent.executable2eq 1, match 1, wildcard 1?:\Windows\*.exe, ?:\Windows\explorer.exe, [C-Z]:\\Windows\\(System32|SysWOW64)\\[a-zA-Z0-9\-\_\.]+\.exe
src_ip2eq 2::1, ::1
user2contains 2, ends_with 1, match 1$, \system, \système, \система, authori
Channel1eq 1, in 1
CleanProcessCommandLine1cross_field_compare 1AccountName

Top indicator values (150 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
EventTypeeq
start
316
LogonTypeeq
Interactive
25
src_ipeq
::1
26
usercontains
authori
214
usercontains
autori
214
user.ideq
S-1-5-18
22
user.idstarts_with
S-1-12-1-
26
user.idstarts_with
S-1-5-21-
26
CleanProcessCommandLinecross_field_compare
AccountName
1
CommandLinecontains
/commandline
1
CommandLinecontains
/exefilename
1
CommandLinecontains
/run
1
CommandLinecontains
/runas
1
CommandLinecontains
/runas 10
1
CommandLinecontains
/runas 11
1
CommandLinecontains
/runas 4
1
CommandLinecontains
/runas 8
1
CommandLinecontains
/windowstate 0
1
CommandLinecontains
%comspec%
16
CommandLinecontains
-encodedcommand
13
CommandLinecontains
.dll,a
1
CommandLinecontains
/c
115
CommandLinecontains
/commandline
1
CommandLinecontains
/exefilename
1
CommandLinecontains
/p:
1
CommandLinecontains
/user:
17
CommandLinecontains
\pipe\
1
CommandLinecontains
cmd
18
CommandLinecontains
davsetcookie
1
CommandLinecontains
echo
18

Exclusions (143 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
Imageeq
?:\windows\softwaredistribution\download\install\securityhealthsetup.exe
2
Imageeq
?:\windows\system32\werfault.exe
2
Imageeq
?:\windows\system32\werfaultsecure.exe
2
Imageeq
?:\windows\system32\wermgr.exe
2
Imageeq
?:\windows\syswow64\werfault.exe
2
Imageeq
?:\windows\syswow64\werfaultsecure.exe
2
Imagewildcard
?:\program files (x86)\*.exe
2
Imagewildcard
?:\program files\*.exe
2
ParentImageeq
?:\windows\system32\utilman.exe
2
ParentImagewildcard
?:\windows\system32\msiexec.exe
2
ParentImagewildcard
?:\windows\system32\svchost.exe
2
process.code_signature.trustedeq
true
2
CleanProcessCommandLinecontains
:_ladmin
1
CommandLinecontains
?:\program files
1
CommandLinecontains
\windows\system32\edgehtml.dll
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 9 rules

Elastic 6 rules

Splunk 1 rule

Kusto 2 rules