Domain or Tenant Policy Modification: Trust Modification T1484.002

Tactics: Defense Impairment, Privilege Escalation

Adversaries may add new domain trusts, modify the properties of existing domain trusts, or otherwise change the configuration of trust relationships between domains and tenants to evade defenses and/or elevate privileges.Trust details, such as whether or not user identities are federated, allow authentication and authorization properties to apply between domains or tenants for the purpose of accessing shared resources. These trust objects may include accounts, credentials, and other authentication material applied to servers, tokens, and domains.

Authoring guide

Patterns shared across the 15 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 (22 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
EventType10eq 8, in 2ADD_TRUSTED_DOMAINS, Add-FederatedDomain, CreateOpenIDConnectProvider, CreateSAMLProvider, New-AcceptedDomain
data_stream.dataset8eq 8aws.cloudtrail, okta.system, azure.auditlogs, google_workspace.admin, o365.audit
Provider_Name5eq 5iam.amazonaws.com, Exchange, admin
event.outcome5eq 5success
event.category3eq 3ADMINISTRATOR_MANAGEMENT, iam, web
sourcetype3eq 3azure:monitor:aad, o365:management:activity
Operation2contains 1, in 1Add a partner to cross-tenant access setting., Delete partner specific cross-tenant access setting., add, domain, new
operationName2eq 2Add unverified domain, Set domain authentication
"properties.result"1eq 1success
Esql.external_idp_new_issuer1is_not_null 1
Esql.external_idp_old_issuer1is_not_null 1, ne 1Esql.external_idp_new_issuer
Workload1eq 1AzureActiveDirectory
action1in 1CreateSAMLIdentityProvider, DeleteSAMLIdentityProvider, ModifySAMLIdentityProviderGroupMappings
azure.auditlogs.properties.category1eq 1DirectoryManagement
azure.auditlogs.properties.target_resources.0.modified_properties.0.display_name1eq 1FederatedIdentityCredentials

Top indicator values (52 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
event.outcomeeq
success
5251
Provider_Nameeq
iam.amazonaws.com
325
Provider_Nameeq
Exchange
119
Provider_Nameeq
admin
19
data_stream.dataseteq
aws.cloudtrail
3141
data_stream.dataseteq
okta.system
248
sourcetypeeq
azure:monitor:aad
247
"properties.result"eq
success
1
Esql.external_idp_old_issuerne
Esql.external_idp_new_issuer
1
EventTypeeq
ADD_TRUSTED_DOMAINS
1
EventTypeeq
CreateOpenIDConnectProvider
1
EventTypeeq
CreateSAMLProvider
1
EventTypeeq
UPDATE
13
EventTypeeq
Update application
1
EventTypeeq
UpdateSAMLProvider
1
EventTypeeq
system.idp.lifecycle.create
1
EventTypeeq
zone.deactivate
1
EventTypein
Add-FederatedDomain
1
EventTypein
New-AcceptedDomain
1
EventTypein
Remove-AcceptedDomain
1
EventTypein
Remove-FederatedDomain
1
EventTypein
Set domain authentication
1
EventTypein
Set federation settings on domain
1
EventTypein
Set-AcceptedDomain
1
EventTypein
Set-MsolDomainFederationSettings
1
Operationcontains
add
1
Operationcontains
domain
12
Operationcontains
new
1
Operationin
Add a partner to cross-tenant access setting.
1
Operationin
Delete partner specific cross-tenant access setting.
1

Exclusions (2 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
aws::sourceIPAddresseq
sso.amazonaws.com
1
aws::userAgenteq
sso.amazonaws.com
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 1 rule

Elastic 9 rules

Splunk 3 rules

Panther 2 rules