> 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/zh/active-directory/kerberos/enumerate-users-vulnerable-to-as-rep-roasting.md).

# 枚举易受 AS-REP Roasting 攻击的用户

针对枚举易受 AS-REP Roasting 攻击的用户的 Active Directory 安全笔记，涵盖枚举、Kerberos、凭据、ACL 滥用、横向移动、利用流程和验证步骤

### 使用 PowerView

要查找不需要 Kerberos 预身份验证的用户：

{% code overflow="wrap" %}

```powershell
Get-DomainUser -PreauthNotRequired
```

{% endcode %}

这些用户具有 `userAccountControl` 已配置该属性，选项为：

```
DONT_REQ_PREAUTH
```

<figure><img src="https://1574813340-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-315ee781c7762dd42ef049daea3f408b206a433c%2F%7B178E5BDD-629C-4361-BCD7-3A770B201F39%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

### 实验室中的示例

在你的实验环境中，一个易受攻击的用户是：

```bash
Bobette.Lauryn@whoami.local
```

为了在实验环境中加快破解速度，它的密码已更改为：

```bash
Password$
```


---

# 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/zh/active-directory/kerberos/enumerate-users-vulnerable-to-as-rep-roasting.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.
