> 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/ar/active-directory/kerberos/as-rep-roasting-with-wireshark.md).

# AS-REP Roasting باستخدام Wireshark

### الملاحظة اليدوية

في المختبر، يمكننا التقاط حركة المرور باستخدام Wireshark أثناء محاولة مصادقة.

نلاحظ بشكل خاص:

```bash
AS-REQ
AS-REP
```

<figure><img src="/files/a43e2bf16af7cc50b573521e0362d6bf41bf812c" alt=""><figcaption></figcaption></figure>

في حزمة Kerberos، يمكننا تحليل:

```bash
padata
padata-value
مشفّر
الملح
```

<figure><img src="/files/82fbe99d36c334c875b0bd6afeaa92771f1875cd" alt=""><figcaption></figcaption></figure>

يمكن استخدام هذه القيم لإعادة بناء قيمة تجزئة بصيغة متوافقة مع John أو Hashcat.

<figure><img src="/files/7217093b069c31a0e654c6131aad0eb2c8906e5d" alt=""><figcaption></figcaption></figure>

### صيغة Hashcat 19900

في بعض الحالات المتعلقة بالمصادقة المسبقة في Kerberos، يمكن لـ Hashcat استخدام النمط:

```
19900
```

{% embed url="<https://hashcat.net/wiki/doku.php?id=example_hashes>" %}

<figure><img src="/files/3cfea5b1f89af232fc3ac4d5eeba50a9e0c349e8" alt=""><figcaption></figcaption></figure>

بنية المثال:

```
$krb5pa$18$user$DOMAIN$SALT$CIPHER
```

مثال مُكيَّف للمختبر:

{% code overflow="wrap" %}

```bash
$krb5pa$18$Administrador$WHOAMI.LOCAL$WIN-D4TRD7S7IHPAdministrador$96c289009b05181bfd32062962740b1b1ce5f74eb12e0266cde74e81094661addab08c0c1a178882c91a0ed89ae4e0e68d2820b9cce69770
```

{% endcode %}

بعد ذلك، يمكننا تشغيل John:

{% code overflow="wrap" %}

```bash
john --wordlist=passwords.txt hash
```

{% endcode %}

<figure><img src="/files/c8297c11111de7172eaff00d23e06def3afb7b36" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/ar/active-directory/kerberos/as-rep-roasting-with-wireshark.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
