Learning Objetive 4

  • Trust Direction for the trust between dollarcorp.moneycorp.local and eurocorp.local

Enumerate all domains in the current forest

Note: Remenber use a silent powershell

Enumerate all trust of "dollarcorp" domain

List only the external trusts in the "moneycorp.local" forest

External Trust con filtrado de SID habilitado

Enumerate external trusts of the "dollarcorp" domain

Since the above is a Bi-Directional trust, we can extract information from the eurocorp.local forest.

We either need bi-directional trust or one-way trust from eurocorp.local to dollarcorp to be able to use the below command

Let's go for the last task and enumerate trusts for eurocorp.local forest:

Extract information from the eurocorp.local forest

Notice the error above. It occurred because PowerView attempted to list trusts even for eu.eurocorp.local. Because external trust is non-transitive it was not possible!


Using Active Directory module

AD Module in a PowerShell - Invisi-Shell

Import the AD Module in a PowerShell session started using Invisi-Shell:

Enumerate all the domains

Enumerate all the Trusts in the current domain

Enumerate all the trusts in the moneycorp.local forest

Enumerate external trusts in moneycorp.local domain

Last updated