MITRE ATT&CKtechnique
T1134 Access Token Manipulation
- Domain
- enterprise
- Tactics
- Stealth, Privilege Escalation
- Platforms
- Windows
- Version
- 3.0
- Created
- 2017-12-14
Description
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.
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.
Related
Referenced by MITRE ATT&CK · mitigates (2)
Referenced by MITRE ATT&CK · subtechnique of (5)
Referenced by MITRE ATT&CK · uses (23)
- S1242 Qilin software (malware)
- S1210 Sagerunex software (malware)
- S1068 BlackCat software (malware)
- S1060 Mafalda software (malware)
- C0017 C0017 campaign
- S0697 HermeticWiper software (malware)
- S0666 Gelsemium software (malware)
- S0633 Sliver software (tool)
- S0625 Cuba software (malware)
- S0622 AppleSeed software (malware)
- S0576 MegaCortex software (malware)
- S0607 KillDisk software (malware)
- S0562 SUNSPOT software (malware)
- G0108 Blue Mockingbird group
- S0446 Ryuk software (malware)
- S0378 PoshC2 software (tool)
- S0363 Empire software (tool)
- S0194 PowerSploit software (tool)
- S0203 Hydraq software (malware)
- G0030 Lotus Blossom group
- G0037 FIN6 group
- S0038 Duqu software (malware)
- S0058 SslMM software (malware)
Referenced by CAPEC · att&ck technique (2)
Referenced by Compliance · mitigates (9)
- CIS-6.8 Define and Maintain Role-Based Access Control CIS Safeguard v8.1
- NIST-AC-2 Account Management NIST 800-53 control
- NIST-AC-3 Access Enforcement NIST 800-53 control
- NIST-AC-5 Separation of Duties NIST 800-53 control
- NIST-AC-6 Least Privilege NIST 800-53 control
- NIST-CM-5 Access Restrictions for Change NIST 800-53 control
- NIST-CM-6 Configuration Settings NIST 800-53 control
- NIST-IA-13 Identity Providers and Authorization Servers NIST 800-53 control
- NIST-IA-2 Identification and Authentication (Organizational Users) NIST 800-53 control
References
- https://pentestlab.blog/2017/04/03/token-manipulation/ Pentestlab Token Manipulation