Access Token Manipulation
- ID
- T1134
- Tactics
- TA0004 Privilege Escalation, TA0005 Stealth
- Platforms
- Windows
- Data sources
- Logon Session Metadata, Process Creation, Process Access, OS API Execution, Active Directory Object Modification
- Source
- attack.mitre.org
- MITRE last modified
- 12 May 2026
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.
An adversary can use built-in Windows API functions to copy access tokens from existing processes; this is known as token stealing. These token can then be applied to an existing process (i.e. Token Impersonation/Theft) or used to spawn a new process (i.e. Create Process with Token). An adversary must already be in a privileged user context (i.e. administrator) to steal a token. However, adversaries commonly use token stealing to elevate their security context from the administrator level to the SYSTEM level. An adversary can then use a token to authenticate to a remote system as the account for that token if the account has appropriate permissions on the remote system.[4]
Any standard user can use the runas command, and the Windows API functions, to create impersonation tokens; it does not require access to an administrator account. There are also other mechanisms, such as Active Directory fields, that can be used to modify access tokens.
Sub-techniques (5)
- T1134.001 Token Impersonation/Theft
- T1134.002 Create Process with Token
- T1134.003 Make and Impersonate Token
- T1134.004 Parent PID Spoofing
- T1134.005 SID-History Injection
Detection
- DET0283 Behavior-chain detection for T1134 Access Token Manipulation on Windows
Data components: Logon Session Metadata, Process Creation, Process Access, OS API Execution, Active Directory Object Modification
Mitigations (2)
- M1018 User Account Management
An adversary must already have administrator level access on the local system to make full use of this technique; be sure to restrict users and accounts to the least privileges they require.
- M1026 Privileged Account Management
Limit permissions so that users and user groups cannot create tokens. This setting should be defined for the local system account only. GPO: Computer Configuration > [Policies] > Windows Settings > Security Settings > Local Policies > User Rights Assignment: Create a token object. [1] Also define who can create a process level token to only the local and network service through GPO: Computer Configuration > [Policies] > Windows Settings > Security Settings > Local Policies > User Rights Assignment: Replace a process level token.[2]
Administrators should log in as a standard user but run their tools with administrator privileges using the built-in access token manipulation command
runas.[3]
Groups (3)
Software (19)
- S0038 Duqu
- S0058 SslMM
- S0194 PowerSploit
- S0203 Hydraq
- S0363 Empire
- S0378 PoshC2
- S0446 Ryuk
- S0562 SUNSPOT
- S0576 MegaCortex
- S0607 KillDisk
- S0622 AppleSeed
- S0625 Cuba
- S0633 Sliver
- S0666 Gelsemium
- S0697 HermeticWiper
- S1060 Mafalda
- S1068 BlackCat
- S1210 Sagerunex
- S1242 Qilin
References
- Microsoft Create Token
- Microsoft Replace Process Token
- Microsoft runas
- Pentestlab Token Manipulation
