Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Documents how to test MITRE ATT&CK T1482 domain trust discovery in Windows multi-domain and forest environments using dsquery and nltest.
Use this skill ↓61% 87%+26 ptsof test cases passed
Passed 20 of 23 test cases with the skill, and 14 of 23 without it.
3 of 3 safety checks passed
Not used yet
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.
Platforms: Windows
The following tests are from Atomic Red Team and provide actionable ways to test this technique:
Uses the dsquery command to discover domain trusts. Requires the installation of dsquery via Windows RSAT or the Windows Server AD DS role.
Supported Platforms: windows
dsquery * -filter "(objectClass=trustedDomain)" -attr *
Uses the nltest command to discover domain trusts. Requires the installation of nltest via Windows RSAT or the Windows Server AD DS role.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.