Steal Application Access Token T1528

Tactic: Credential Access

Adversaries can steal application access tokens as a means of acquiring credentials to access remote systems and resources.

Events covered

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

Authoring guide

These 86 rules share fields, values, and exclusions.

Fields filtered most (165 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
data_stream.dataset25eq 23, in 2azure.signinlogs, o365.audit, azure.auditlogs, google_workspace.login, azure.aadgraphactivitylogs
EventType16eq 10, in 6exec, UserLoggedIn, exec_event, executed, login_success
event.outcome13eq 13success, Success
event.type8eq 8start, access, change
sourcetype8eq 8azure:monitor:aad, o365:management:activity, o365:graph:api
CommandLine7contains 3, is_not_null 2, wildcard 2, regex_match 1, *az account get-access-token*, *gcloud config config-helper --format json*, *gh auth token*, "eyJ0eX"
azure_ad::app_id6eq 3, in 304b07795-8ddb-461a-bbee-02f9e1bf7b46, 29d9ed98-a469-4536-ade2-f981bc1d605e, 00b41c95-dab0-4487-9791-b9d2c32c80f2, 0ec893e0-5785-4de6-99da-4ed124e5296c, 14d82eec-204b-4c2f-b7e8-296a70dab67e
azure_ad::activity_display_name5eq 5Add app role assignment to service principal, Add owner to application, Add service principal, Consent to application, Register device
azure_ad::resource_id5eq 4, in 300000002-0000-0000-c000-000000000000, 00000003-0000-0000-c000-000000000000, 00000002-0000-0ff1-ce00-000000000000, 00000003-0000-0ff1-ce00-000000000000, 01cb2876-7ebd-4aa4-9cc9-d28bd4d359a9
azure_ad::user_type5eq 5Member
event.category5eq 5authentication, process
parent_process_basename5eq 3, in 1, is_not_null 1, wildcard 1bun, bun.exe, , *.sh, .*
Image4ends_with 3, starts_with 1\Microsoft\Teams\current\Teams.exe, /dev/shm/*, /home/*, /run/user/*, \BrowserCore.exe
OperationName4eq 4Consent to application, Update device
azure.signinlogs.properties.device_detail.is_managed4eq 2, ne 2true, false

Top indicator values (586 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
data_stream.dataseteq
azure.signinlogs
812
data_stream.dataseteq
azure.signinlogs
426
event.outcomeeq
Success
7306
event.outcomeeq
success
682
event.typeeq
start
51036
EventTypein
exec
4180
EventTypein
start
3157
sourcetypeeq
azure:monitor:aad
447
sourcetypeeq
o365:management:activity
380
Categoryeq
ApplicationManagement
313
Operationeq
Consent to application.
34
OperationNameeq
Consent to application
35
Workloadeq
AzureActiveDirectory
330
azure.signinlogs.properties.device_detail.device_idis_not_null
33
azure_ad::app_ideq
29d9ed98-a469-4536-ade2-f981bc1d605e
33
azure_ad::app_idin
04b07795-8ddb-461a-bbee-02f9e1bf7b46
33
azure_ad::app_idin
1950a258-227b-4e31-a9cf-717495945fc2
33
azure_ad::app_idin
872cd9fa-d31f-45e0-9eab-6e460a02d1f1
33
azure_ad::app_idin
aebc6443-996d-45c2-90f0-388ff96faa56
33
azure_ad::logged_by_serviceeq
Core Directory
311
azure_ad::resource_idin
00000003-0000-0000-c000-000000000000
35
azure_ad::user_typeeq
Member
35
src_ipis_not_null
370
CommandLineis_not_null
223
CommandLinewildcard
*az account get-access-token*
22
CommandLinewildcard
*gcloud config config-helper --format json*
22
CommandLinewildcard
*gh auth token*
22
CommandLinewildcard
*kubectl*get*secret*
22
EVENT_TYPEin
ApiConnectedApp
22
Esql.distance_kmge
500
22

Exclusions (179 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
Imageends_with
\Microsoft\Teams\current\Teams.exe
2
Imageends_with
\BrowserCore.exe
1
process.argsin
az account get-access-token --output json --resource https://database.windows.net
2
process.argsin
az account get-access-token --output json --resource https://storage.azure.com
2
process.argsin
https://storage.azure.com
2
AppIdin
cb1056e2-e479-49de-ae31-7812af012ed8
1
AppIdin
cf6d7e68-f018-4e0a-a7b3-126e053fb88d
1
CommandLinecontains
*/bin/test*
1
CommandLineeq
/usr/bin/coreutils --coreutils-prog-shebang=cat /usr/bin/cat...
1
CurrentDirectoryeq
/opt/cni/bin
1
CurrentDirectorystarts_with
/home/runner/_work/*
1
CurrentDirectorywildcard
/opt/cni/bin
1
CurrentDirectorywildcard
/run/containerd/io.containerd.runtime.v2.task/k8s.io/*/opt/cni/bin
1
Esql.source_ip_device_valueseq
Esql.source_ip_replay_values
1
EventTypeeq
fork
1

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 16 rules

Elastic 36 rules

Splunk 9 rules

Kusto 14 rules

Panther 11 rules