# AD Automatic Enumeration

## <mark style="color:red;">Sharpound</mark>

There are two different Sharphound collectors:

**SharpHound.ps1**: PowerShell script for running Sharphound. However, the latest release of Sharphound has stopped releasing the Powershell script version. This version is good to use with RATs since the script can be loaded directly into memory, evading on-disk AV scans.

SharpHound.exe: a Windows executable version for running Sharphound.

Both are available here:

{% embed url="<https://github.com/BloodHoundAD/SharpHound/releases>" %}

Run Sharphound using the All and Session collection methods:

```powershell
cmd> Sharphound.exe --CollectionMethods All --Domain asd.domain.com --ExcludeDCs 
```

Once completed, you will have a timestamped ZIP file in the same folder you executed Sharphound from.

## <mark style="color:red;">BloodHound</mark>

From Kali:

```
neo4j console start
```

In another Terminal tab, run:

```bash
bloodhound --no-sandbox # This will show you the authentication GUI
```

{% hint style="info" %}
The default credentials for the neo4j database will be `neo4j:neo4j`
{% endhint %}

Drag and drop the ZIP file onto the Bloodhound GUI to import it.


---

# 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://oscp.nstsec.com/active-directory/ad-automatic-enumeration.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.
