kevmap

Techniques › T1528

T1528 Steal Application Access Token

credential access — Containers, IaaS, Identity Provider, Office Suite, SaaS · attack.mitre.org · JSON

1
MITRE detection strategy
5
analytics
14
Sigma rules tagged attack.t1528
1
KEV CVEs mapped here
<p>Adversaries can steal application access tokens as a means of acquiring credentials to access remote systems and resources.</p><p>Application access tokens are used to make authorized API requests on behalf of a user or service and are commonly used as a way to access resources in cloud and container-based applications and software-as-a-service (SaaS). Adversaries who steal account API tokens in cloud and containerized environments may be able to access data and perform actions with the permissions of these accounts, which can lead to privilege escalation and further compromise of the environment.</p><p>For example, in Kubernetes environments, processes running inside a container may communicate with the Kubernetes API server using service account tokens. If a container is compromised, an adversary may be able to steal the container’s token and thereby gain access to Kubernetes API commands.</p><p>Similarly, instances within continuous-development / continuous-integration (CI/CD) pipelines will often use API tokens to authenticate to other services for testing and deployment. If these pipelines are compromised, adversaries may be able to steal these tokens and leverage their privileges.</p><p>In Azure, an adversary who compromises a resource with an attached Managed Identity, such as an Azure VM, can request short-lived tokens through the Azure Instance Metadata Service (IMDS). These tokens can then facilitate unauthorized actions or further access to other Azure services, bypassing typical credential-based authentication.</p><p>Token theft can also occur through social engineering, in which case user action may be required to grant access. OAuth is one commonly implemented framework that issues tokens to users for access to systems. An application desiring access to cloud-based services or protected APIs can gain entry using OAuth 2.0 through a variety of authorization protocols. An example commonly-used sequence is Microsoft's Authorization Code Grant flow. An OAuth access token enables a third-party application to interact with resources containing user data in the ways requested by the application without obtaining user credentials.</p><p>Adversaries can leverage OAuth authorization by constructing a malicious application designed to be granted access to resources with the target user's OAuth token. The adversary will need to complete registration of their application with the authorization server, for example Microsoft Identity Platform using Azure Portal, the Visual Studio IDE, the command-line interface, PowerShell, or REST API calls. Then, they can send a Spearphishing Link to the target user to entice them to grant access to the application. Once the OAuth access token is granted, the application can gain potentially long-term access to features of the user account through Application Access Token.</p><p>Application access tokens may function within a limited lifetime, limiting how long an adversary can utilize the stolen token. However, in some cases, adversaries can also steal application refresh tokens, allowing them to obtain new access tokens without prompting the user.</p>

KEV CVEs mapped to this technique · CTID Mappings Explorer

CVEVendor / productMapping typeStateAdded
CVE-2024-38475Apache HTTP Server primary impact Mapped2025-05-01

Detection strategy · ATT&CK Enterprise v19.2

Sigma rules · SigmaHQ da9bb07d64, tag attack.t1528

Author: Mark Morowczynski '@markmorow', Bailey Bercik '@baileybercik' · 2022-06-02 · logsource: product=azure service=auditlogs · 0055ad1f-be85-4798-83cf-a6da17c993b3
Detects when a configuration change is made to an applications URI. URIs for domain names that no longer exist (dangling URIs), not using HTTPS, wildcards at the end of the domain, URIs that are no unique to that app, or URIs that point to domains you do not control should be investigated.
Techniques: T1528T1078.004
Author: Nasreddine Bencherchali (Nextron Systems) · 2022-07-08 (modified 2023-08-07) · logsource: product=windows category=pipe_created · 0adc67e0-a68f-4ffd-9c43-28905aad5d6a
Detects creation of default named pipes used by the Koh tool
Techniques: T1528T1134.001
Author: @SerkinValery · 2022-09-16 · logsource: product=windows service=security · 25cde13e-8e20-4c29-b949-4e795b76f16f
Detects an access to authentication tokens and accounts of Microsoft Teams desktop application.
Techniques: T1528
Author: Gloria Lee, '@gleeiamglo' · 2023-08-22 · logsource: product=azure service=riskdetection · 53acd925-2003-440d-a1f3-71a5253fe237
Indicates sign-ins from an anonymous IP address, for example, using an anonymous browser or VPN.
Techniques: T1528
Author: Mark Morowczynski '@markmorow' · 2023-08-07 · logsource: product=azure service=riskdetection · 6555754e-5e7f-4a67-ad1c-4041c413a007
Indicates that there are abnormal characteristics in the token such as an unusual token lifetime or a token that is played from an unfamiliar location.
Techniques: T1528
Author: @SerkinValery · 2024-07-22 · logsource: product=windows category=file_access · 65744385-8541-44a6-8630-ffc824d7d4cc
Detects file access attempts to sensitive Microsoft teams files (leveldb, cookies) by an uncommon process.
Techniques: T1528
Author: Nasreddine Bencherchali (Nextron Systems), kagebunsher · 2022-10-25 (modified 2025-10-21) · logsource: product=windows category=process_creation · 6d3a3952-6530-44a3-8554-cf17c116c615
Detects potentially suspicious search for JWT tokens via CLI by looking for the string "eyJ0eX" or "eyJhbG". JWT tokens are often used for access-tokens across various applications and services like Microsoft 365, Azure, AWS, Google Cloud, and others. Threat actors may search for these tokens to steal them for lateral movement or privilege escalation.
Techniques: T1528T1552.001
Author: Bailey Bercik '@baileybercik', Mark Morowczynski '@markmorow' · 2022-07-10 · logsource: product=azure service=auditlogs · 7091372f-623c-4293-bc37-20c32b3492be
Detects when end user consent is blocked due to risk-based consent.
Techniques: T1528
Author: Max Altgelt (Nextron Systems) · 2022-06-02 (modified 2023-02-03) · logsource: product=windows category=process_creation · 8a4519e8-e64a-40b6-ae85-ba8ad2177559
Detects process creation with a renamed BrowserCore.exe (used to extract Azure tokens)
Techniques: T1528T1036.003
Author: Bailey Bercik '@baileybercik', Mark Morowczynski '@markmorow' · 2022-07-28 · logsource: product=azure service=auditlogs · 9b2cc4c4-2ad4-416d-8e8e-ee6aa6f5035a
Detects when an end user consents to an application
Techniques: T1528
Author: Bailey Bercik '@baileybercik', Mark Morowczynski '@markmorow' · 2022-07-28 · logsource: product=azure service=auditlogs · a6355fbe-f36f-45d8-8efc-ab42465cbc52
Detects when highly privileged delegated permissions are granted on behalf of all users
Techniques: T1528
Author: Mark Morowczynski '@markmorow', Gloria Lee, '@gleeiamglo' · 2023-09-07 · logsource: product=azure service=riskdetection · a84fc3b1-c9ce-4125-8e74-bdcdb24021f1
Indicates access attempt to the PRT resource which can be used to move laterally into an organization or perform credential theft
Techniques: T1528
Author: Bailey Bercik '@baileybercik', Mark Morowczynski '@markmorow' · 2022-07-10 · logsource: product=azure service=auditlogs · c1d147ae-a951-48e5-8b41-dcd0170c7213
Detects when an application is granted delegated or app role permissions for Microsoft Graph, Exchange, Sharepoint, or Azure AD
Techniques: T1528
Author: @SerkinValery · 2022-09-16 (modified 2023-12-18) · logsource: product=windows category=process_creation · d2eb17db-1d39-41dc-b57f-301f6512fa75
Detects a commandline containing references to the Microsoft Teams database or cookies files from a process other than Teams. The database might contain authentication tokens and other sensitive information about the logged in accounts.
Techniques: T1528