ATT&CK coverage › Technique

Access Token Manipulation T1134

Adversaries may modify access tokens to operate under a different user or system security context to perform actions and bypass access controls. Windows uses access tokens to determine the ownership of a running process. A user can manipulate access tokens to make a running process appear as though it is the child of a different process or belongs to someone other than the user that started the process. When this occurs, the process also takes on the security context associated with the new token.

Events covered

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

ProviderEvent IDTitle
Sysmon1Process creation
Sysmon17PipeEvent (Pipe Created)
Security-Auditing4624An account was successfully logged on.
Security-Auditing4674An operation was attempted on a privileged object.
Security-Auditing4688A new process has been created.
Security-Auditing4703A user right was adjusted.
Security-Auditing5136A directory service object was modified.
Security-Auditing5447A Windows Filtering Platform filter has been changed.
Security-Auditing5449A Windows Filtering Platform provider context has been changed.

Authoring guide

Patterns shared across the 12 rules above: which fields they filter on, what specific values they look for, and what they exclude. Field names are normalized 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 (26 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
IntegrityLevel4eq 4, in 2"system", "medium", "high", S-1-16-16384, System
EventID3eq 35136, 1
Image3in 2, ends_with 1, match 1"*\\\\*", "*\\Users\\*", "*\\Temp\\*", :\Program Files\Java\, \mshta.exe
ParentImage3in 2, ends_with 1, match 1"*\\\\*", "*\\Users\\*", "*\\Temp\\*", \bin\javaws.exe, :\Packages\Plugins\Microsoft.GuestConfiguration.Configura...
Provider_Name2eq 2Microsoft-Windows-Sysmon, Microsoft-Windows-Security-Auditing
EventType2eq 2logged-in, Token Right Adjusted Events
event.outcome2eq 2success
AttributeLDAPDisplayName2eq 2msDS-AllowedToActOnBehalfOfOtherIdentity, servicePrincipalName
ObjectClass2eq 2computer, user
user2match 1, ne 1AUTORI, AUTHORI
file.name1wildcard 1\*\Pipe\*
LogonProcessName1starts_with 1seclogo
process_name1eq 1svchost.exe
user.id1starts_with 1S-1-12-1-, S-1-5-21-
event.type1eq 1start

Top indicator values (99 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.

FieldKindValueRules (here)Corpus reach
IntegrityLeveleq"system"32
event.outcomeeqsuccess28
EventIDeq5136222
Imagein"*\\Temp\\*"23
IntegrityLevelin"low"23
ParentImagein"*\\\\*"22
IntegrityLevelin"medium"23
ParentImagein"*\\Temp\\*"22
Imagein"*\\ProgramData\\*"23
Imagein"*\\Users\\*"22
ParentImagein"*\\ProgramData\\*"22
ParentImagein"*\\Users\\*"22
IntegrityLevelin"high"22
Imagein"*\\\\*"22
file.namewildcard\*\Pipe\*1
Provider_NameeqMicrosoft-Windows-Sysmon13
user.idstarts_withS-1-12-1-1
EventTypeeqlogged-in17
event.typeeqstart1
user.idstarts_withS-1-5-21-1

Common exclusions (35 distinct)

Field/operator/value combinations that rules under this technique routinely exclude (top-level not() clauses). 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.

FieldKindValueRules excluding
userin"*SYSTEM"2
userin"*LOCAL SERVICE"2
userin"DWM-*"2
userin"*$"2
userin"*NETWORK SERVICE"2
process_namewildcard?:\Windows\SysWOW64\WerFault.exe1
process_namewildcard?:\Windows\System32\lsass.exe1
process_namewildcard?:\Program Files\*1
process_namewildcard?:\Windows\System32\mmc.exe1
process_namewildcard?:\Windows\System32\msiexec.exe1
process_namewildcard?:\Windows\System32\sdiagnhost.exe1
process_namewildcard?:\Windows\SysWOW64\msiexec.exe1
process_namewildcard?:\Windows\System32\ServerManager.exe1
process_namewildcard?:\Windows\System32\cleanmgr.exe1
process_namewildcard?:\Windows\SysWOW64\wbem\WmiPrvSe.exe1

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.

Sigma 2 rules

Elastic 4 rules

Splunk 3 rules

Kusto Query Language 3 rules