Domain Trust Discovery T1482

Tactic: Discovery

Adversaries may attempt to gather information on domain trust relationships that may be used to identify lateral movement opportunities in Windows multi-domain/forest environments. Domain trusts provide a mechanism for a domain to allow access to resources based on the authentication procedures of another domain. Domain trusts allow the users of the trusted domain to access resources in the trusting domain. The information discovered may help the adversary conduct SID-History Injection, Pass the Ticket, and Kerberoasting. Domain trusts can be enumerated using the `DSEnumerateDomainTrusts()` Win32 API call, .NET methods, and LDAP. The Windows utility Nltest is known to be used by adversaries to enumerate domain trusts.

Events covered

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

Authoring guide

Patterns shared across the 57 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 (37 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
CommandLine23contains 16, regex_match 4, in 2, match 1 oudmp , (?i)(objectcategory|trustdmp|member\s(.*)?-list), -sc u:, trusteddomain, --collectionmethods session
OriginalFileName14eq 14adexp, nltestrk.exe, adfind.exe, dsquery.exe, sharphound.exe
EventID13eq 134104, 4688, 4103, 4799
Image13ends_with 11, contains 2, eq 2, is_null 1, starts_with 1\adexp.exe, \adexplorer.exe, \adexplorer64.exe, \nltest.exe, :\program files (x86)\
process_name10eq 8, wildcard 2dsquery.exe, nltest.exe, adexplorer*.exe, adfind*.exe, arp.exe
ScriptBlockText8contains 5, in 3, eq 1.getgporeport(), ::getipglobalproperties(), ::getprocesses, add-constraineddelegationbackdoor, add-domaingroupmember
event.type5eq 5start
Type4eq 4
event_count4gt 40
Description3eq 2, contains 1Active Directory Editor, sharphound
Product3eq 2, contains 1Sysinternals ADExplorer, sharphound
event.category3eq 3process
file_name3in 2, eq 1*-azapplicationadmins.json, *-azcloudappadmins.json, *-azglobaladminrights.json, *_computers.json, *_containers.json
process.args3contains 1, eq 1, wildcard 1(objectcategory=attributeschema), (objectcategory=computer), (objectcategory=group), /BDC_QUERY:*, /DCLIST:*
EventData2contains 2-encodedcommand, powershell.exe, powershell_ise.exe, system.directoryservices.activedirectory

Top indicator values (1467 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
EventIDeq
4104
7268
EventIDeq
4688
5313
event.typeeq
start
5606
event_countgt
0
44
Imageends_with
\adexp.exe
33
Imageends_with
\adexplorer.exe
34
Imageends_with
\adexplorer64.exe
34
Imageends_with
\adexplorer64a.exe
34
OriginalFileNameeq
adexp
33
OriginalFileNameeq
nltestrk.exe
34
event.categoryeq
process
3128
process_nameeq
dsquery.exe
312
process_nameeq
nltest.exe
310
CommandLinecontains
oudmp
22
CommandLinecontains
-sc u:
22
CommandLinecontains
-subnets -f
22
CommandLinecontains
adinfo
22
CommandLinecontains
computer_pwdnotreqd
22
CommandLinecontains
computers_active
22
CommandLinecontains
computers_pwdnotreqd
22
CommandLinecontains
dcmodes
22
CommandLinecontains
domainlist
22
CommandLinecontains
domainncs
22
CommandLinecontains
dompol
22
CommandLinecontains
find-gpolocation
22
CommandLinecontains
fspdmp
22
CommandLinecontains
get-domaintrust
22
CommandLinecontains
get-foresttrust
22
CommandLinecontains
gpodmp
22
CommandLinecontains
invoke-aclscanner
22

Exclusions (52 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
user.idin
S-1-5-18
3
user.idin
S-1-5-19
3
user.idin
S-1-5-20
2
Computereq
%admin_workstation%
1
Computereq
%domain_controllers%
1
EventDatacontains
gc_service.exe
1
EventDatacontains
gc_worker.exe
1
Imagecontains
:\program files (x86)\
1
Imagecontains
:\program files\
1
Imagecontains
:\programdata\microsoft\windows defender\platform\
1
Imagecontains
:\windows\
1
Imageends_with
\adfind.exe
1
Imageends_with
\chrome.exe
1
Imageends_with
\firefox.exe
1
Imageends_with
\msmpeng.exe
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 18 rules

Elastic 9 rules

Splunk 25 rules

Kusto 5 rules