# AD Common Vulnerablities

### &#x20;Abusing ZeroLogon <a href="#lecture_heading" id="lecture_heading"></a>

We set up the domain controller password as null

{% embed url="<https://www.trendmicro.com/en_us/what-is/zerologon.html>" %}

{% embed url="<https://github.com/dirkjanm/CVE-2020-1472>" %}
exploit
{% endembed %}

{% embed url="<https://github.com/SecuraBV/CVE-2020-1472>" %}
SecuraBV ZeroLogon Checker
{% endembed %}

<figure><img src="/files/RmT7FglFkshwFjxrxAry" alt=""><figcaption><p>scanning</p></figcaption></figure>

<figure><img src="/files/ywhI1X9MAUFscgN2NzSn" alt=""><figcaption><p>Attacking</p></figcaption></figure>

<figure><img src="/files/3JdtMvyvGiZtft0oXEkH" alt=""><figcaption><p>checking if attack is succesful</p></figcaption></figure>

<figure><img src="/files/UvRYtgGTBtAEOmAeldEZ" alt=""><figcaption><p>Restore Password</p></figcaption></figure>

### PrintNightmare (CVE-2021-1675) <a href="#lecture_heading" id="lecture_heading"></a>

{% embed url="<https://github.com/cube0x0/CVE-2021-1675>" %}
cube0x0 RCE
{% endembed %}

{% embed url="<https://github.com/calebstewart/CVE-2021-1675>" %}
calebstewart LPE
{% endembed %}

<figure><img src="/files/295j3he2kKYLcdY47Sft" alt=""><figcaption><p>scanning for if vulnerable</p></figcaption></figure>

Make a malicious dll

<figure><img src="/files/9uKwJJrR4wV2wYdC6GEk" alt=""><figcaption></figcaption></figure>

share the directory

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

Exploitation

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


---

# 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://notes.cavementech.com/pentesting-quick-reference/active-directory/ad-common-vulnerablities.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.
