Account Discovery: Cloud Account T1087.004

Tactic: Discovery

Adversaries may attempt to get a listing of cloud accounts. Cloud accounts are those created and configured by an organization for use by users, remote support, services, or for administration of resources within a cloud service provider or SaaS application.

Authoring guide

Patterns shared across the 26 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names 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 (43 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
OperationName8contains 6, in 2update a partner cross-tenant access setting, Add member to group, Add owner to group, Bulk invite users - started (bulk), Invite external user
type8eq 8Policy, User
displayName7eq 7tenantId, Group.DisplayName, Group.ObjectID, b2bCollaborationInbound, b2bCollaborationOutbound
data_stream.dataset6eq 5, in 1aws.cloudtrail, azure.activitylogs, azure.auditlogs, azure.graphactivitylogs, azure.signinlogs
EventType5eq 3, in 1, ne 1GetCallerIdentity, DescribeCapacityReservations, DescribeOrganization, DescribeOrgnanizationalUnit, DescribeResourcePolicy
Provider_Name5eq 4, in 1iam.amazonaws.com, sts.amazonaws.com, cloudfront.amazonaws.com, cloudtrail.amazonaws.com, dynamodb.amazonaws.com
aws::eventName4eq 4GetCallerIdentity, ListRoles, ListUsers
aws::eventSource4eq 4iam.amazonaws.com, sts.amazonaws.com
event.outcome4eq 4success, failure
sourcetype3eq 3azure:monitor:aad, OktaIM2:log
userAgent3contains 3trufflehog, azurehound
PremodifiedInboundSettings2ne 2ModifiedInboundSettings
PremodifiedOutboundSettings2ne 2ModifiedOutboundSettings
aws::userAgent2eq 1, starts_with 1(azure|sharp|blood)(hound)/., Mozilla/5.0 (Windows NT 10.0; Win64; x64)...
aws::userIdentity.type2eq 1, ne 1AWSService, AssumedRole

Top indicator values (121 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. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
typeeq
Policy
66
typeeq
User
217
OperationNamecontains
update a partner cross-tenant access setting
44
data_stream.dataseteq
aws.cloudtrail
4141
event.outcomeeq
success
3251
EventTypeeq
GetCallerIdentity
22
PremodifiedInboundSettingsne
ModifiedInboundSettings
22
PremodifiedOutboundSettingsne
ModifiedOutboundSettings
22
Provider_Nameeq
iam.amazonaws.com
225
Provider_Nameeq
sts.amazonaws.com
211
aws::eventNameeq
GetCallerIdentity
25
aws::eventSourceeq
iam.amazonaws.com
228
aws::eventSourceeq
sts.amazonaws.com
26
displayNameeq
tenantId
22
sourcetypeeq
azure:monitor:aad
247
userAgentcontains
trufflehog
24
AppIdcontains
04b07795-8ddb-461a-bbee-02f9e1bf7b46
1
AppIdcontains
12128f48-ec9e-42f0-b203-ea49fb6af367
1
AppIdcontains
14d82eec-204b-4c2f-b7e8-296a70dab67e
1
AppIdcontains
1950a258-227b-4e31-a9cf-717495945fc2
1
AppIdcontains
1b730954-1685-4b74-9bfd-dac224a7b894
1
AppIdcontains
23d8f6bd-1eb0-4cc2-a08c-7bf525c67bcd
1
AppIdcontains
31359c7f-bd7e-475c-86db-fdb8c937548e
1
AppIdcontains
90f610bf-206d-4950-b61d-37fa6fd1b224
1
AppIdcontains
9bc3ab49-b65d-410a-85ad-de819febfddc
1
AppIdcontains
9cee029c-6210-4654-90bb-17e6e9d36617
1
AppIdcontains
a0c73c16-a7e3-4564-9a95-2bdf47383716
1
AppIdcontains
d1ddf0e4-d672-4dae-b554-9d5bdfd93547
1
AppIdcontains
fb78d390-0c51-40cd-8e17-fdbfab77341b
1
Esql.event_action_count_distinctgt
5
1

Exclusions (11 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. 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. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
AADGroupIdin
Custom AAD GROUP OBJECT ID 2
1
AADGroupIdin
List with Custom AAD GROUP OBJECT ID 1
1
ExtTenantIDAddedin
List of expected tenant IDs
1
ExtTenantIDAddedin
Tenant ID 2
1
aws::sessionCredentialFromConsoleeq
true
1
aws::userIdentity.typeeq
AWSService
1
aws::userIdentity.typeeq
AssumedRole
1
source.as.organization.nameeq
MongoDB, Inc.
1
source.as.organization.namestarts_with
AMAZON
1
source.as.organization.namestarts_with
Amazon
1
source.as.organization.namestarts_with
Google
1

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.

Platform (all)
Domain (all)

Sigma 5 rules

Elastic 7 rules

Splunk 4 rules

Kusto 8 rules

Panther 2 rules