CRTP Certified Red Team Professional
AuthorDiscordHTB Pro LabsHTB CPTSHTB CDSA
  • 👨‍🚒Certified Red Team Professional
  • LAB Access
  • 🔥Assume Breach Execution Cycle
  • 😆Prepare your VM
    • 😅PowerShell Detections
    • 🔥AMSI Bypass
    • 🙃Tools
    • CMD Commands
    • 🤣Escape the Machine
  • Data Visualization
    • BloodHound
    • AzureHound
    • RustHound
  • Domain Enumeration
    • 1️⃣Tools
    • 2️⃣Domain Enumeration
    • 3️⃣Users, Groups, Computers Enumeration
    • 4️⃣Shares Enumeration
    • 5️⃣GPO Enumeration
    • 6️⃣ACLs Enumeration
    • 7️⃣Domain Trusts
    • Domain Forests
    • 9️⃣Miscellaneous Enumeration
    • User Hunting
  • Local Privilege Escalation
    • Theory
    • Automation Tools
    • Techniques
  • Lateral Movement
    • Thinking
    • WinRS
    • PowerShell Remoting
    • Invoke-MimiKatz
    • CrackMapExec
  • Domain Persistence
    • 🔥Golden tickets
    • 🥈Silver Tickets
    • 💎Diamond Tickets
    • 🚒Skeleton Keys
    • DSRM
    • Custom SSP - Track logons
    • ACLs
      • 1️⃣AdminSDHolder
      • 2️⃣DCsync
      • 3️⃣WMI
      • 4️⃣Remote Powershell
      • 5️⃣Remote Registry
  • Domain Privilege Escalation
    • 🟢Kerberoast
    • 🟢AS-REPS Roasting
    • 🟢Set SPN
    • 🟢Unconstrained Delegation
    • 🟢Constrained Delegation
    • 🟢DNS Admins
    • Enterprise Admins
      • Child to parent - Trust tickets
      • Child to parent - krbtgt hash
    • 🟢Crossforest attacks
    • AD CS
    • 🟢Abuse MSSQL Servers
Powered by GitBook
On this page
  • Get a list of all the domain trusts for the current domain
  • Get details about the forest
  • Get all domains in the forest
  • Get global catalogs for the current forest
  • Map trusts of a forest

Was this helpful?

  1. Domain Enumeration

Domain Trusts

Explore our comprehensive article on Domain Trusts, an essential aspect in network security.

Domain trusts are relationships established between two or more domains that allow for shared access to resources and user authentication across boundaries.

These trusts can be one-way, where only one domain recognizes the trust, or two-way, enabling mutual recognition and authentication.

In Windows Server environments, trusts can be transitive, extending the trust beyond two domains, or non-transitive, limiting the trust strictly between the two specified domains.

Understanding and configuring domain trusts is crucial for maintaining security and efficient resource management in complex network infrastructures.

Get a list of all the domain trusts for the current domain

Get-NetDomainTrust

Get details about the forest

Get-NetForest

Get all domains in the forest

Get-NetForestDomain
Get-NetforestDomain -Forest <domain name>

Get global catalogs for the current forest

Get-NetForestCatalog
Get-NetForestCatalog -Forest <domain name>

Map trusts of a forest

Get-NetForestTrust
Get-NetForestTrust -Forest <domain name>
Get-NetForestDomain -Verbose | Get-NetDomainTrust

Check domain trust for a specific domain

Get-NetDomainTrust -Domain <specific domain name>

Get the forest trust status

Get-NetForestTrustStatus
Get-NetForestTrustStatus -Forest <domain name>

Retrieve Domain Controllers for a specific domain

Get-NetDomainController
Get-NetDomainController -DomainName <specific domain name>

Enumerate Organization Units (OUs) in a domain

Get-NetOU -Domain <domain name>
Get-NetOU -Domain <domain name> -FullData
PreviousACLs EnumerationNextDomain Forests

Last updated 3 months ago

Was this helpful?

7️⃣