# AD-Miner

Sometimes you might have more complex with a large volume of the AD objects to analyze and understand attack vectors with high-risk targets. AD-Miner might help you better and useful.&#x20;

### Installation

{% code overflow="wrap" %}

```bash
# https://github.com/Mazars-Tech/AD_Miner

# @Kali
pipx install 'git+https://github.com/Mazars-Tech/AD_Miner.git'
```

{% endcode %}

### Enumeration&#x20;

```bash
# @Kali
sudo neo4j console
bloodhound & 

# Ensure that you have imported the zip file to the bloodhound. 

mkdir ad-miner
cd ad-miner
AD-miner -c -cf My_Report -u neo4j -p <your neo4j password> 

cd render_My_report 
firefox index.html 
```

### AD Miner UI&#x20;

You can check immediate risks, which are typically privilege-escalated to Domain Admin, etc. You can also check users and groups easily.&#x20;

<figure><img src="/files/9vuJGA0G6I5ObUoyGKWg" 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://iptracej.gitbook.io/windows-linux-and-active-directory-ctf-notes/active-directory/bloodhound-walkthrough/ad-miner.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.
