# 04 AD Attacks

{% tabs %}
{% tab title="Enumeration" %}

{% endtab %}

{% tab title="Bruteforce on ldap" %}

{% endtab %}

{% tab title="DC Shadow" %}
MITRE ATT\&CK Sub0technique T1207

A new feature in mimikatz's lsadump Module, an attacker register a rogue domain controller after compromised a privileged credentials, then, the adversary can push any valid changes.&#x20;

1\) An attacker obtains a Domain Admin Permissions

2\) The attacker registers a computer workstation as a domain controller. the AD trusted to replicate changes.&#x20;

3\) The attacker submits changes for replication, including password hash, account data or security group

4\) Once the action triggered, the attacker can extract valuable data.
{% endtab %}

{% tab title="DC Sync" %}
MITRE ATT\&CK Sub0technique T1003.006

It is a credential dumping techniques, adversary to simulate the replication process of a Domain Controllers to ask other DC to replicate information using the MS-DRSR. It cannot disabled as MS-DRSR is a necessary servers of a AD.&#x20;

This attack requires domain admin privileges (DS-Replication-Get-Changes and DS-Replication-Get-Changes-All) Members of the Administrators, Domain Admins, Enterprise Admins, and Domain Controllers groups have this privileges by default. &#x20;

{% endtab %}
{% endtabs %}


---

# 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://calvin-lai.gitbook.io/calvin-lai-security/red-team-windows/04-ad-attacks.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.
