# Child to Parent (Cross Domain)

Across Domains, i.e within a forest, there is an attribute called **sIDHistory**. We abuse this attribute to escalate to Enterprise Admin Privileges.

* **sIDHistory** is a user attribute designed for scenarios where a user is moved from one domain to another. When a user's domain is changed, they get a new SID and the old SID is added to sIDHistory.&#x20;
* sIDHistory can be abused in two ways of escalating privileges within a forest:&#x20;
  * krbtgt hash of the child
  * Trust tickets

<figure><img src="/files/b1JnclXyXsMx4FxbOZnV" alt=""><figcaption><p>Child to Parent Trust Flow</p></figcaption></figure>

Dollarcorp is the child of moneycorp and moneycorp is the forest root. Let's assume we want to access a service, CIFS on mcorp-dc. The first 3 steps of Kerberos authentication is same. In step 3, when DC realizes that the SPN is CIFS on mcorp-dc (another forest), it responds with a new TGT.

The 4th step involves a "**inter-realm TGT**". This is encrypted using the **Trust Key**.&#x20;

The Trust Key is what we need to move across forests.&#x20;

We inject a SID History for the SID-519 which is well known for the enterprise admins group.

###


---

# 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://playbook.sidthoviti.com/active-directory-pentest/domain-privilege-escalation/across-trusts/child-to-parent-cross-domain.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.
