# ESC1

If msPSKI-Certificates-Name-Flag has "**ENROLLEE\_SUPPLIES\_SUBJECT**", that means that the enrollee can supply the subject (name of the user they want the certificate for).

Which users can do this?

Check the Enrollement Permissions -> Enrollement Rights.

This is a great **persistence** method because a certificate would still be valid even if the password is changed. We can request a TGT using the certificate.

To find the certificate template that have "ENROLLEE\_SUPPLIES\_SUBJECT", use the below command:

```
Certify.exe find /enrolleeSuppliesSubject
```

## Abusing ESC 1


---

# 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/ad-cs-across-domain-trusts/esc1.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.
